diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 2a2445c38..a3b9fff17 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -120,6 +120,18 @@ export const getBalancePageByBusinessTypeByItemType = async (params) => { } } + +// 查询库存余额列表根据业务类型的物料类型--制品回收 +export const getBalancePageByBusinessTypeByItemTypeProductredress = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/balance/seniorBusinessTypeByItemTypeProductredress', data }) + } else { + return await request.get({ url: `/wms/balance/pageBusinessTypeByItemTypeProductredress`, params }) + } +} + // 备件出库查询库存余额列表 export const getBalancePageSpare = async (params) => { if (params.isSearch) { diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 93b4a8b26..b2d91cfc1 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -36,7 +36,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/redirect', component: Layout, - name: 'Redirect', + name: 'redirectNew', children: [ { path: '/redirect/:path(.*)', diff --git a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts index 06e5da55d..29b55c41a 100644 --- a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts +++ b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts @@ -257,7 +257,7 @@ export const CountPlanMain = useCrudSchemas(reactive([ table: { width: 150 }, - isTable: false + isTable: true }, { label: '创建者', diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue index 4f3fd7fcd..0153c8c7b 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue @@ -173,12 +173,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => //车间代码 setV['productionLineCode'] = '' setV['workStationCode'] = '' + tableData.value = [] }else if('productionLineCode'==formField){ //生产线 setV['workStationCode'] = '' + tableData.value = [] }else if('workStationCode'==formField){ //工位代码 - setV['productionLineCode1'] = val[0]['productionLineCode']//用于没选生产线代码,给后端用 + setV['productionLineCode'] = val[0]['productionLineCode']//用于没选生产线代码,给后端用 + tableData.value = [] } formRef.setValues(setV) } diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts index 87b4036e2..ce4293041 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts @@ -557,7 +557,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive searchField: 'itemCode', // 查询弹窗赋值字段 searchTitle: '库存余额信息', // 查询弹窗标题 searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类 - searchPage: BalanceApi.getBalancePageByBusinessTypeByItemType, // 查询弹窗所需分页方法 + searchPage: BalanceApi.getBalancePageByBusinessTypeByItemTypeProductredress, // 查询弹窗所需分页方法 searchCondition: [{ key: 'businessType', value: businessTypeData.code, diff --git a/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts index 486bafab0..81a21929f 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts @@ -601,6 +601,30 @@ export const ProductscrapRecordDetail = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '制品单价', + field: 'singlePrice', + sort: 'custom', + isTable: true, + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, + { + label: '制品金额', + field: 'amount', + sort: 'custom', + isTable: true, + table: { + width: 150 + }, + form: { + component: 'InputNumber', + } + }, { label: '原料物料代码', field: 'itemCodeThird', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 45de11ae8..add355672 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -211,7 +211,7 @@ export const Version = useCrudSchemas(reactive([ label: '子表版本', field: 'detailVersion', sort: 'custom', - } + }, ])) export const DemandforecastingMain = useCrudSchemas(reactive([ { @@ -362,6 +362,22 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ } } }, + { + label: '先前累计需求', + field: 'schdPcrQty', + sort: 'custom', + table: { + width: 150 + } + }, + { + label: '累计收货量', + field: 'schdCumrcQty', + sort: 'custom', + table: { + width: 150 + } + }, { label: '到货日期', field: 'dueDate', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts index 2ffc91738..93893d78c 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts @@ -148,6 +148,22 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ } } }, + { + label: '先前累计需求', + field: 'schdPcrQty', + sort: 'custom', + table: { + width: 150 + } + }, + { + label: '累计收货量', + field: 'schdCumrcQty', + sort: 'custom', + table: { + width: 150 + } + }, { label: '到货日期', field: 'dueDate', diff --git a/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue b/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue index 867c96cfa..e8a148244 100644 --- a/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue +++ b/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue @@ -290,7 +290,7 @@ const handleExport = async () => { // 发起导出 loadStart() const data = await SupplierApbalanceMainApi.exportSupplierApbalanceMain(tableObject.params) - download.excel(data, '供应商余额明细主.xlsx') + download.excel(data, '供应商对账管理.xlsx') } catch { } finally { loadDone()