Browse Source

在开关表中增加开关:semiProductReceipCommitValidate,在预生产完工收货任务提交时根据开关校验是否要扫描目标库位,如果不扫描目标库位取任务中的目标库位,参考装配任务中的fgProductReceipCommitValidate开关

ljc_0803
wangyufei 3 months ago
parent
commit
93508acd61
  1. 7
      src/pages/productReceipt/job/productReceiptDetail.vue

7
src/pages/productReceipt/job/productReceiptDetail.vue

@ -227,7 +227,12 @@
that.jobStatus = res.data.status; that.jobStatus = res.data.status;
that.jobToLocationCode = that.subList[0].toLocationCode; that.jobToLocationCode = that.subList[0].toLocationCode;
that.productionLineCode = that.jobContent.subList[0].productionLineCode; that.productionLineCode = that.jobContent.subList[0].productionLineCode;
var valiDate = getSwitchInfoByCode("semiProductReceipCommitValidate")
if(valiDate){
that.jobContent.allowModifyLocation = 'TRUE'
}else{
that.jobContent.allowModifyLocation = 'FALSE'
}
// if (that.jobContent.allowModifyLocation == 'FALSE') { // if (that.jobContent.allowModifyLocation == 'FALSE') {
// that.toLocationCode = that.subList[0].toLocationCode // that.toLocationCode = that.subList[0].toLocationCode
// } // }

Loading…
Cancel
Save