From 31fe4dc05e9adcba07cafd0a25c233b200e7d7ec Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 22 Apr 2024 15:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=94=9F=E4=BA=A7=E6=94=B6=E8=B4=A7--?= =?UTF-8?q?=E4=B8=BB=E5=AD=90=E8=A1=A8=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceiptJobMain/index.vue | 6 +++--- .../productreceiptRecordMain/index.vue | 2 +- .../productreceiptRequestMain/index.vue | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue index c5d25cea2..e1ceea466 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue @@ -262,11 +262,11 @@ const buttonTableClick = async (val, row) => { } ProductreceiptJobMainApi.executeProductreceiptMain(aaa) } else if (val == 'mainJobAba') { // 放弃 - ProductreceiptJobMainApi.abandonProductreceiptMain(row.id) + ProductreceiptJobMainApi.abandonProductreceiptMain(row.masterId) } else if (val == 'mainJobClo') { // 关闭 - ProductreceiptJobMainApi.closeProductreceiptMain(row.id) + ProductreceiptJobMainApi.closeProductreceiptMain(row.masterId) } else if (val == 'mainJobAcc') { // 承接 - ProductreceiptJobMainApi.acceptProductreceiptMain(row.id) + ProductreceiptJobMainApi.acceptProductreceiptMain(row.masterId) } } // 获取部门 用于详情 部门回显 diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue index d4535b809..b8a9fdcde 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue @@ -223,7 +223,7 @@ const tableFormButton = async (val , row) => { bomModelVisible.value = true DialogTitle.value = '物料代码【' + row.itemCode + '】——Bom信息' detatableDataBom.params = { - masterId: row.id + masterId: row.masterId } await getDetailListBom() } diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue index 60e04c0ee..e32d37e14 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue @@ -295,7 +295,7 @@ const buttonTableClick = async (val, row) => { if (val == 'mainClose') { // 关闭 await message.confirm('确认要关闭吗?') tableObject.loading = true - ProductreceiptRequestMainApi.close(row.id).then(() => { + ProductreceiptRequestMainApi.close(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -306,7 +306,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'mainReAdd') { // 重新添加 await message.confirm('确认要重新添加吗?') tableObject.loading = true - ProductreceiptRequestMainApi.reAdd(row.id).then(() => { + ProductreceiptRequestMainApi.reAdd(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -317,7 +317,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'mainSubmit') { // 提交审批 await message.confirm('确认要提交审批吗?') tableObject.loading = true - ProductreceiptRequestMainApi.submit(row.id).then(() => { + ProductreceiptRequestMainApi.submit(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -328,7 +328,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'mainTurnDown') { // 驳回 await message.confirm('确认要驳回吗?') tableObject.loading = true - ProductreceiptRequestMainApi.refused(row.id).then(() => { + ProductreceiptRequestMainApi.refused(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -339,7 +339,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'mainApprove') { // 审批通过 await message.confirm('确认要审批通过吗?') tableObject.loading = true - ProductreceiptRequestMainApi.agree(row.id).then(() => { + ProductreceiptRequestMainApi.agree(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -363,7 +363,7 @@ const buttonTableClick = async (val, row) => { return } detatableData.params = { - masterId:row.id + masterId:row.masterId } await getDetailList() // 打开创建标签页面 @@ -432,7 +432,7 @@ const buttonTableClick = async (val, row) => { return } tableObject.loading = true - ProductreceiptRequestMainApi.handle(row.id).then(() => { + ProductreceiptRequestMainApi.handle(row.masterId).then(() => { message.success(t('common.updateSuccess')) tableObject.loading = false getList() @@ -442,7 +442,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'edit') { // 编辑 openForm('update', row) } else if (val == 'delete') { // 删除 - handleDelete(row.id) + handleDelete(row.masterId) } else if (val == 'point') { // 标签打印 handlePoint(row) } @@ -615,7 +615,7 @@ const tableFormButton = async (val , row) => { bomModelVisible.value = true DialogTitle.value = '物料代码【' + row.itemCode + '】——Bom信息' detatableDataBom.params = { - masterId: row.id + masterId: row.masterId } await getDetailListBom() }