Browse Source

采购退货

master_hella_20240701
yufei0306 6 months ago
parent
commit
d3c7006b99
  1. 8
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue
  2. 2
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

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

@ -122,7 +122,8 @@ import {
PurchasereturnRequestMainRules, PurchasereturnRequestMainRules,
PurchasereturnRequestDetail, PurchasereturnRequestDetail,
PurchasereturnRequestDetailRules, PurchasereturnRequestDetailRules,
PurchasereReturnRequestDetailLabel PurchasereReturnRequestDetailLabel,
PurchasereceiptRecordMain1
} from './purchasereturnRequestMain.data' } from './purchasereturnRequestMain.data'
import * as PurchasereturnRequestMainApi from '@/api/wms/purchasereturnRequestMain' import * as PurchasereturnRequestMainApi from '@/api/wms/purchasereturnRequestMain'
import * as PurchasereturnRequestDetailApi from '@/api/wms/purchasereturnRequestDetail' import * as PurchasereturnRequestDetailApi from '@/api/wms/purchasereturnRequestDetail'
@ -155,6 +156,11 @@ const onEnter = async (field,value)=>{
console.log(field,value) console.log(field,value)
if('supplierCode'==field){ if('supplierCode'==field){
// //
formRef.value.opensearchTable('purchaseReceiptRecordNumber', 'number', '采购收货记录', PurchasereceiptRecordMain1.allSchemas, PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageReturn,[{
key: 'supplierCode',
value: 'supplierCode',
isMainValue: true
}])
}else if('purchaseReceiptRecordNumber' == field){ }else if('purchaseReceiptRecordNumber' == field){
// //
} }

2
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -30,7 +30,7 @@ const queryParams = {
// 采购收货记录展示列 // 采购收货记录展示列
const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchasereceiptRecordMain1 = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save