Browse Source

新版采购退货-语法错误

hella_online_20240819
wangyufei 3 months ago
parent
commit
6a1f9fd9e9
  1. 4
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue

4
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue

@ -803,8 +803,8 @@ const onChangeForm = async (field, cur, formRef)=>{
})
}else if(field == 'locationCode' || field == 'itemCode'){
// 退
let itemCode = field == 'locationCode'?formRef.value.formModel.itemCode:formRef.formModel.itemCode
let fromLocationCode = field == 'locationCode'?formRef.value.formModel.locationCode:formRef.formModel.locationCode
let itemCode = formRef.formModel?formRef.formModel.itemCode:formRef.value.formModel.itemCode
let fromLocationCode = formRef.formModel?formRef.formModel.locationCode:formRef.value.formModel.locationCode
if(!itemCode||!fromLocationCode){
return
}

Loading…
Cancel
Save