From b6cc9eb25e631d4de15fa1cd83c00617654bfad8 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Thu, 21 Apr 2022 18:03:29 +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 --- .../components/ImportExcel-template/index.vue | 863 ++++++++++++++++++ vue/src/router/index.js | 4 +- vue/src/router/modules/custom_menu.js | 37 + vue/src/router/modules/vw_out_order.js | 11 +- .../WMSOutputDetailCancelDiff/index.vue | 4 +- .../index_old.vue | 776 ++++++++++++++++ .../billManage/WMSOutputSumReport/index.vue | 32 +- .../ux/billManage/kanbanOutOrder/detail.vue | 3 +- .../billManage/kanbanWithOutOrder/detail.vue | 2 +- .../billManage/sparepartOutOrder/detail.vue | 2 +- .../ux/billManage/sparepartOutOrder/index.vue | 2 +- .../billManage/sparepartOutOrder90/detail.vue | 2 +- .../views/ux/billManage/vwOutOrder/detail.vue | 2 +- .../ux/billManage/wmsCusomerKanban/detail.vue | 4 +- .../ux/vw/dataInput/OnetimeSale/detail.vue | 6 +- .../ux/vw/dataInput/OnetimeSale/index.vue | 2 +- .../ux/vw/dataInput/hq_f_outorder/detail.vue | 5 +- .../hq_f_outorder_chickout/detail.vue | 5 +- .../ux/vw/dataInput/hq_h_checkout/detail.vue | 2 +- .../ux/vw/dataInput/hq_h_outorder/detail.vue | 7 +- .../ux/vw/dataInput/hq_h_outorder/index.vue | 2 +- .../ux/vw/dataInput/hq_kb_output/detail.vue | 2 +- .../ux/vw/dataInput/hq_kb_output/index.vue | 2 +- .../ux/vw/dataInput/hq_y_outorder/detail.vue | 2 +- .../views/ux/vw/dataInput/vwKanBan/index.vue | 2 +- 25 files changed, 1729 insertions(+), 52 deletions(-) create mode 100644 vue/src/components/ImportExcel-template/index.vue create mode 100644 vue/src/router/modules/custom_menu.js create mode 100644 vue/src/views/ux/billManage/WMSOutputDetailWithCodeReport/index_old.vue diff --git a/vue/src/components/ImportExcel-template/index.vue b/vue/src/components/ImportExcel-template/index.vue new file mode 100644 index 00000000..8cc30a97 --- /dev/null +++ b/vue/src/components/ImportExcel-template/index.vue @@ -0,0 +1,863 @@ + + + + \ No newline at end of file diff --git a/vue/src/router/index.js b/vue/src/router/index.js index cf4a7735..f318990a 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -24,6 +24,7 @@ import hqOutOrderDataRouter from './modules/hq_out_order' import vwsOutOrderDataRouter from './modules/wms_out_order' import onetimesaleDataRouter from './modules/onetimesale' import hqcarManagerDataRouter from './modules/hqcardata' +import customerOutOrderDataRouter from './modules/custom_menu' import pgfis from './modules/fis' import pgfisPrint from './modules/fisprint' @@ -183,7 +184,8 @@ export const asyncRoutes = [ hqMenudataRouter,//红旗 hqcarManagerDataRouter,//一汽轿车 vwOutOrderDataRouter, - hqOutOrderDataRouter, + hqOutOrderDataRouter,//红旗出库单 + customerOutOrderDataRouter,//自定义发货单 onetimesaleDataRouter,//一次性寄售销售 vwsOutOrderDataRouter,//wms相关操作 //btcarDataRouter,//一汽轿车 diff --git a/vue/src/router/modules/custom_menu.js b/vue/src/router/modules/custom_menu.js new file mode 100644 index 00000000..5a564d28 --- /dev/null +++ b/vue/src/router/modules/custom_menu.js @@ -0,0 +1,37 @@ +//大众-FIS结算-路由 +import Layout from '@/layout' + +const customerOutOrderDataRouter = { + path: '/cpat-order', + component: Layout, + redirect: 'pg', + name: '业务数据', + //hidden: true, + meta: { + //requiresAuth: true, + title: '自定义发货出库单', + index: 0, + type: 'crm', + icon: '单据导入', + roles: ['SettleAccount.WMSHQ'], + keepAlive: false, + }, + children: [ + { + path: 'wms-customer-order', + component: () => import('@/views/ux/billManage/wmsCusomerKanban/index'), + name: 'WMSCusomerKanban',//命名路由 + meta: { + title: '自定义发货出库单', + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) + icon: '批量' + } + }, + + + + ] +} + +export default customerOutOrderDataRouter + diff --git a/vue/src/router/modules/vw_out_order.js b/vue/src/router/modules/vw_out_order.js index a703553c..7a68317c 100644 --- a/vue/src/router/modules/vw_out_order.js +++ b/vue/src/router/modules/vw_out_order.js @@ -67,16 +67,7 @@ const vwOutOrderDataRouter = { icon: '文件' } }, - { - path: 'wms-customer-order', - component: () => import('@/views/ux/billManage/wmsCusomerKanban/index'), - name: 'WMSCusomerKanban',//命名路由 - meta: { - title: '自定义发货出库单', - roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) - icon: '批量' - } - }, + diff --git a/vue/src/views/ux/billManage/WMSOutputDetailCancelDiff/index.vue b/vue/src/views/ux/billManage/WMSOutputDetailCancelDiff/index.vue index 65cf884b..613ac227 100644 --- a/vue/src/views/ux/billManage/WMSOutputDetailCancelDiff/index.vue +++ b/vue/src/views/ux/billManage/WMSOutputDetailCancelDiff/index.vue @@ -85,7 +85,7 @@ @click="handleFilter" >搜索 - 继续撤销 - + --> + + + + + + + + + diff --git a/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue b/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue index 190f4f77..5301120f 100644 --- a/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue +++ b/vue/src/views/ux/billManage/WMSOutputSumReport/index.vue @@ -25,12 +25,8 @@ style="width: 200px; margin-left: 8px" > - - - + + + + - + + @@ -61,7 +66,6 @@ diff --git a/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue index 431d4428..d9781d47 100644 --- a/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue @@ -238,7 +238,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -367,6 +367,7 @@ export default { this.getList(); }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { diff --git a/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue b/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue index 18aefe40..84f7755f 100644 --- a/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue @@ -300,7 +300,7 @@ export default { JobversionValue: "", PurchaseDateValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], outPutQtylist: { diff --git a/vue/src/views/ux/billManage/sparepartOutOrder/detail.vue b/vue/src/views/ux/billManage/sparepartOutOrder/detail.vue index 22c4bc81..edc7a7de 100644 --- a/vue/src/views/ux/billManage/sparepartOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/sparepartOutOrder/detail.vue @@ -269,7 +269,7 @@ export default { }, page: 1, JobversionValue: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", PurchaseDateValue: "", JobversionValueVerson: "", dialogFormVisible: false, diff --git a/vue/src/views/ux/billManage/sparepartOutOrder/index.vue b/vue/src/views/ux/billManage/sparepartOutOrder/index.vue index 3aae6098..2e403167 100644 --- a/vue/src/views/ux/billManage/sparepartOutOrder/index.vue +++ b/vue/src/views/ux/billManage/sparepartOutOrder/index.vue @@ -151,7 +151,7 @@ import Pagination from "@/components/Pagination"; // secondary package based on import permission from "@/directive/permission/index.js"; import Detail from "./detail"; import moment from "moment"; -import importExcel from "@/components/ImportExcel-base"; +import importExcel from "@/components/ImportExcel-template"; import { formatTimeToTimestamp } from "@/utils/index"; export default { diff --git a/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue b/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue index 12a401d2..3059f1ae 100644 --- a/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue +++ b/vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue @@ -243,7 +243,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], formTitle: "", diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index f7b8e88b..faee6aaf 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -236,7 +236,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], formTitle: "", diff --git a/vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue b/vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue index 47362076..528c9df1 100644 --- a/vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue +++ b/vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue @@ -238,7 +238,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -375,9 +375,11 @@ export default { }; this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); + //this.listQuery.state = params.value; this.getList(); }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { diff --git a/vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue b/vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue index ae491cd3..615f0275 100644 --- a/vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue +++ b/vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue @@ -167,10 +167,7 @@ 取消 - 确认 @@ -449,6 +446,7 @@ export default { }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { diff --git a/vue/src/views/ux/vw/dataInput/OnetimeSale/index.vue b/vue/src/views/ux/vw/dataInput/OnetimeSale/index.vue index d6546933..c859e0a6 100644 --- a/vue/src/views/ux/vw/dataInput/OnetimeSale/index.vue +++ b/vue/src/views/ux/vw/dataInput/OnetimeSale/index.vue @@ -152,7 +152,7 @@ import Pagination from "@/components/Pagination"; // secondary package based on import permission from "@/directive/permission/index.js"; import Detail from "./detail"; import moment from "moment"; -import importExcel from "@/components/ImportExcel-base"; +import importExcel from "@/components/ImportExcel-template"; import { formatTimeToTimestamp } from "@/utils/index"; export default { diff --git a/vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue b/vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue index f8acfb54..70582093 100644 --- a/vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue @@ -371,6 +371,7 @@ export default { }, save(row) { + this.formLoading = true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -504,11 +505,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; }); } }, diff --git a/vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue b/vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue index 33ab2b1f..c9253ede 100644 --- a/vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue @@ -452,6 +452,7 @@ export default { }, save(row) { + this.formLoading=true; if (this.formTitle == "撤销出库") { this.CancelBills(row); } else if (this.formTitle == "创建出库单") { @@ -593,10 +594,10 @@ export default { this.accountDatelist.accountDate = ""; this.dialogFormVisible = false; this.getList(); - this.listLoading = false; + this.formLoading = false; }) .catch(() => { - this.listLoading = false; + this.formLoading = false; }); } }, 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 f64824c9..830c5604 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,7 +271,7 @@ export default { }, page: 1, JobversionValue: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", JobversionValueVerson: "", dialogFormVisible: false, multipleSelection: [], 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 7b055876..b4af41e1 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 @@ -235,7 +235,7 @@ export default { page: 1, JobversionValue: "", JobversionValueVerson: "", - selectJobVersionValue: "", + selectJobVersionValue: "0", dialogFormVisible: false, multipleSelection: [], formTitle: "", @@ -373,6 +373,7 @@ export default { }; this.selectJobVersionValue = params.value; this.listQuery.Filters.push(filter); + //this.listQuery.state = params.value; this.getList(); }, @@ -574,11 +575,11 @@ export default { this.accountDatelist.accountDate = ""; this.dialogFormVisible = false; this.getList(); - this.formLoading = false; + this.formLoading = false; this.dialogFormVisible = false; }) .catch(() => { - this.formLoading = false; + this.formLoading = false; }); } }, diff --git a/vue/src/views/ux/vw/dataInput/hq_h_outorder/index.vue b/vue/src/views/ux/vw/dataInput/hq_h_outorder/index.vue index 30f3f1fd..7f27e497 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_outorder/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_outorder/index.vue @@ -1,4 +1,4 @@ - +