Browse Source

编辑新增赋值

master
zhaoxuebing 9 months ago
parent
commit
a2b634f900
  1. 10
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

10
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

@ -281,6 +281,16 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => {
setV['singlePrice'] = val[0]['singlePrice']
setV['amount'] = val[0]['amount']
setV['projectCode'] = val[0]['projectCode']
if(formField == 'itemCode'){
setV['batch'] = val[0]['toBatch']
setV['packingNumber'] = val[0]['toPackingNumber']
setV['containerNumber'] = val[0]['toContainerNumber']
setV['containerNumber'] = val[0]['containerNumber']
setV['containerNumber'] = val[0]['containerNumber']
setV['fromLocationCode'] = val[0]['fromLocationCode']
setV['toLocationCode'] = val[0]['toLocationCode']
}
}else {
setV[formField] = val[0][searchField]
}

Loading…
Cancel
Save