|
@@ -59,7 +59,7 @@
|
|
|
<view class="rx ww45">
|
|
<view class="rx ww45">
|
|
|
<view class="lable rx-cc ww80">重量</view>
|
|
<view class="lable rx-cc ww80">重量</view>
|
|
|
<view class="content content_num">
|
|
<view class="content content_num">
|
|
|
- <input class="uni-input" v-model="item.workReportInfo.formedWeight" type="digit"
|
|
|
|
|
|
|
+ <input class="uni-input" v-model="formedWeight" type="digit"
|
|
|
:disabled="isDetails"></input>
|
|
:disabled="isDetails"></input>
|
|
|
<view class="unit">{{ item.weightUnit }}</view>
|
|
<view class="unit">{{ item.weightUnit }}</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -155,14 +155,21 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
watch: {
|
|
watch: {
|
|
|
-
|
|
|
|
|
notFormed: {
|
|
notFormed: {
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
deep: true,
|
|
deep: true,
|
|
|
handler(newVal) {
|
|
handler(newVal) {
|
|
|
this.notFormedList = newVal
|
|
this.notFormedList = newVal
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ // item:{
|
|
|
|
|
+ // immediate: true,
|
|
|
|
|
+ // deep: true,
|
|
|
|
|
+ // handler(newVal) {
|
|
|
|
|
+ // console.log('ccccc吃饭了',newVal)
|
|
|
|
|
+ // this.$forceUpdate()
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
@@ -172,7 +179,7 @@ export default {
|
|
|
notFormedList: [],
|
|
notFormedList: [],
|
|
|
clientEnvironmentId: uni.getStorageSync("userInfo") && uni.getStorageSync("userInfo")
|
|
clientEnvironmentId: uni.getStorageSync("userInfo") && uni.getStorageSync("userInfo")
|
|
|
.clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
|
|
.clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
|
|
|
-
|
|
|
|
|
|
|
+ formedWeight:'',
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -193,6 +200,10 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ fWeightInput(formedWeight,notFormedWeight){
|
|
|
|
|
+ this.formedWeight=formedWeight
|
|
|
|
|
+ this.$forceUpdate()
|
|
|
|
|
+ },
|
|
|
batchNoNew(e){
|
|
batchNoNew(e){
|
|
|
|
|
|
|
|
this.item.workReportInfo.batchNo = this.item.batchNo+e.target.value;
|
|
this.item.workReportInfo.batchNo = this.item.batchNo+e.target.value;
|