Browse Source

采购换货

intex_online20241111
zhaoyiran 4 weeks ago
parent
commit
48fbbc0c1e
  1. 4
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRecord/purchaseBarterRecordMain.data.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue

4
src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRecord/purchaseBarterRecordMain.data.ts

@ -74,8 +74,8 @@ export const PurchaseBarterRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
isSearch: true, isSearch: true,
}, },
{ {
label: '包装规格', label: '换货库位',
field: 'packUnit', field: 'locationCode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
}, },

2
src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue

@ -422,7 +422,7 @@ const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => { const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'requestUnplannedreceiptMain') detailRef.value.openDetail(row, titleName, titleValue,'requestPurchaseBarterMain')
} }
/** 删除按钮操作 */ /** 删除按钮操作 */

Loading…
Cancel
Save