|
@@ -103,7 +103,7 @@
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="毛重(公斤)" span="1" prop="grossWeight">
|
|
|
<ws-input
|
|
|
- v-if="this.tpyeNo != 2"
|
|
|
+ v-if="this.information != '毛重'"
|
|
|
v-model="weighingList.grossWeight"
|
|
|
@input="calculation"
|
|
|
placeholder="未获取到毛重"
|
|
@@ -420,7 +420,8 @@ export default {
|
|
|
result += tmp
|
|
|
}
|
|
|
}
|
|
|
- if(this.tpyeNo != 2){
|
|
|
+ // if(this.tpyeNo != 2)
|
|
|
+ if(this.information != '皮重'){
|
|
|
this.weighingList.grossWeight = parseInt(result)
|
|
|
}
|
|
|
else{
|
|
@@ -507,7 +508,7 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (this.tpyeNo == 2) {
|
|
|
+ if (this.information = "皮重") {
|
|
|
if (!this.weighingList.tare) {
|
|
|
this.$message({
|
|
|
message: '皮重不能为空',
|
|
@@ -563,7 +564,7 @@ export default {
|
|
|
type: 'warning',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- if (this.tpyeNo == 1) {
|
|
|
+ if (this.information = "毛重") {
|
|
|
//毛检保存前进行校验
|
|
|
getamount({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
@@ -620,7 +621,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- } else if (this.tpyeNo == 2) {
|
|
|
+ } else if (this.information = "皮重") {
|
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
|
;(this.weighingList.skinInspector =
|
|
|
sessionStorage.getItem('ws-pf_staffName')),
|