Browse Source

添加农事页面显示字段

master
马景富 2 years ago
parent
commit
470105a3bc
  1. 6
      pages/massif/mana/recovery.vue
  2. 3
      pages/massif/plant_info.vue

6
pages/massif/mana/recovery.vue

@ -128,7 +128,7 @@
<view class="detail"> <view class="detail">
<view class="name"> <view class="name">
<text class="over">{{v.plantName}}</text> <text class="over">{{v.plantName}}</text>
<text class="total">200</text> <text class="total">{{v.totalNum}}</text>
<text class="surplus">{{v.harvestNum}}</text></view> <text class="surplus">{{v.harvestNum}}</text></view>
<view class="info"> <view class="info">
<text class="people">负责人:{{v.principal}}</text> <text class="people">负责人:{{v.principal}}</text>
@ -196,7 +196,7 @@ export default {
}, },
created(){ created(){
this.search() this.search()
}, },
methods:{ methods:{
reSearch(){ reSearch(){
@ -246,4 +246,4 @@ export default {
}, },
} }
} }
</script> </script>

3
pages/massif/plant_info.vue

@ -46,6 +46,7 @@ export default {
warehouseId:"", warehouseId:"",
plantSchedulId:"",//id plantSchedulId:"",//id
plotId:"",//id plotId:"",//id
totalNum:""
}, },
rules:{ rules:{
harvestNum: {required:true, type:"number", message:"采收数量必填!", trigger:"blur"}, harvestNum: {required:true, type:"number", message:"采收数量必填!", trigger:"blur"},
@ -129,4 +130,4 @@ export default {
}, },
}, },
} }
</script> </script>

Loading…
Cancel
Save