From 3b6cb450d12fa81e2a42e5c346b7274037c672d3 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 24 Jun 2024 14:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A2=86=E6=96=99=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E7=BC=96=E8=BE=91=E5=9B=9E=E6=98=BEbug=EF=BC=8C?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=80=80=E6=96=99=E6=8E=A5=E6=94=B6=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E8=AE=BE=E5=A4=87=E6=8A=A5=E5=BA=9F=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=EF=BC=8C=E5=8E=9F=E5=9B=A0=E5=A1=AB=E5=86=99?= =?UTF-8?q?=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../picking/apply/component/AddPicking.vue | 54 +++++--- .../picking/apply/component/home.vue | 27 ++-- .../claimAndreturn/picking/apply/index.vue | 34 ++++- .../{return => }/reject/index.vue | 2 +- .../return/receive/component/handlePage.vue | 28 ++-- .../return/scrap/component/config.js | 124 ++++++++++++++++++ .../return/scrap/component/home.vue | 87 ++++++++++++ .../return/scrap/component/return.vue | 61 +++++++++ .../claimAndreturn/return/scrap/index.vue | 32 +++++ .../forecastWaste/auditingReturn/index.vue | 104 +++++++-------- 10 files changed, 455 insertions(+), 98 deletions(-) rename sgzb-ui/src/views/claimAndreturn/{return => }/reject/index.vue (51%) create mode 100644 sgzb-ui/src/views/claimAndreturn/return/scrap/component/config.js create mode 100644 sgzb-ui/src/views/claimAndreturn/return/scrap/component/home.vue create mode 100644 sgzb-ui/src/views/claimAndreturn/return/scrap/component/return.vue create mode 100644 sgzb-ui/src/views/claimAndreturn/return/scrap/index.vue diff --git a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue index 05fe78de..34af9f54 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue @@ -8,6 +8,7 @@ :inline="true" v-show="showSearch" label-width="100px" + :disabled="!isAdd && !isEdit" > @@ -50,8 +51,8 @@ @@ -59,10 +60,10 @@ @change="selDeviceTypeChange" style="width: 240px" v-model="queryParams.companyId" - :disabled="leaseApplyDetails.length > 0" placeholder="请选择设备类型" clearable filterable + :disabled="isEdit" > @@ -78,7 +79,6 @@ ref="deviceTypeCascader" filterable style="width: 240px" - :disabled="isEdit && !isView" > @@ -104,7 +104,7 @@ 保存 @@ -173,12 +173,13 @@ @@ -187,9 +188,10 @@ @@ -198,7 +200,7 @@ align="center" fixed="right" class-name="small-padding fixed-width" - v-if="isView" + v-if="isAdd || isEdit" > @@ -37,9 +39,13 @@ export default { pageContent: '新增领料任务', viewTaskId: '', rejectTaskStatus: '', - isView: false, + isEdit: false, routerParams: {}, + + isAdd: false, + isView: false, + isEdit: false, } }, methods: { @@ -71,6 +77,32 @@ export default { this.isShowComponent = 'AddPicking' this.routerParams = routerParams }, + + // 新增 查看 编辑 驳回提交等操作 + handlePicking(type, taskId) { + switch (type) { + case 1: + this.pageContent = '新增领料任务' + this.isAdd = true + this.isEdit = false + this.viewTaskId = '' + break + case 2: + this.pageContent = '领料任务编辑' + this.isAdd = false + this.isEdit = true + this.viewTaskId = taskId + break + case 3: + this.pageContent = '领料任务详情' + this.isAdd = false + this.isEdit = false + this.viewTaskId = taskId + break + } + + this.isShowComponent = 'AddPicking' + }, goBack() { this.isShowComponent = 'Home' }, diff --git a/sgzb-ui/src/views/claimAndreturn/return/reject/index.vue b/sgzb-ui/src/views/claimAndreturn/reject/index.vue similarity index 51% rename from sgzb-ui/src/views/claimAndreturn/return/reject/index.vue rename to sgzb-ui/src/views/claimAndreturn/reject/index.vue index f34a1369..1203a19b 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/reject/index.vue +++ b/sgzb-ui/src/views/claimAndreturn/reject/index.vue @@ -1,5 +1,5 @@ + + diff --git a/sgzb-ui/src/views/claimAndreturn/return/scrap/component/return.vue b/sgzb-ui/src/views/claimAndreturn/return/scrap/component/return.vue new file mode 100644 index 00000000..ae2403f5 --- /dev/null +++ b/sgzb-ui/src/views/claimAndreturn/return/scrap/component/return.vue @@ -0,0 +1,61 @@ + + + diff --git a/sgzb-ui/src/views/claimAndreturn/return/scrap/index.vue b/sgzb-ui/src/views/claimAndreturn/return/scrap/index.vue new file mode 100644 index 00000000..4f48825c --- /dev/null +++ b/sgzb-ui/src/views/claimAndreturn/return/scrap/index.vue @@ -0,0 +1,32 @@ + + + + diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue index f01dbeaf..58288b81 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue @@ -79,61 +79,61 @@