From f399d23c94ac1828f3ad2697732e1311ec615737 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Fri, 24 Dec 2021 13:07:34 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basedate/m100Online/RepetitionMB.vue | 28 +++++++++++++++++-- .../basedate/m100Online/RepetitionZHB.vue | 26 +++++++++++++++-- .../pg-fis/basedate/m100Online/ScrapMB.vue | 26 +++++++++++++++-- .../pg-fis/basedate/m100Online/ScrapZHB.vue | 21 ++++++++++++-- .../basedate/m100Online/normalPritIndex.vue | 12 ++++---- 5 files changed, 99 insertions(+), 14 deletions(-) diff --git a/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue b/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue index cb254ea2..b17f9a03 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue @@ -387,6 +387,8 @@ export default { var tempsTabs = []; tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 }); tempsTabs.push({ label: "单据顺号", prop: "billSerialNum", width: 120 }); + tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 }); + tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 }); tempsTabs.push({ label: "左或右", prop: "billLocation", @@ -424,8 +426,13 @@ export default { }); tempsTabs.push({ - label: "底盘号", - prop: "Vin", + label: "起始底盘号", + prop: "beginVin", + width: 160, + }); + tempsTabs.push({ + label: "结束底盘号", + prop: "endVin", width: 160, }); return tempsTabs; @@ -524,8 +531,25 @@ export default { this.listQuery ) .then((response) => { + + response.items.forEach((item)=>{ + if(item.printType == 0) + { + item.printType = "正常打印"; + } + else if(item.printType == 1) + { + item.printType = "重打"; + } + else + { + item.printType = "补打"; + } + + }); this.list = response.items; this.totalCount = response.totalCount; + setTimeout(() => { //大数据量加载时 this.listLoading = false; diff --git a/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue index 2a6856c1..83226746 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue @@ -342,6 +342,8 @@ export default { var tempsTabs = []; tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 }); tempsTabs.push({ label: "单据顺号", prop: "billSerialNum", width: 120 }); + tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 }); + tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 }); tempsTabs.push({ label: "左或右", prop: "billLocation", @@ -379,8 +381,13 @@ export default { }); tempsTabs.push({ - label: "底盘号", - prop: "Vin", + label: "起始底盘号", + prop: "beginVin", + width: 160, + }); + tempsTabs.push({ + label: "结束底盘号", + prop: "endVin", width: 160, }); return tempsTabs; @@ -480,6 +487,21 @@ export default { this.listQuery ) .then((response) => { + response.items.forEach((item)=>{ + if(item.printType == 0) + { + item.printType = "正常打印"; + } + else if(item.printType == 1) + { + item.printType = "重打"; + } + else + { + item.printType = "补打"; + } + + }); this.list = response.items; this.totalCount = response.totalCount; setTimeout(() => { diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue index 3f2b7d7b..445fd29f 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue @@ -361,6 +361,8 @@ export default { var tempsTabs = []; tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 }); tempsTabs.push({ label: "单据顺号", prop: "billSerialNum", width: 120 }); + tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 }); + tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 }); tempsTabs.push({ label: "左或右", prop: "billLocation", @@ -398,8 +400,13 @@ export default { }); tempsTabs.push({ - label: "底盘号", - prop: "Vin", + label: "起始底盘号", + prop: "beginVin", + width: 160, + }); + tempsTabs.push({ + label: "结束底盘号", + prop: "endVin", width: 160, }); return tempsTabs; @@ -499,6 +506,21 @@ export default { this.listQuery ) .then((response) => { + response.items.forEach((item)=>{ + if(item.printType == 0) + { + item.printType = "正常打印"; + } + else if(item.printType == 1) + { + item.printType = "重打"; + } + else + { + item.printType = "补打"; + } + + }); this.list = response.items; this.totalCount = response.totalCount; setTimeout(() => { diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue index e84caa89..02335f75 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue @@ -373,6 +373,8 @@ export default { var tempsTabs = []; tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 }); tempsTabs.push({ label: "单据顺号", prop: "billSerialNum", width: 120 }); + tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 }); + tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 }); tempsTabs.push({ label: "左或右", prop: "billLocation", @@ -410,12 +412,12 @@ export default { }); tempsTabs.push({ - label: "起底盘号", + label: "起始底盘号", prop: "beginVin", width: 160, }); tempsTabs.push({ - label: "止底盘号", + label: "结束底盘号", prop: "endVin", width: 160, }); @@ -515,6 +517,21 @@ export default { this.listQuery ) .then((response) => { + response.items.forEach((item)=>{ + if(item.printType == 0) + { + item.printType = "正常打印"; + } + else if(item.printType == 1) + { + item.printType = "重打"; + } + else + { + item.printType = "补打"; + } + + }); this.list = response.items; this.totalCount = response.totalCount; setTimeout(() => { diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue index 336bc746..3912ce51 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue @@ -546,7 +546,7 @@ export default { dialogFormVisible: false, formTitle: "", isEdit: false, - formLoading: false, + formLoading: false, //关闭窗口 tableHeight: document.documentElement.clientHeight - 335, detailTableHeight: 250, details: [], //修改子表数据源 @@ -1277,7 +1277,7 @@ export default { this.hostPrintQuery.endHostSN = parseInt(this.form.endHostSN); if (this.listQuery.productType === 1) { - //门板-打印 + //柱护板-打印 this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); this.hostCheckQuery.productLine = this.listQuery.productLine; @@ -1467,7 +1467,7 @@ export default { console.log(this.fileQuery.dataname); this.$axios .posts( - "/Handlers/Handler1.ashx?report=menban", + "/Handlers/Handler1.ashx?report=zhuhuban", qs.stringify(this.fileQuery) ) .then((response) => { @@ -1514,7 +1514,7 @@ export default { console.log(this.fileQuery.dataname); this.$axios .posts( - "/Handlers/Handler1.ashx?report=menban", + "/Handlers/Handler1.ashx?report=zhuhuban", qs.stringify(this.fileQuery) ) .then((response) => { @@ -1973,7 +1973,7 @@ export default { console.log(this.fileQuery.dataname); this.$axios .posts( - "/Handlers/Handler1.ashx?report=menban", + "/Handlers/Handler1.ashx?report=zhuhuban", qs.stringify(this.fileQuery) ) .then((response) => { @@ -2012,7 +2012,7 @@ export default { console.log(this.fileQuery.dataname); this.$axios .posts( - "/Handlers/Handler1.ashx?report=menban", + "/Handlers/Handler1.ashx?report=zhuhuban", qs.stringify(this.fileQuery) ) .then((response) => { From d0d1863e4eb23ffa4a743f73d08e6ad9a445dc46 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Fri, 24 Dec 2021 15:14:06 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/components/ImportTxt/index.vue | 46 ++-- .../pg-fis/basedate/m100Online/ScrapMB.vue | 209 +++++++++++++----- .../pg-fis/basedate/m100Online/ScrapZHB.vue | 194 ++++++++++++---- 3 files changed, 332 insertions(+), 117 deletions(-) diff --git a/vue/src/components/ImportTxt/index.vue b/vue/src/components/ImportTxt/index.vue index 6392dce9..8a2b1e7d 100644 --- a/vue/src/components/ImportTxt/index.vue +++ b/vue/src/components/ImportTxt/index.vue @@ -151,13 +151,13 @@ {{ this.resultData.successMessage }} - 下载错误数据 + > -->

@@ -427,7 +427,7 @@ export default { this.factoryList = []; // this.listQuery.SkipCount = (this.page - 1) * 500; this.$axios - .posts("/api/settleaccount/CentralizedControl/openlist") + .posts("/api/newjit/assembly-cfg-erp/import") .then((response) => { response.forEach((element) => { let options = {}; @@ -440,25 +440,25 @@ export default { this.listLoading = false; }); }, - getAllCarModel() { - //取车型列表信息 - this.carModelList = []; - this.listQueryCustom.SkipCount = (this.page - 1) * 500; - console.log(JSON.stringify(this.listQueryCustom)); - this.$axios - .posts("/api/settleaccount/CodeSetting/list", this.listQueryCustom) - .then((response) => { - response.items.forEach((element) => { - let options = {}; - options.value = element.value; - options.label = element.description; - this.carModelList.push(options); - }); - }) - .catch(() => { - this.listLoading = false; - }); - }, + // getAllCarModel() { + // //取车型列表信息 + // this.carModelList = []; + // this.listQueryCustom.SkipCount = (this.page - 1) * 500; + // console.log(JSON.stringify(this.listQueryCustom)); + // this.$axios + // .posts("/api/settleaccount/CodeSetting/list", this.listQueryCustom) + // .then((response) => { + // response.items.forEach((element) => { + // let options = {}; + // options.value = element.value; + // options.label = element.description; + // this.carModelList.push(options); + // }); + // }) + // .catch(() => { + // this.listLoading = false; + // }); + // }, handleImportExcelClick() { //父组件中,初始化此子组件时调用 this.fileuploadList = []; @@ -602,7 +602,7 @@ export default { this.stepList[0].status = "wait"; this.resultData.errTemplate = res; //指定错误模板名称,作为参数,用于错误模板下载 this.resultData.errSize = 1; //保持大于0,用于控制错误数据下载按钮的可不可见 - this.resultData.successMessage = "数据导入失败!"; + this.resultData.successMessage = res.message; this.stepsActive = 3; } } diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue index 445fd29f..9d67cedc 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue @@ -99,7 +99,7 @@ type="danger" icon="el-icon-delete" size="mini" - @click="handleDelete()" + @click="print()" >作废(支持批量) @@ -195,6 +195,57 @@ /> +
+ + + + + + + + + + + + +
@@ -243,6 +294,7 @@ export default { }; return { crmType: "M100Online-MB", + dialogTableVisible: false, getRowKeys: (row) => { return row.id; //这里看这一行中需要根据哪个属性值是id }, @@ -506,20 +558,14 @@ export default { this.listQuery ) .then((response) => { - response.items.forEach((item)=>{ - if(item.printType == 0) - { + response.items.forEach((item) => { + if (item.printType == 0) { item.printType = "正常打印"; - } - else if(item.printType == 1) - { + } else if (item.printType == 1) { item.printType = "重打"; - } - else - { + } else { item.printType = "补打"; } - }); this.list = response.items; this.totalCount = response.totalCount; @@ -581,25 +627,21 @@ export default { .catch(() => {}); } }, - //作废操作,支持批量操作-门板 - handleDelete(row) { - //批量删除 + print(row) { var params = []; - let myalert = ""; //声明变量,其变量必须在此声明后使用 - let myalertcount = []; if (row) { //单行 params.push(row.id); - myalert = row.name; } else { //多选 this.multipleSelection.forEach((element) => { let id = element.id; params.push(id); }); - myalert = "选中项"; } - console.log("作废查询参数:" + JSON.stringify(params)); + this.zuofei = params; + + this.dialogTableVisible = true; this.$axios .posts("/api/newjit/MenBanPackingList/get-all-del-List", params) .then((response) => { @@ -613,46 +655,111 @@ export default { return; } else { this.fileQuery.dataname = JSON.stringify(response); - response.forEach((itemsss) => { - myalertcount.push(itemsss.billNum); - }); + this.zflist = response; console.log( "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + JSON.stringify(this.fileQuery.dataname) ); - this.$confirm( - "是否作废选中的" + response.length + "条记录?", - "提示", - { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - } - ) - .then(() => { - this.$axios - .posts("/api/newjit/MenBanPackingList/scrap", params) - .then((response) => { - const index = this.list.indexOf(row); - this.$notify({ - title: "成功", - message: "作废成功", - type: "success", - duration: 2000, - }); - this.getList(); - }); - }) - .catch(() => { - this.$message({ - type: "info", - message: "已取消操作", - }); - }); } }) .catch(() => {}); }, + + //作废详情页确认按钮 + handleDelete() { + //debugger; + let params = this.zuofei; + + this.$axios + .posts("/api/newjit/MenBanPackingList/scrap", params) + .then((response) => { + console.log( + "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + JSON.stringify(response) + ); + this.$notify({ + title: "成功", + message: "作废成功", + type: "success", + duration: 2000, + }); + }); + this.dialogTableVisible = false; + this.getList(); + }, + + //作废操作,支持批量操作-门板 + // handleDelete(row) { + // //批量删除 + // var params = []; + // let myalert = ""; //声明变量,其变量必须在此声明后使用 + // let myalertcount = []; + // if (row) { + // //单行 + // params.push(row.id); + // myalert = row.name; + // } else { + // //多选 + // this.multipleSelection.forEach((element) => { + // let id = element.id; + // params.push(id); + // }); + // myalert = "选中项"; + // } + // console.log("作废查询参数:" + JSON.stringify(params)); + // this.$axios + // .posts("/api/newjit/MenBanPackingList/get-all-del-List", params) + // .then((response) => { + // //alert(response.status); + // const index = this.list.indexOf(row); + // if (response.status === false) { + // this.$message({ + // message: response.message, + // type: "error", + // }); + // return; + // } else { + // this.fileQuery.dataname = JSON.stringify(response); + // response.forEach((itemsss) => { + // myalertcount.push(itemsss.billNum); + // }); + // console.log( + // "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + // JSON.stringify(this.fileQuery.dataname) + // ); + // this.$confirm( + // "是否作废选中的" + response.length + "条记录?", + // "提示", + // { + // confirmButtonText: "确定", + // cancelButtonText: "取消", + // type: "warning", + // } + // ) + // .then(() => { + // this.$axios + // .posts("/api/newjit/MenBanPackingList/scrap", params) + // .then((response) => { + // const index = this.list.indexOf(row); + // this.$notify({ + // title: "成功", + // message: "作废成功", + // type: "success", + // duration: 2000, + // }); + // this.getList(); + // }); + // }) + // .catch(() => { + // this.$message({ + // type: "info", + // message: "已取消操作", + // }); + // }); + // } + // }) + // .catch(() => {}); + // }, fetchData(id) { //循环动态 this.$axios diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue index 02335f75..b9c1b721 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue @@ -124,7 +124,7 @@ type="danger" icon="el-icon-delete" size="mini" - @click="handleDelete()" + @click="print()" >作废(支持批量) @@ -200,6 +200,53 @@ /> +
+ + + + + + + + + + + + +
@@ -248,6 +295,7 @@ export default { }; return { crmType: "M100Online-MB", + dialogTableVisible :false, getRowKeys: (row) => { return row.id; //这里看这一行中需要根据哪个属性值是id }, @@ -594,25 +642,21 @@ export default { .catch(() => {}); } }, - //作废操作,支持批量操作-门板 - handleDelete(row) { - //批量删除 - var params = []; - let myalert = ""; //声明变量,其变量必须在此声明后使用 - let myalertcount = []; + print(row) { + var params = []; if (row) { //单行 params.push(row.id); - myalert = row.name; } else { //多选 this.multipleSelection.forEach((element) => { let id = element.id; params.push(id); }); - myalert = "选中项"; } - console.log("作废查询参数:" + JSON.stringify(params)); + this.zuofei = params; + + this.dialogTableVisible = true; this.$axios .posts("/api/newjit/ZhuHuBanPackingList/get-all-del-List", params) .then((response) => { @@ -626,46 +670,110 @@ export default { return; } else { this.fileQuery.dataname = JSON.stringify(response); - response.forEach((itemsss) => { - myalertcount.push(itemsss.billNum); - }); + this.zflist = response; console.log( - "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + "柱护板-调用Handlers/Handler1.ashx?report=menban传的值:" + JSON.stringify(this.fileQuery.dataname) ); - this.$confirm( - "是否作废选中的" + response.length + "条记录?", - "提示", - { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - } - ) - .then(() => { - this.$axios - .posts("/api/newjit/ZhuHuBanPackingList/scrap", params) - .then((response) => { - const index = this.list.indexOf(row); - this.$notify({ - title: "成功", - message: "作废成功", - type: "success", - duration: 2000, - }); - this.getList(); - }); - }) - .catch(() => { - this.$message({ - type: "info", - message: "已取消操作", - }); - }); } }) .catch(() => {}); }, + //作废详情页确认按钮 + handleDelete() { + //debugger; + let params = this.zuofei; + + this.$axios + .posts("/api/newjit/ZhuHuBanPackingList/scrap", params) + .then((response) => { + console.log( + "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + JSON.stringify(response) + ); + this.$notify({ + title: "成功", + message: "作废成功", + type: "success", + duration: 2000, + }); + + }); + this.dialogTableVisible = false; + this.getList(); + }, + //作废操作,支持批量操作-门板 + // handleDelete(row) { + // //批量删除 + // var params = []; + // let myalert = ""; //声明变量,其变量必须在此声明后使用 + // let myalertcount = []; + // if (row) { + // //单行 + // params.push(row.id); + // myalert = row.name; + // } else { + // //多选 + // this.multipleSelection.forEach((element) => { + // let id = element.id; + // params.push(id); + // }); + // myalert = "选中项"; + // } + // console.log("作废查询参数:" + JSON.stringify(params)); + // this.$axios + // .posts("/api/newjit/ZhuHuBanPackingList/get-all-del-List", params) + // .then((response) => { + // //alert(response.status); + // const index = this.list.indexOf(row); + // if (response.status === false) { + // this.$message({ + // message: response.message, + // type: "error", + // }); + // return; + // } else { + // this.fileQuery.dataname = JSON.stringify(response); + // response.forEach((itemsss) => { + // myalertcount.push(itemsss.billNum); + // }); + // console.log( + // "门板-调用Handlers/Handler1.ashx?report=menban传的值:" + + // JSON.stringify(this.fileQuery.dataname) + // ); + // this.$confirm( + // "是否作废选中的" + response.length + "条记录?", + // "提示", + // { + // confirmButtonText: "确定", + // cancelButtonText: "取消", + // type: "warning", + // } + // ) + // .then(() => { + // this.$axios + // .posts("/api/newjit/ZhuHuBanPackingList/scrap", params) + // .then((response) => { + // const index = this.list.indexOf(row); + // this.$notify({ + // title: "成功", + // message: "作废成功", + // type: "success", + // duration: 2000, + // }); + // this.getList(); + // }); + // }) + // .catch(() => { + // this.$message({ + // type: "info", + // message: "已取消操作", + // }); + // }); + // } + // }) + // .catch(() => {}); + // }, fetchData(id) { //循环动态 this.$axios From 519e09ba204f51a258cf0e717ee0e70a61c4f60f Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Fri, 24 Dec 2021 16:08:25 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue | 2 ++ vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue index 9d67cedc..ecdff526 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue @@ -295,6 +295,8 @@ export default { return { crmType: "M100Online-MB", dialogTableVisible: false, + zflist: null, + zuofei: [], getRowKeys: (row) => { return row.id; //这里看这一行中需要根据哪个属性值是id }, diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue index b9c1b721..6d80af76 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue @@ -296,6 +296,7 @@ export default { return { crmType: "M100Online-MB", dialogTableVisible :false, + zflist:null, getRowKeys: (row) => { return row.id; //这里看这一行中需要根据哪个属性值是id }, From 3a867f0a39f160f094fead2f2e062ae704072c51 Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Fri, 24 Dec 2021 16:32:14 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/pg-fis/basedate/select/index.vue | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/vue/src/views/pg-fis/basedate/select/index.vue b/vue/src/views/pg-fis/basedate/select/index.vue index ab0dd54d..eb065065 100644 --- a/vue/src/views/pg-fis/basedate/select/index.vue +++ b/vue/src/views/pg-fis/basedate/select/index.vue @@ -9,6 +9,40 @@ v-show="showSearch" :inline="true" > + + + + + + + + + + Date: Sat, 25 Dec 2021 08:05:50 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pg-fis/basedate/m100Online/ScrapMB.vue | 5 ++- .../pg-fis/basedate/m100Online/ScrapZHB.vue | 34 +++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue index ecdff526..d300b26a 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue @@ -297,7 +297,10 @@ export default { dialogTableVisible: false, zflist: null, zuofei: [], - getRowKeys: (row) => { + getRowKeys: + + + (row) => { return row.id; //这里看这一行中需要根据哪个属性值是id }, expands: [], //只展开一行放入当前行id diff --git a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue index 6d80af76..4256dae6 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue @@ -201,7 +201,11 @@
- + @@ -395,6 +403,7 @@ { + let id = element.id; + params.push(id); + }); + myalert = "选中项"; + } + this.$confirm("是否确认" + myalert + "?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) + .then(() => { + this.$axios + .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .then((response) => { + const index = this.list.indexOf(row); + this.$notify({ + title: "成功", + message: "生成成功", + type: "success", + duration: 2000, + }); + this.getList(); + }); + }) + .catch(() => { + this.$message({ + type: "info", + message: "已取消操作", + }); + }); }, //出库单 handleCreateBills(row){ @@ -1417,7 +1474,6 @@ export default { }; - + \ No newline at end of file diff --git a/vue/src/views/ux/billManage/kanBanWithCode/index.vue b/vue/src/views/ux/billManage/kanBanWithCode/index.vue index 6a7beffe..8dc9769f 100644 --- a/vue/src/views/ux/billManage/kanBanWithCode/index.vue +++ b/vue/src/views/ux/billManage/kanBanWithCode/index.vue @@ -35,6 +35,14 @@ @click="handleCreateBills()" >生成出库单(支持批量) + 已确认
@@ -756,11 +764,11 @@ export default { // prop: "actionName", // width: 120, // }); - // tempsTabs.push({ - // label: "状态", - // prop: "stateName", - // width: 100, - // }); + tempsTabs.push({ + label: "状态", + prop: "FileName", + width: 100, + }); return tempsTabs; }, }, @@ -817,6 +825,54 @@ export default { }); }); }, + handleConfirm(row){ + if (this.multipleSelection.length == 0) { + this.$message({ + message: "至少选择一行!", + type: "warning", + }); + return; + } + var params = []; + let myalert = ""; //声明变量,其变量必须在此声明后使用 + if (row) { + //单行 + params.push(row.id); + myalert = row.name; + } else { + //多选 + this.multipleSelection.forEach((element) => { + let id = element.id; + params.push(id); + }); + myalert = "选中项"; + } + this.$confirm("是否确认" + myalert + "?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) + .then(() => { + this.$axios + .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .then((response) => { + const index = this.list.indexOf(row); + this.$notify({ + title: "成功", + message: "生成成功", + type: "success", + duration: 2000, + }); + this.getList(); + }); + }) + .catch(() => { + this.$message({ + type: "info", + message: "已取消操作", + }); + }); + }, //出库单 handleCreateBills(row) { if (this.multipleSelection.length == 0) { diff --git a/vue/src/views/ux/billManage/sparePart/index.vue b/vue/src/views/ux/billManage/sparePart/index.vue index 1a31c7d0..3b02f892 100644 --- a/vue/src/views/ux/billManage/sparePart/index.vue +++ b/vue/src/views/ux/billManage/sparePart/index.vue @@ -35,6 +35,14 @@ @click="handleCreateBills()" >生成出库单(支持批量) + 已确认 @@ -743,11 +751,11 @@ export default { // prop: "actionName", // width: 120, // }); - // tempsTabs.push({ - // label: "状态", - // prop: "stateName", - // width: 100, - // }); + tempsTabs.push({ + label: "状态", + prop: "FileName", + width: 100, + }); return tempsTabs; }, }, @@ -804,6 +812,54 @@ export default { }); }); }, + handleConfirm(row){ + if (this.multipleSelection.length == 0) { + this.$message({ + message: "至少选择一行!", + type: "warning", + }); + return; + } + var params = []; + let myalert = ""; //声明变量,其变量必须在此声明后使用 + if (row) { + //单行 + params.push(row.id); + myalert = row.name; + } else { + //多选 + this.multipleSelection.forEach((element) => { + let id = element.id; + params.push(id); + }); + myalert = "选中项"; + } + this.$confirm("是否确认" + myalert + "?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) + .then(() => { + this.$axios + .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .then((response) => { + const index = this.list.indexOf(row); + this.$notify({ + title: "成功", + message: "生成成功", + type: "success", + duration: 2000, + }); + this.getList(); + }); + }) + .catch(() => { + this.$message({ + type: "info", + message: "已取消操作", + }); + }); + }, //出库单 handleCreateBills(row) { if (this.multipleSelection.length == 0) { From baf6557cdbf1fc9b49674ea33c427620cde4e88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Tue, 28 Dec 2021 15:40:28 +0800 Subject: [PATCH 09/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettledDetailDiff/index.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 0ee755bf..2edd2e49 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -905,13 +905,13 @@ export default { this.multipleSelection = val; }, handleConfirm(row){ - if (this.multipleSelection.length == 0) { - this.$message({ - message: "至少选择一行!", - type: "warning", - }); - return; - } + // if (this.multipleSelection.length == 0) { + // this.$message({ + // message: "至少选择一行!", + // type: "warning", + // }); + // return; + // } var params = []; let myalert = ""; //声明变量,其变量必须在此声明后使用 if (row) { @@ -933,7 +933,7 @@ export default { }) .then(() => { this.$axios - .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -982,7 +982,7 @@ export default { }) .then(() => { this.$axios - .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -991,6 +991,7 @@ export default { type: "success", duration: 2000, }); + console.log(response); this.getList(); }); }) From 5039c4b9f867d97cec3bdbc902bcd52efc5f3a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Tue, 28 Dec 2021 16:27:07 +0800 Subject: [PATCH 10/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettledDetailDiff/index.vue | 18 ++++++++++-------- .../ux/billManage/kanBanWithCode/index.vue | 6 +++--- .../views/ux/billManage/sparePart/index.vue | 8 ++++---- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 2edd2e49..96cac314 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -954,13 +954,13 @@ export default { }, //出库单 handleCreateBills(row){ - if (this.multipleSelection.length == 0) { - this.$message({ - message: "至少选择一行!", - type: "warning", - }); - return; - } + // if (this.multipleSelection.length == 0) { + // this.$message({ + // message: "至少选择一行!", + // type: "warning", + // }); + // return; + // } var params = []; let myalert = ""; //声明变量,其变量必须在此声明后使用 if (row) { @@ -984,6 +984,7 @@ export default { this.$axios .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) .then((response) => { + console.log("检查柱护板-hostCheckQuery"+JSON.stringify(response)); const index = this.list.indexOf(row); this.$notify({ title: "成功", @@ -991,11 +992,12 @@ export default { type: "success", duration: 2000, }); - console.log(response); + this.getList(); }); }) .catch(() => { + this.$message({ type: "info", message: "已取消操作", diff --git a/vue/src/views/ux/billManage/kanBanWithCode/index.vue b/vue/src/views/ux/billManage/kanBanWithCode/index.vue index 8dc9769f..cb33fdaa 100644 --- a/vue/src/views/ux/billManage/kanBanWithCode/index.vue +++ b/vue/src/views/ux/billManage/kanBanWithCode/index.vue @@ -737,7 +737,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 120, }); tempsTabs.push({ label: "模块名称", @@ -766,8 +766,8 @@ export default { // }); tempsTabs.push({ label: "状态", - prop: "FileName", - width: 100, + prop: "fileName", + width: 150, }); return tempsTabs; }, diff --git a/vue/src/views/ux/billManage/sparePart/index.vue b/vue/src/views/ux/billManage/sparePart/index.vue index 3b02f892..aa7f6e55 100644 --- a/vue/src/views/ux/billManage/sparePart/index.vue +++ b/vue/src/views/ux/billManage/sparePart/index.vue @@ -719,7 +719,7 @@ export default { tempsTabs.push({ label: "版本号", prop: "type", - width: 85, + width: 120, }); tempsTabs.push({ label: "单据流水号", @@ -753,8 +753,8 @@ export default { // }); tempsTabs.push({ label: "状态", - prop: "FileName", - width: 100, + prop: "fileName", + width: 150, }); return tempsTabs; }, @@ -841,7 +841,7 @@ export default { }) .then(() => { this.$axios - .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .posts("/api/settleaccounWmsJitOutPutt/wms/", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ From 7ac41906675bb376b72e39fa380f66feedfc3451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Tue, 28 Dec 2021 16:38:40 +0800 Subject: [PATCH 11/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20getlist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue | 2 +- vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue | 2 +- .../views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue | 2 +- vue/src/views/ux/billManage/UnSettleDiffExport/index.vue | 2 +- vue/src/views/ux/billManage/kanBanWithCode/index.vue | 2 +- vue/src/views/ux/billManage/sparePart/index.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 96cac314..6f9fc50d 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -1424,7 +1424,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众发票与结算核对明细表"; + this.listQuery.name = "准时化结算核对明细"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue index e18bd5e6..0d9c579d 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue @@ -989,7 +989,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众发票与结算核对汇总表"; + this.listQuery.name = "发票与结算核对汇总"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue index 2c70c9ac..cd71ff50 100644 --- a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue @@ -1177,7 +1177,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众准时化结算数量差异比对表"; + this.listQuery.name = "准时化量差输出"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue index a6339174..dcc93423 100644 --- a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue +++ b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue @@ -1121,7 +1121,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众准时化未结差异比对表"; + this.listQuery.name = "准时化未结差异比对输出"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/kanBanWithCode/index.vue b/vue/src/views/ux/billManage/kanBanWithCode/index.vue index cb33fdaa..f7a365ec 100644 --- a/vue/src/views/ux/billManage/kanBanWithCode/index.vue +++ b/vue/src/views/ux/billManage/kanBanWithCode/index.vue @@ -1209,7 +1209,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众看板结算与交货核对明细表"; + this.listQuery.name = "看板结算数量差异输出"; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) .then((response) => { diff --git a/vue/src/views/ux/billManage/sparePart/index.vue b/vue/src/views/ux/billManage/sparePart/index.vue index aa7f6e55..5149bd7e 100644 --- a/vue/src/views/ux/billManage/sparePart/index.vue +++ b/vue/src/views/ux/billManage/sparePart/index.vue @@ -1210,7 +1210,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众准时化结算门板价格差异比对报表"; + this.listQuery.name = "备件结算数量差异输出"; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) .then((response) => { From e8f19f469ca1fdca697e5facee25af36bde52f01 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Tue, 28 Dec 2021 17:16:05 +0800 Subject: [PATCH 12/13] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettledDetailDiff/index.vue | 51 +++++++++++-------- .../views/ux/billManage/vwOutOrder/detail.vue | 20 +++----- .../views/ux/billManage/vwOutOrder/index.vue | 4 +- vue/static/tableFieldForSearch.json | 4 +- 4 files changed, 42 insertions(+), 37 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 2edd2e49..ff79ffe8 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -35,7 +35,7 @@ @click="handleCreateBills()" >生成出库单(支持批量) - - { this.$axios - .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) + .posts("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ title: "成功", - message: "生成成功", + message: "操作成功", type: "success", duration: 2000, }); @@ -953,7 +957,7 @@ export default { }); }, //出库单 - handleCreateBills(row){ + handleCreateBills(row) { if (this.multipleSelection.length == 0) { this.$message({ message: "至少选择一行!", @@ -975,14 +979,21 @@ export default { }); myalert = "选中项"; } + this.listBillQuery.guids = params; + this.listBillQuery.version = this.JobversionValue; + console.log("出库单条件:" + JSON.stringify(this.listBillQuery)); this.$confirm("是否确认出库" + myalert + "?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", }) .then(() => { + alert(this.JobversionValue); this.$axios - .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) + .posts( + "/api/settleaccount/wmsjitoutput/WmsJitOutPut", + this.listBillQuery + ) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -991,7 +1002,7 @@ export default { type: "success", duration: 2000, }); - console.log(response); + console.log(response); this.getList(); }); }) @@ -1422,7 +1433,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众发票与结算核对明细表"; + this.listQuery.name = "准时化结算核对明细"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index 41322532..f64c24b9 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -152,13 +152,14 @@ export default { Filters: [ { logic: 0, - column: "", + column: "Enabled", action: 0, - value: "", + value: "true", }, //默认查询可用的 ], SkipCount: 0, - MaxResultCount: 15 + MaxResultCount: 15, + billNum: "", }, listOutPutQuery: { version: "", @@ -170,7 +171,7 @@ export default { formTitle: "", drawer: false, showExcelImport: false, - tableHeight: document.documentElement.clientHeight - 260, + tableHeight: document.documentElement.clientHeight - 210, isEdit: false, }; }, @@ -218,6 +219,7 @@ export default { tempsTabs.push({ label: "零件描述", prop: "materialDesc", width: 250 }); tempsTabs.push({ label: "物料组", prop: "materialGroup", width: 220 }); tempsTabs.push({ label: "数量", prop: "wmsBillNum", width: 100 }); + tempsTabs.push({ label: "状态", prop: "state", width: 100 }); return tempsTabs; }, }, @@ -400,15 +402,7 @@ export default { } else { this.listQuery.SkipCount = (this.page - 1) * 15; } - this.listQuery.Filters = []; - let filter = { - logic: 0, - column: "billNum", - action: 0, - value: this.customerInfo.parentId, - }; - this.listQuery.Filters.push(filter); - //this.listQuery.ParentId = this.customerInfo.parentId; + this.listQuery.billNum = this.customerInfo.parentId; console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/vwOutOrder/index.vue b/vue/src/views/ux/billManage/vwOutOrder/index.vue index cd7f23ba..ab32ba22 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/index.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/index.vue @@ -234,8 +234,8 @@ export default { } return moment(date).format("YYYY-MM-DD HH:mm:ss"); } - if (column.property == "documentStatus") { - return { 0: "新建", 1: "进行中", 5: "完成", 9: "取消" }[ + if (column.property == "state") { + return { 0: "已提交", 1: "已出库", 2: "不能出库" }[ row[column.property] ]; } diff --git a/vue/static/tableFieldForSearch.json b/vue/static/tableFieldForSearch.json index f86d9b2e..31f598ab 100644 --- a/vue/static/tableFieldForSearch.json +++ b/vue/static/tableFieldForSearch.json @@ -2910,11 +2910,11 @@ { "fieldId": 3, "formType": "text", - "name": "单据号", + "name": "零件号", "type": 1, "value": "", "fieldType": 1, - "fieldName": "wmsBillNum", + "fieldName": "materialCode", "setting": [] }, { From 6a06a50adcfef7e98f18c4c9f8a36aef103fe9f2 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Wed, 29 Dec 2021 17:14:52 +0800 Subject: [PATCH 13/13] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=89=A9=E6=96=99?= =?UTF-8?q?=E7=BB=84=E6=9B=B4=E6=94=B9=EF=BC=8C=E5=85=88=E5=89=8D=E4=BA=A4?= =?UTF-8?q?=E7=BB=99=E5=AE=9E=E4=B9=A0=E7=94=9F=E5=81=9A=E7=9A=84=E6=9C=89?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E8=87=AA=E5=B7=B1=E5=8F=88=E6=94=B9?= =?UTF-8?q?=E4=B8=80=E9=81=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/modules/vw_menu.js | 36 ++-- .../ux/billManage/FisUnSettledDiff/index.vue | 2 +- .../InvoiceSettledDetailDiff/index.vue | 110 ++++++++-- .../billManage/InvoiceSettledDiff/index.vue | 2 +- .../ux/billManage/IssuedUnsettled/index.vue | 2 +- .../ux/billManage/SettleDoorPanel/index.vue | 2 +- .../UnInvoiceSettledDetailDiff/index.vue | 14 +- .../billManage/UnSettleDiffExport/index.vue | 14 +- .../ux/billManage/UnSettledDiff/index.vue | 2 +- .../ux/billManage/kanBanWithCode/index.vue | 33 ++- .../views/ux/billManage/sparePart/index.vue | 188 ++++++++++------ .../views/ux/billManage/vwOutOrder/detail.vue | 200 ++++++++++++------ .../views/ux/billManage/vwOutOrder/index.vue | 5 +- vue/static/tableFieldForSearch.json | 18 ++ 14 files changed, 441 insertions(+), 187 deletions(-) diff --git a/vue/src/router/modules/vw_menu.js b/vue/src/router/modules/vw_menu.js index 2ec6da00..5d8e00ed 100644 --- a/vue/src/router/modules/vw_menu.js +++ b/vue/src/router/modules/vw_menu.js @@ -41,7 +41,7 @@ const vwMenudataRouter = { meta: { title: 'FIS结算明细', roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) - icon: '结算' + icon: '库存' } }, { @@ -59,9 +59,9 @@ const vwMenudataRouter = { component: () => import('@/views/ux/vw/dataInput/vwKanBan/index'), name: 'VWKanBan',//命名路由 meta: { - title: '大众看板结算明细', + title: '大众看板结算导入', roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) - icon: '发运' + icon: '看板' } }, { @@ -69,9 +69,9 @@ const vwMenudataRouter = { component: () => import('@/views/ux/vw/dataInput/SparePart'), name: 'SparePart',//命名路由 meta: { - title: '大众备件结算明细导入', + title: '大众备件结算导入', roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) - icon: '结算' + icon: '工厂' } }, { @@ -104,7 +104,7 @@ const vwMenudataRouter = { meta: { title: '发票与结算核对汇总', roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) - icon: '结算对比' + icon: '结算' } }, { @@ -122,7 +122,7 @@ const vwMenudataRouter = { component: () => import('@/views/ux/billManage/UnInvoiceSettledDetailDiff'), name: 'UnInvoiceSettledDetailDiff',//命名路由 meta: { - title: '准时化量差输出', + title: '准时化量差价差输出', roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) icon: '售后' } @@ -132,19 +132,29 @@ const vwMenudataRouter = { component: () => import('@/views/ux/billManage/UnSettleDiffExport'), name: 'UnSettleDiffExport',//命名路由 meta: { - title: '准时化未结差异比对输出', + title: '准时化未结核对', roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) - icon: '售后' + icon: '器具' } }, + { + path: '/unsettled-detail',//大众准时化未结明细表(包含漏结,漏结要有标识) + component: () => import('@/views/ux/billManage/IssuedUnsettled/index'), + name: 'UnsettledDetail',//命名路由 + meta: { + title: '准时化未结明细', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '报表' + } + }, { path: '/kbwithcode', component: () => import('@/views/ux/billManage/kanBanWithCode'), name: 'KanBanWithCode',//命名路由 meta: { - title: '看板结算数量差异输出', + title: '看板结算输出', //roles: ['SettleAccount.EstimatedStockDiffReports'],//控制页面角色(可以设置多个角色) - icon: '对比' + icon: '看板' } }, @@ -153,9 +163,9 @@ const vwMenudataRouter = { component: () => import('@/views/ux/billManage/sparePart'), name: 'SparePartReport',//命名路由 meta: { - title: '备件结算数量差异输出', + title: '备件结算输出', //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色) - icon: '二配' + icon: '供货' } } ] diff --git a/vue/src/views/ux/billManage/FisUnSettledDiff/index.vue b/vue/src/views/ux/billManage/FisUnSettledDiff/index.vue index cb67d913..d37088e2 100644 --- a/vue/src/views/ux/billManage/FisUnSettledDiff/index.vue +++ b/vue/src/views/ux/billManage/FisUnSettledDiff/index.vue @@ -512,7 +512,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 80, + width: 130, }); tempsTabs.push({ label: "当前版本", diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index c40a4b55..0541e6fd 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -63,7 +63,7 @@ 说明:每间隔15秒进行自动刷新!说明:每间隔30秒进行自动刷新! @@ -83,6 +83,7 @@ border highlight-current-row style="width: 100%" + @sort-change="sortChange" @row-click="handleRowClick" @selection-change="handleSelectionChange" @filter-change="filterChange" @@ -402,11 +403,34 @@ + + {{ item.label }} + {{ + item.value + }} + + + @@ -534,28 +558,25 @@ - + - - - - + - + - - - + { clearInterval(timer); @@ -897,7 +916,7 @@ export default { width: 220, }); tempsTabs.push({ - label: "状态", + label: "审批状态", prop: "fileName", width: 150, }); @@ -905,6 +924,33 @@ export default { }, }, methods: { + sortChange(data) { + const { prop, order } = data; + if (!prop || !order) { + this.handleFilter(); + return; + } + this.listQuery.Sorting = prop + " " + order; + console.log(this.listQuery.Sorting); + this.handleFilter(); + }, + /** 筛选操作 */ + handleFilter() { + this.page = 1; + this.getList(); + this.listQuery.Filters = []; + if (this.searchContent != "") { + var column = "taskId"; + let filter = { + logic: 0, + column: column, + action: 0, + value: this.searchContent, + }; + this.listQuery.Filters.push(filter); + } + this.getList(); + }, handleSelectionChange(val) { this.multipleSelection = val; }, @@ -988,14 +1034,15 @@ export default { type: "warning", }) .then(() => { - alert(this.JobversionValue); this.$axios .posts( "/api/settleaccount/wmsjitoutput/WmsJitOutPut", this.listBillQuery ) .then((response) => { - console.log("检查柱护板-hostCheckQuery"+JSON.stringify(response)); + console.log( + "检查柱护板-hostCheckQuery" + JSON.stringify(response) + ); const index = this.list.indexOf(row); this.$notify({ title: "成功", @@ -1003,12 +1050,11 @@ export default { type: "success", duration: 2000, }); - + this.getList(); }); }) .catch(() => { - this.$message({ type: "info", message: "已取消操作", @@ -1206,12 +1252,34 @@ export default { }); }, //获取物料组车型 + // getMaterialGroup() { + // this.$axios + // .posts("/api/settleaccount/CodeSetting/list", { + // project: "物料组", + // maxResultCount: 1000, + // skipCount: 0, + // }) + // .then((response) => { + // this.materialGroupList = []; + // response.items.forEach((element) => { + // let options = {}; + // options.value = element.description; + // options.label = element.value; + // this.materialGroupList.push(options); + // }); + // }) + // .catch(() => { + // this.listLoading = false; + // }); + // }, + //获取物料组车型 getMaterialGroup() { this.$axios .posts("/api/settleaccount/CodeSetting/list", { project: "物料组", maxResultCount: 1000, skipCount: 0, + sorting:"value ascending" }) .then((response) => { this.materialGroupList = []; diff --git a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue index 0d9c579d..53b6a364 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue @@ -626,7 +626,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", diff --git a/vue/src/views/ux/billManage/IssuedUnsettled/index.vue b/vue/src/views/ux/billManage/IssuedUnsettled/index.vue index fe737698..6e6ac6a8 100644 --- a/vue/src/views/ux/billManage/IssuedUnsettled/index.vue +++ b/vue/src/views/ux/billManage/IssuedUnsettled/index.vue @@ -730,7 +730,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", diff --git a/vue/src/views/ux/billManage/SettleDoorPanel/index.vue b/vue/src/views/ux/billManage/SettleDoorPanel/index.vue index 2aa3f604..c810301d 100644 --- a/vue/src/views/ux/billManage/SettleDoorPanel/index.vue +++ b/vue/src/views/ux/billManage/SettleDoorPanel/index.vue @@ -772,7 +772,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", diff --git a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue index cd71ff50..068ea053 100644 --- a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue @@ -385,18 +385,21 @@ - {{ item.label }} {{ @@ -774,7 +777,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", @@ -954,6 +957,7 @@ export default { project: "物料组", maxResultCount: 1000, skipCount: 0, + sorting: "value ascending", }) .then((response) => { this.materialGroupList = []; diff --git a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue index dcc93423..bfd56ab4 100644 --- a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue +++ b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue @@ -386,18 +386,21 @@ - {{ item.label }} {{ @@ -731,7 +734,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", @@ -906,6 +909,7 @@ export default { project: "物料组", maxResultCount: 1000, skipCount: 0, + sorting: "value ascending", }) .then((response) => { this.materialGroupList = []; diff --git a/vue/src/views/ux/billManage/UnSettledDiff/index.vue b/vue/src/views/ux/billManage/UnSettledDiff/index.vue index fc2a3da1..c3602e58 100644 --- a/vue/src/views/ux/billManage/UnSettledDiff/index.vue +++ b/vue/src/views/ux/billManage/UnSettledDiff/index.vue @@ -728,7 +728,7 @@ export default { tempsTabs.push({ label: "单据流水号", prop: "taskId", - width: 85, + width: 130, }); tempsTabs.push({ label: "模块名称", diff --git a/vue/src/views/ux/billManage/kanBanWithCode/index.vue b/vue/src/views/ux/billManage/kanBanWithCode/index.vue index f7a365ec..8c051717 100644 --- a/vue/src/views/ux/billManage/kanBanWithCode/index.vue +++ b/vue/src/views/ux/billManage/kanBanWithCode/index.vue @@ -35,7 +35,7 @@ @click="handleCreateBills()" >生成出库单(支持批量) - - {{ item.label }} {{ @@ -464,25 +467,23 @@ - - - + @@ -754,18 +755,13 @@ export default { prop: "createdAt", width: 150, }); - tempsTabs.push({ + tempsTabs.push({ label: "说明", prop: "remark", width: 220, }); - // tempsTabs.push({ - // label: "操作名称", - // prop: "actionName", - // width: 120, - // }); tempsTabs.push({ - label: "状态", + label: "审批状态", prop: "fileName", width: 150, }); @@ -825,7 +821,7 @@ export default { }); }); }, - handleConfirm(row){ + handleConfirm(row) { if (this.multipleSelection.length == 0) { this.$message({ message: "至少选择一行!", @@ -1014,6 +1010,7 @@ export default { project: "物料组", maxResultCount: 1000, skipCount: 0, + sorting: "value ascending", }) .then((response) => { this.materialGroupList = []; diff --git a/vue/src/views/ux/billManage/sparePart/index.vue b/vue/src/views/ux/billManage/sparePart/index.vue index 5149bd7e..567066e5 100644 --- a/vue/src/views/ux/billManage/sparePart/index.vue +++ b/vue/src/views/ux/billManage/sparePart/index.vue @@ -35,7 +35,7 @@ @click="handleCreateBills()" >生成出库单(支持批量) - - {{ item.label }} {{ @@ -428,17 +431,30 @@ - + + + + + + + @@ -483,37 +499,60 @@ - - + + - - + + - - - + + - +