From b80e6aae7ad97304fa9689a861467080343d655f Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Tue, 10 Sep 2024 14:27:18 +0800 Subject: [PATCH 01/16] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5876=20=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E4=BD=99=E9=A2=9D=E8=AF=A6=E6=83=85=E9=A1=B5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=80=E4=B8=AAtab=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/balance/index.ts | 8 +++++++- src/views/wms/inventoryManage/balance/index.vue | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index 92ab46992..af60eb822 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -43,7 +43,13 @@ export const getBalancePage = async (params) => { } export const getTransactionBalancePage = async (params) => { - return await request.get({ url: `/wms/transaction/page_balance`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/transaction/senior', data }) + } else { + return await request.get({ url: `/wms/transaction/page_balance`, params }) + } } // 查询库存余额列表(包括已冻结,已失效的物料) diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index 6da4900a8..1779984b0 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -60,7 +60,8 @@ :detailAllSchemasRules="BalanceRules" :apiPage="BalanceApi.getTransactionBalancePage" :isShowAddBtn="false" - :detailButtonIsShow="true" + :detailButtonIsShow="false" + :detailButtonIsShowFilter="false" :tabs="[{ label: '库存事务', prop: 'Transaction' From 1bde260d8e19505bbb7910ea66135d755138f6cd Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 10 Sep 2024 16:03:29 +0800 Subject: [PATCH 02/16] =?UTF-8?q?HL-5876=E5=89=8D=E7=AB=AFbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/inventoryManage/balance/index.vue | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index 1779984b0..527bfa512 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -54,18 +54,17 @@ @@ -98,6 +97,9 @@ const route = useRoute() //路由信息 const routeName = ref() routeName.value = route.name const tableColumns = ref(Balance.allSchemas.tableColumns) +const tabsExtend = ref(false) +const apiPage = ref() +const tableObjectExtend = ref() //字段设置 更新主列表字段 const updataTableColumns = (val) => { @@ -259,7 +261,9 @@ const openForm = (type: string, row?: any) => { /** 详情操作 */ const detailRef = ref() +const chooseRow = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { + chooseRow.value = row detailRef.value.openDetail(row, titleName, titleValue,'transactionBalance') } @@ -344,7 +348,23 @@ const searchFormClick = (searchData) => { } getList() // 刷新当前列表 } - +const changeTabs = (item) => { + if (item.prop == 'Transaction') { + tabsExtend.value = true + // 当前物料代码作为条件 + tableObjectExtend.value = [{ + key: 'masterId', + value: chooseRow.value.id + }] + apiPage.value = BalanceApi.getTransactionBalancePage + + console.log(988,tableObjectExtend.value) + } else { + tableObjectExtend.value = [] + tabsExtend.value = false + apiPage.value = '' + } +} /** 初始化 **/ onMounted(async() => { getList() From df8da3a71321087fe8ea4c2b9358ec5c4b8b2fa0 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Tue, 10 Sep 2024 17:02:55 +0800 Subject: [PATCH 03/16] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5787=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scrap/scrapJobMain/scrapJobMain.data.ts | 5 ++++- .../scrap/scrapRecordMain/scrapRecordMain.data.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts index e61b147f5..19b121e50 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts @@ -419,7 +419,10 @@ export const ScrapJobMain = useCrudSchemas( sort: 'custom', table: { width: 150 - } + }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '自动完成', diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts index 7d06a9c15..6dd8ad0be 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts @@ -411,7 +411,10 @@ export const ScrapRecordMain = useCrudSchemas( sort: 'custom', table: { width: 150 - } + }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '是否已撤销', From b33074192a7becb86cbb317c1526581db7a1de66 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Tue, 10 Sep 2024 17:32:00 +0800 Subject: [PATCH 04/16] =?UTF-8?q?=E7=BC=BA=E9=99=B7=EF=BC=9AHL-5009?= =?UTF-8?q?=EF=BC=8CSCP=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE=20=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=88=97=E8=A1=A8=E3=80=81=E5=AF=BC=E5=87=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=9B=E5=BB=BA=E4=BA=BA=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=9B=B4=E6=96=B0=E4=BA=BA=E6=9B=B4=E6=96=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E4=B8=9A=E5=8A=A1=E9=83=A8=E5=88=86=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=88=97=E8=A1=A8=E3=80=81=E5=AF=BC=E5=87=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/locales/en-US.ts | 3 +- src/locales/zh-CN.ts | 3 +- .../supplieDeliveryStrategy/index.vue | 30 +++++- .../supplierCycle/supplierCycle.data.ts | 41 ++++++++ .../supplierUser/supplierUser.data.ts | 6 ++ .../purchasereceiptJobMain.data.ts | 25 ++--- .../purchasereturnRecordMain.data.ts | 22 ++--- .../purchaseMain/purchaseMain.data.ts | 96 +++++++++---------- .../supplierdeliverRecordMain.data.ts | 28 ++++++ .../supplierdeliverRequestMain.data.ts | 76 +++++++-------- .../invoicingcalendar.data.ts | 39 ++++---- .../supplierApbalanceDetail.data.ts | 1 - .../supplierApbalanceMain.data.ts | 12 ++- 14 files changed, 249 insertions(+), 134 deletions(-) diff --git a/.gitignore b/.gitignore index 5e6e2f3ae..1f4042215 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ auto-*.d.ts .history /sfms3.0 /sfms3.0-ui +.vscode/ diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 2ffdbba5d..fc6ef45c2 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1286,7 +1286,8 @@ export default { 生产日期不能小于:'The date of production cannot be less than', 生产日期不能大于当前系统日期:'The production date cannot be greater than the current system date', 发票回转:'Return of invoice', - 发票回转成功:'The invoice has been successfully forwarded' + 发票回转成功: 'The invoice has been successfully forwarded', + 最后更新人: 'Last Updated By' }, diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 9d42231a1..c414dad7f 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1282,7 +1282,8 @@ export default { 生产日期不能小于:'生产日期不能小于', 生产日期不能大于当前系统日期:'生产日期不能大于当前系统日期', 发票回转:'发票回转', - 发票回转成功:'发票回转成功' + 发票回转成功: '发票回转成功', + 最后更新人:'最后更新人' }, } diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue index 0d8c6776a..58a70adb5 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue @@ -26,15 +26,28 @@ - - - - + + + + + vue + + + + + + + +