Browse Source

制品拆解bug修改

master
zhaoxuebing 11 months ago
parent
commit
0b21d5e6c6
  1. 24
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

24
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -263,16 +263,20 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
setV['containerNumber'] = val[0]['containerNumber']
setV['itemCode'] = val[0]['itemCode']
setV['packingNumber'] = val[0]['packingNumber']
setV['batch'] = val[0]['batch']
setV['uom'] = val[0]['uom']
setV['qty'] = val[0]['qty']
setV['inventoryStatus'] = val[0]['inventoryStatus']
setV['fromLocationCode'] = val[0]['locationCode']
setV['produceDate'] = val[0]['produceDate']
setV['expireDate'] = val[0]['expireDate']
if(formField == 'packingNumber'){
setV['containerNumber'] = val[0]['containerNumber']
setV['itemCode'] = val[0]['itemCode']
setV['packingNumber'] = val[0]['packingNumber']
setV['batch'] = val[0]['batch']
setV['uom'] = val[0]['uom']
setV['qty'] = val[0]['qty']
setV['inventoryStatus'] = val[0]['inventoryStatus']
setV['fromLocationCode'] = val[0]['locationCode']
setV['produceDate'] = val[0]['produceDate']
setV['expireDate'] = val[0]['expireDate']
}else if(formField == 'bomVersion') {
setV['bomVersion'] = val[0]['version']
}
formRef.setValues(setV)
})
}

Loading…
Cancel
Save