|
|
@ -119,7 +119,6 @@ import { |
|
|
|
} from './supplierdeliverRequestMain.data' |
|
|
|
import * as SupplierdeliverRequestMainApi from '@/api/wms/supplierdeliverRequestMain' |
|
|
|
import * as SupplierdeliverRequestDetailApi from '@/api/wms/supplierdeliverRequestDetail' |
|
|
|
import * as PurchasePlanDetailApi from '@/api/wms/purchasePlanDetail' |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import point from '@/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue' |
|
|
|
// import * as PackageApi from '@/api/wms/package' |
|
|
@ -154,7 +153,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
row['poLine'] = val[0]['poLine'] |
|
|
|
row['uom'] = val[0]['uom'] |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
@ -162,6 +160,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
// 清空子表数据 |
|
|
|
tableData.value = [] // 重置明细数据 |
|
|
|
} |
|
|
|
if(formField == 'supplierCode'){ |
|
|
|
console.log("supplierCode:",val[0]) |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|
} |
|
|
|
}) |
|
|
|