diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 08f20b1..3da6249 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -238,8 +238,8 @@ export default { fields:{ principal:{label:"操作人",styleType:"parallel", disabled:true}, farmingTime:{label:"操作日期",styleType:"parallel",type:"calendar"}, - userNum:{label:"人工投入(个)",type:"number"}, farmingPlanId:{label:"种植计划",type:"select",columns:[],value:[]}, + userNum:{label:"人工投入(个)",type:"number"}, workTime:{label:"工时(天)",type:"number"}, images:{label:"农事图片",type:"upImg",num:3}, farmingRemarks:{label:"备注",type:"textarea"}, diff --git a/pages/purchase/apply.vue b/pages/purchase/apply.vue index cc16ce1..d1d66ec 100644 --- a/pages/purchase/apply.vue +++ b/pages/purchase/apply.vue @@ -135,6 +135,7 @@ export default { data(){ return{ formData:{ + baseId:this.$store.state.baseInfo.id, applicantId: "", applicantName: "", applicantTime: "", diff --git a/pages/purchase/record.vue b/pages/purchase/record.vue index a5b9791..08ea7da 100644 --- a/pages/purchase/record.vue +++ b/pages/purchase/record.vue @@ -94,10 +94,10 @@ - 审核人:xxx - 原因:此处是原因此处是原因此处是处是原因此处是原因此处是 + 审核部门:{{v.auditDepart}} + 意见:{{v.reason}} - {{({2:"审核中",3:"通过",4:"未通过",5:"农资入库"})[v.applicantStatus]}} + {{({1:"审核未通过",2:"待审核",3:"待审核",4:"审核",5:"审核通过"})[v.applicantStatus]}} @@ -111,10 +111,11 @@ export default { return{ searchVal:{ goodsName:"", - roleCode:this.$store.getters['userInfo'].roleCode, + // roleCode:this.$store.getters['userInfo'].roleCode, pageNo:1, pageSize:6, - companyId:this.$store.getters['userInfo'].companyId + baseId:this.$store.state.baseInfo.id, + // companyId:this.$store.getters['userInfo'].companyId }, total:0, list:[], @@ -131,12 +132,13 @@ export default { }, async search(){ if(this.total==0||this.list.length