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(() => { nextTick(() => {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
setV['containerNumber'] = val[0]['containerNumber'] if(formField == 'packingNumber'){
setV['itemCode'] = val[0]['itemCode'] setV['containerNumber'] = val[0]['containerNumber']
setV['packingNumber'] = val[0]['packingNumber'] setV['itemCode'] = val[0]['itemCode']
setV['batch'] = val[0]['batch'] setV['packingNumber'] = val[0]['packingNumber']
setV['uom'] = val[0]['uom'] setV['batch'] = val[0]['batch']
setV['qty'] = val[0]['qty'] setV['uom'] = val[0]['uom']
setV['inventoryStatus'] = val[0]['inventoryStatus'] setV['qty'] = val[0]['qty']
setV['fromLocationCode'] = val[0]['locationCode'] setV['inventoryStatus'] = val[0]['inventoryStatus']
setV['produceDate'] = val[0]['produceDate'] setV['fromLocationCode'] = val[0]['locationCode']
setV['expireDate'] = val[0]['expireDate'] setV['produceDate'] = val[0]['produceDate']
setV['expireDate'] = val[0]['expireDate']
}else if(formField == 'bomVersion') {
setV['bomVersion'] = val[0]['version']
}
formRef.setValues(setV) formRef.setValues(setV)
}) })
} }

Loading…
Cancel
Save