Browse Source

优化

hella_online_20241017
yufei_wang 2 months ago
parent
commit
0c53180fc8
  1. 10
      src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue

10
src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue

@ -368,6 +368,9 @@ const searchTableSuccess1 = (formField, searchField, val, type, row) => {
setV['asnNumber'] = ''
formRef.value.formRef.setValues(setV)
}
if(formRef.value.formRef.formModel['locationCode']){
getTableData()
}
}
const clearSearchInput = (formField) => {
@ -398,11 +401,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro
if(formField=='supplierCode'){
setV['supplierName'] = val[0]['shortName']
tableData.value = []
}
formRef.setValues(setV)
if(formField == 'locationCode' ){
// 退
getTableData()
if(formField == 'locationCode'&&formRef.formModel['supplierCode']){
// 退
getTableData()
}
}

Loading…
Cancel
Save