From b96cda4762b0b98da10ed191377f0c8d443c50e2 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Tue, 12 Apr 2022 19:38:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=B8=B8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/components/ImportExcel-base/index.vue | 11 +- vue/src/router/modules/hq_out_order.js | 95 -- vue/src/router/modules/vw_menu.js | 12 +- vue/src/router/modules/wms_out_order.js | 11 + .../ux/billManage/IssuedUnsettled/index.vue | 2 +- .../ux/billManage/UnSettledSum/index.vue | 2 +- .../ux/billManage/kanbanOutOrder/detail.vue | 15 +- .../billManage/kanbanWithOutOrder/detail.vue | 84 +- .../billManage/kanbanWithOutOrder/index.vue | 6 +- .../billManage/sparepartOutOrder/detail.vue | 16 +- .../billManage/sparepartOutOrder90/detail.vue | 15 +- .../views/ux/billManage/unSparePart/index.vue | 1190 +++++++++++++++++ .../views/ux/billManage/vwOutOrder/detail.vue | 13 +- .../ux/vw/dataInput/hq_h_checkout/detail.vue | 14 +- .../ux/vw/dataInput/hq_h_outorder/detail.vue | 25 +- .../ux/vw/dataInput/hq_kb_output/detail.vue | 11 + .../ux/vw/dataInput/hq_kb_output/index.vue | 2 +- .../ux/vw/dataInput/hq_y_outorder/detail.vue | 19 +- 18 files changed, 1343 insertions(+), 200 deletions(-) create mode 100644 vue/src/views/ux/billManage/unSparePart/index.vue diff --git a/vue/src/components/ImportExcel-base/index.vue b/vue/src/components/ImportExcel-base/index.vue index 68487ce1..4c9318f0 100644 --- a/vue/src/components/ImportExcel-base/index.vue +++ b/vue/src/components/ImportExcel-base/index.vue @@ -284,7 +284,11 @@ export default { return this.stepsActive == 1; }, getMoudleDisable() { - if (this.crmType == "priceList" || this.crmType == "spareparts" || this.crmType == "wmsOutputSum" ) { + if ( + this.crmType == "priceList" || + this.crmType == "spareparts" || + this.crmType == "wmsOutputSum" + ) { //只状态可用 this.isEditYearMont = true; this.isEditFactory = true; @@ -312,6 +316,7 @@ export default { sparepartoutorder: "大众备件无单号出库单", sparepartoutorder90: "大众备件有单号出库单", kanbanoutorder: "大众看板出库单", + kanbanwithoutorder: "大众无条码看板出库单", HQ_H_OUTORDER: "红旗批量出库单", HQ_M_OUTORDER: "红旗M平台出库单", HQ_Y_OUTORDER: "一汽轿车平台出库单", @@ -358,6 +363,8 @@ export default { hqYPlatform: "/api/settleaccount/BT_Carlatform/ExcelImport", //一汽轿车平台导入 vwoutorder: "/api/settleaccount/wmsjitoutput/ExcelImport", //准时化出库单导入 kanbanoutorder: "/api/settleaccount/wmskanbanoutput/ExcelImport", //大众看板出库单导入 + kanbanwithoutorder: + "/api/settleaccount/wmskanbanoutputextend/ExcelImportWithOutKanban", //大众看板无单号出库单导入 HQ_H_OUTORDER: "/api/settleaccount/WmsHQHKanbanoutput/ExcelImport", //红旗H平台出库单导入 HQ_F_OUTORDER: "/api/settleaccount/WMSHQFKanbanoutput/ExcelImport", //红旗F平台出库单导入 @@ -401,7 +408,7 @@ export default { "/api/settleaccount/WmsOneTimeSaleOutput/ExcelImport", //红旗数据调整导入 wmsOutputSum: "/api/settleaccount/WmsOneTimeSaleOutput/ExcelImport", //WMS未结出库单 unHQSettle: "/api/settleaccount/UnHQSettle/ExcelImport", //红旗未结明细 - + //HQ_Y_CHECKOUT: "/api/settleaccount//ExcelImport", //一汽轿车平台备件出库单导入 }[this.crmType] || "" ); diff --git a/vue/src/router/modules/hq_out_order.js b/vue/src/router/modules/hq_out_order.js index b9b124b6..8f99582b 100644 --- a/vue/src/router/modules/hq_out_order.js +++ b/vue/src/router/modules/hq_out_order.js @@ -37,46 +37,6 @@ const hqOutOrderDataRouter = { icon: '结算' } }, - // { - // path: 'hq-m-outorder', - // component: () => import('@/views/ux/vw/dataInput/hq_m_outorder'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: 'M平台出库单', - // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - // icon: '零件' - // } - // }, - // { - // path: 'hq-m-checkout', - // component: () => import('@/views/ux/vw/dataInput/hq_m_checkout'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: 'M平台备件出库单', - // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - // icon: '客户' - // } - // }, - // { - // path: 'hq-f-outorder', - // component: () => import('@/views/ux/vw/dataInput/hq_f_outorder'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: 'F平台出库单', - // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - // icon: '批量' - // } - // }, - // { - // path: 'hq-f-outorder-chickout', - // component: () => import('@/views/ux/vw/dataInput/hq_f_outorder_chickout'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: 'F平台备件出库单', - // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - // icon: '器具' - // } - // }, { path: 'hq-y-outorder', component: () => import('@/views/ux/vw/dataInput/hq_y_outorder'), @@ -98,61 +58,6 @@ const hqOutOrderDataRouter = { } }, - // { - // path: 'onetime-sale-outorder', - // component: () => import('@/views/ux/vw/dataInput/OnetimeSale'), - // name: 'WmsHQKBOutput',//命名路由 - // meta: { - // title: '一次性寄售销售结算', - // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - // icon: '客户' - // } - // }, - - - - - // { - // path: 'hq-y-checkout', - // component: () => import('@/views/ux/vw/dataInput/hq_y_checkout'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: '一汽轿车平台备件出库单', - // roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) - // icon: '结算' - // } - // }, - // { - // path: 'hq-m-outorder', - // component: () => import('@/views/ux/billManage/kanbanOutOrder/index'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: '大众看板出库单', - // roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) - // icon: '结算' - // } - // }, - // { - // path: 'hq-f-withoutorder', - // component: () => import('@/views/ux/billManage/kanbanWithOutOrder/index'), - // name: 'SettleAccount',//命名路由 - // meta: { - // title: '大众无条码看板出库单', - // roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) - // icon: '结算' - // } - // }, - // { - // path: 'hq-car-outorder', - // component: () => import('@/views/ux/billManage/sparepartOutOrder/index'), - // name: 'Invoices',//命名路由 - // meta: { - // title: '大众备件出库单', - // roles: ['SettleAccount.Invoices'], - // icon: '对比' - // } - // }, - ] } diff --git a/vue/src/router/modules/vw_menu.js b/vue/src/router/modules/vw_menu.js index bf038578..e1ad0c75 100644 --- a/vue/src/router/modules/vw_menu.js +++ b/vue/src/router/modules/vw_menu.js @@ -207,6 +207,16 @@ const vwMenudataRouter = { icon: '供货' } }, + { + path: '/vwunsparepart', + component: () => import('@/views/ux/billManage/unSparePart'), + name: 'unSparePart',//命名路由 + meta: { + title: '大众备件未结输出', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '供货' + } + }, { path: '/vwsparepart90', component: () => import('@/views/ux/billManage/sparePart90'), @@ -227,7 +237,7 @@ const vwMenudataRouter = { icon: '看板' } } - + ] } ] diff --git a/vue/src/router/modules/wms_out_order.js b/vue/src/router/modules/wms_out_order.js index 67b7ac33..dc9a3158 100644 --- a/vue/src/router/modules/wms_out_order.js +++ b/vue/src/router/modules/wms_out_order.js @@ -80,6 +80,17 @@ const vwsOutOrderDataRouter = { } }, + // { + // path: '/wms-unSettledSum', + // component: () => import('@/views/ux/billManage/UnSettledSum'), + // name: 'UnSettledSum',//命名路由 + // meta: { + // title: '撤销出库清单', + // roles: ['SettleAccount.WMSJIT'],//控制页面角色(可以设置多个角色) + // icon: '零件' + // } + // }, + ] diff --git a/vue/src/views/ux/billManage/IssuedUnsettled/index.vue b/vue/src/views/ux/billManage/IssuedUnsettled/index.vue index 3b73da7d..5b01c101 100644 --- a/vue/src/views/ux/billManage/IssuedUnsettled/index.vue +++ b/vue/src/views/ux/billManage/IssuedUnsettled/index.vue @@ -587,7 +587,7 @@ export default { setTimeout(this.getList, 0); }, 1000 * 180); //15秒刷新一次页面 // 通过$once来监听定时器,在beforeDestroy钩子可以被清除。 - this.$once("hook:beforeDestroy", () => { + this.$once('hook:beforeDestroy', () => { clearInterval(timer); }); //this.disabledDateCp5(); diff --git a/vue/src/views/ux/billManage/UnSettledSum/index.vue b/vue/src/views/ux/billManage/UnSettledSum/index.vue index ea75f24a..10f1d90c 100644 --- a/vue/src/views/ux/billManage/UnSettledSum/index.vue +++ b/vue/src/views/ux/billManage/UnSettledSum/index.vue @@ -626,7 +626,7 @@ export default { "结算未结寄售核对表-导出条件:" + JSON.stringify(this.listExportQuery) ); this.$axios - .gets( + .posts( "/api/settleaccount/ReportMakeService/UnSettledSum-Make", this.listExportQuery ) diff --git a/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue index 2443b269..431d4428 100644 --- a/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue @@ -142,10 +142,7 @@ 取消 - 确认 @@ -241,6 +238,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", + selectJobVersionValue: "", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -364,6 +362,7 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, @@ -585,6 +584,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue b/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue index f27c9f53..18aefe40 100644 --- a/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue @@ -300,6 +300,7 @@ export default { JobversionValue: "", PurchaseDateValue: "", JobversionValueVerson: "", + selectJobVersionValue: "", dialogFormVisible: false, multipleSelection: [], outPutQtylist: { @@ -420,6 +421,7 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, @@ -465,14 +467,15 @@ export default { }, save(row) { + this.formLoading=true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { this.saveBills(row); } }, - - //撤销出库 + + //撤销出库 HandleOutPutCancel() { if (this.multipleSelection.length == 0) { this.$message({ @@ -526,11 +529,11 @@ export default { if (this.accountDatelist != "") { this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; } - console.log( + console.log( "无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) ); - this.$axios + this.$axios .posts( "/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass", this.listOutPutQuery @@ -563,7 +566,7 @@ export default { }); } }, - //取消出库单 + //取消出库单 CancelBills(row) { if (this.accountDatelist.accountDate == "") { this.$message({ @@ -616,69 +619,6 @@ export default { }); }, - - - // //出库单 - // save-00(row) { - // this.dialogFormVisible = true; - // this.resultData.errSize == 0; //重新弹窗 - // //this.formLoading = true; - // this.listOutPutQuery.guids = []; - // this.listOutPutQuery.version = this.customerInfo.version; - // this.listOutPutQuery.billNum = this.customerInfo.parentId; - // if (this.accountDatelist.accountDate == "") { - // this.$message({ - // message: "请选择日期!", - // type: "warning", - // }); - // this.getList(); - // return; - // //this.getList(); - // } else { - // if (this.accountDatelist != "") { - // this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; - // } - // //this.listOutPutQuery.accountDate = this.accountDatelist; - // console.log( - // "无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) - // ); - // this.$axios - // .posts( - // "/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass-00", - // this.listOutPutQuery - // ) - // .then((res) => { - // const index = this.list.indexOf(row); - // if (res === "Success") { - // this.$notify({ - // title: "成功", - // message: "确认成功!", - // type: "success", - // duration: 2000, - // }); - // this.accountDatelist.accountDate = ""; - // this.resultData.errSize = 0; - // this.dialogFormVisible = false; - // this.resultData.successMessage = "出库成功!"; - // this.getList(); - // } else { - // this.dialogFormVisible = false; - // this.resultData.errTemplate = res; //指定错误模板名称,作为参数,用于错误模板下载 - // this.resultData.errSize = 1; //保持大于0,用于控制错误数据下载按钮的可不可见 - // this.resultData.successMessage = "有错误检验信息!"; - // //alert(JSON.stringify(this.resultData)); - // } - // this.formLoading = false; - // }) - // .catch(() => { - // this.formLoading = false; - // }); - // } - // }, - - - - //删除出库单 handleDelete(row) { var params = []; @@ -806,6 +746,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue b/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue index 2d0df8f9..a540fd58 100644 --- a/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue +++ b/vue/src/views/ux/billManage/kanbanWithOutOrder/index.vue @@ -18,14 +18,14 @@ @click="handleFilter" >搜索 - + 取消 - 确认 @@ -272,6 +269,7 @@ export default { }, page: 1, JobversionValue: "", + selectJobVersionValue: "", PurchaseDateValue: "", JobversionValueVerson: "", dialogFormVisible: false, @@ -410,6 +408,7 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, @@ -461,6 +460,7 @@ export default { } }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -683,6 +683,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue b/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue index 74ef73a2..12a401d2 100644 --- a/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue +++ b/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue @@ -243,6 +243,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", + selectJobVersionValue: "", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -366,11 +367,13 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -423,10 +426,10 @@ export default { this.accountDatelist.accountDate = ""; this.dialogFormVisible = false; this.getList(); - this.listLoading = false; + this.formLoading = false; }) .catch(() => { - this.listLoading = false; + this.formLoading = false; }); } }, @@ -594,6 +597,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/unSparePart/index.vue b/vue/src/views/ux/billManage/unSparePart/index.vue new file mode 100644 index 00000000..21e30521 --- /dev/null +++ b/vue/src/views/ux/billManage/unSparePart/index.vue @@ -0,0 +1,1190 @@ + + + + + + + diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index 4c88b6da..f7b8e88b 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -222,7 +222,7 @@ export default { SkipCount: 0, MaxResultCount: 15, billNum: "", - state:"", + state: "", }, listOutPutQuery: { version: "", @@ -236,6 +236,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", + selectJobVersionValue: "", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -318,11 +319,13 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -684,6 +687,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue index 5df742f2..f64824c9 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue @@ -271,6 +271,7 @@ export default { }, page: 1, JobversionValue: "", + selectJobVersionValue: "", JobversionValueVerson: "", dialogFormVisible: false, multipleSelection: [], @@ -468,11 +469,13 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -677,10 +680,10 @@ export default { this.accountDatelist.accountDate = ""; this.dialogFormVisible = false; this.getList(); - this.listLoading = false; + this.formLoading = false; }) .catch(() => { - this.listLoading = false; + this.formLoading = false; }); } }, @@ -765,6 +768,13 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue b/vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue index bf53670e..7b055876 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue @@ -142,10 +142,7 @@ 取消 - 确认 @@ -238,6 +235,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", + selectJobVersionValue: "", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -373,11 +371,13 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, - save(row) { + save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -415,7 +415,7 @@ export default { }); }, - //取消出库单 + //取消出库单 CancelBills(row) { if (this.accountDatelist.accountDate == "") { this.$message({ @@ -524,7 +524,7 @@ export default { // }); // }); // }, - //确认出库单 + //确认出库单 handleCreateBills() { this.dialogFormVisible = true; if (this.$refs["accountDatelist"] !== undefined) { @@ -574,11 +574,11 @@ export default { this.accountDatelist.accountDate = ""; this.dialogFormVisible = false; this.getList(); - this.listLoading = false; + this.formLoading = false; this.dialogFormVisible = false; }) .catch(() => { - this.listLoading = false; + this.formLoading = false; }); } }, @@ -662,6 +662,13 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue b/vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue index 9eec20dd..5374a503 100644 --- a/vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue @@ -228,6 +228,7 @@ export default { { value: "3", label: "不能出库" }, { value: "4", label: "取消出库" }, ], + selectJobVersionValue: "", PurchaseDateList: [], // 高级搜索 filterObj: { @@ -399,6 +400,7 @@ export default { action: 0, value: params.value, }; + this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); this.getList(); }, @@ -449,6 +451,7 @@ export default { } }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -671,6 +674,14 @@ export default { this.listQuery.SkipCount = (this.page - 1) * 15; } this.listQuery.billNum = this.customerInfo.parentId; + + let filter = { + Column: "state", + Value: this.selectJobVersionValue, + Logic: 0, + Action: 0, + }; + this.listQuery.Filters.push(filter); console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/vw/dataInput/hq_kb_output/index.vue b/vue/src/views/ux/vw/dataInput/hq_kb_output/index.vue index 5d1b409b..cbee8fd2 100644 --- a/vue/src/views/ux/vw/dataInput/hq_kb_output/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_kb_output/index.vue @@ -1,4 +1,4 @@ - +