Browse Source

维修退货

hella_online_20241017
yufei_wang 2 months ago
parent
commit
c56c166ab2
  1. 18
      src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue

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

@ -210,22 +210,7 @@ const onEnter = async (field, value) => {
console.log(field, value) console.log(field, value)
if ('supplierCode' == field) { if ('supplierCode' == field) {
// //
formRef.value.opensearchTable( chooseReceiptList()
'purchaseReceiptRecordNumber',
'number',
'采购收货记录',
PurchasereceiptRecordMain1.allSchemas,
PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageReturn,
[
{
key: 'supplierCode',
value: 'supplierCode',
isMainValue: true
}
]
)
} else if ('purchaseReceiptRecordNumber' == field) {
//
} }
} }
@ -846,6 +831,7 @@ const submitForm = async (formType, submitData) => {
} }
tableData.value.forEach(item=>{ tableData.value.forEach(item=>{
item['fromLocationCode'] = data['locationCode'] item['fromLocationCode'] = data['locationCode']
item['poNumber'] = data['poNumber']
}) })
console.log('submitForm', tableData.value) console.log('submitForm', tableData.value)
// if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.receiptQty))){ // if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.receiptQty))){

Loading…
Cancel
Save