|
|
@@ -455,6 +455,7 @@
|
|
|
'moldingBatch': this.$route.query.moldingBatch,
|
|
|
'moldingDate': this.$route.query.moldingDate,
|
|
|
'productFlag': this.$route.query.productFlag,
|
|
|
+ 'modelFlag': this.$route.query.modelFlag,
|
|
|
'ftyId': this.$store.state.user.ftyId
|
|
|
}
|
|
|
return this.excute(this.$service.moldingRecordItemService, this.$service.moldingRecordItemService.selectByMoldineId, param).then(res => {
|
|
|
@@ -497,13 +498,13 @@
|
|
|
//明细的绑定条码不可以修改
|
|
|
this.$set(item, 'readOnly', ['productUniqueCode'])
|
|
|
//如果明细里绑定条码存在没值的情况;总单绑定条码可以输入 反之不可以;明细有值没值都要禁用
|
|
|
- if (item.productUniqueCode) {
|
|
|
+ if (item.productUniqueCode ) {
|
|
|
item.exchangeFlag = false
|
|
|
productUniqueCodeLength++
|
|
|
item.readOnlyUniqueCode = true
|
|
|
}
|
|
|
//明细不是成型
|
|
|
- if (!item.flgMolding) {
|
|
|
+ if (!item.flgMolding && item.pdtModelId) {
|
|
|
item.exchangeFlag = false
|
|
|
flgMoldingLength++
|
|
|
}
|