From 7bd302d973b061d278997964b0d7172181eae0a8 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Tue, 28 Dec 2021 13:42:25 +0800 Subject: [PATCH 1/9] =?UTF-8?q?1228=E5=AE=A2=E6=88=B7=E8=A6=81=E6=B1=82?= =?UTF-8?q?=E7=9A=84=E8=8F=9C=E5=8D=95=E8=B7=AF=E7=94=B1=E7=9A=84=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E5=8F=8A=E5=87=BA=E5=BA=93=E5=8D=95=E7=AE=A1=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/components/ImportExcel-base/index.vue | 3 +- vue/src/router/index.js | 20 +- vue/src/router/modules/bt_menu.js | 44 ++ vue/src/router/modules/hq_menu.js | 125 ++++ vue/src/router/modules/vwFisData.js | 10 + vue/src/router/modules/vw_menu.js | 171 +++++ vue/src/router/modules/vw_out_order.js | 54 ++ .../pg-fis/basedate/m100Online/index.vue | 2 +- vue/src/views/ux/basedata/index.vue | 7 + .../InvoiceSettledDetailDiff/index.vue | 2 +- vue/src/views/ux/billManage/index.vue | 7 + .../ux/billManage/kanbanOutOrder/detail.vue | 541 ++++++++++++++++ .../ux/billManage/kanbanOutOrder/index.vue | 317 ++++++++++ .../views/ux/billManage/vwOutOrder/detail.vue | 540 ++++++++++++++++ .../views/ux/billManage/vwOutOrder/index.vue | 317 ++++++++++ vue/src/views/ux/vw/dataInput/hq_bt/index.vue | 594 ++++++++++++++++++ vue/src/views/ux/vw/dataInput/hq_f/index.vue | 594 ++++++++++++++++++ vue/src/views/ux/vw/dataInput/hq_h/index.vue | 4 +- vue/src/views/ux/vw/dataInput/hq_m/index.vue | 594 ++++++++++++++++++ vue/static/tableFieldForSearch.json | 155 +++++ 20 files changed, 4090 insertions(+), 11 deletions(-) create mode 100644 vue/src/router/modules/bt_menu.js create mode 100644 vue/src/router/modules/hq_menu.js create mode 100644 vue/src/router/modules/vw_menu.js create mode 100644 vue/src/router/modules/vw_out_order.js create mode 100644 vue/src/views/ux/basedata/index.vue create mode 100644 vue/src/views/ux/billManage/index.vue create mode 100644 vue/src/views/ux/billManage/kanbanOutOrder/detail.vue create mode 100644 vue/src/views/ux/billManage/kanbanOutOrder/index.vue create mode 100644 vue/src/views/ux/billManage/vwOutOrder/detail.vue create mode 100644 vue/src/views/ux/billManage/vwOutOrder/index.vue create mode 100644 vue/src/views/ux/vw/dataInput/hq_bt/index.vue create mode 100644 vue/src/views/ux/vw/dataInput/hq_f/index.vue create mode 100644 vue/src/views/ux/vw/dataInput/hq_m/index.vue diff --git a/vue/src/components/ImportExcel-base/index.vue b/vue/src/components/ImportExcel-base/index.vue index fb7631b0..f8468ed3 100644 --- a/vue/src/components/ImportExcel-base/index.vue +++ b/vue/src/components/ImportExcel-base/index.vue @@ -302,6 +302,7 @@ export default { scrapClaims: "CP7报废和索赔", sparePart: "大众备件结算明细", hqHPlatform: "红旗H平台导入", + hqMPlatform: "红旗M平台导入", bomdatabase: "产品结构BOM", prebatch: "预批量", secondaryPriceRatio: "二配结算价格比例", @@ -328,7 +329,7 @@ export default { scrapClaims: "/api/settleaccount/ScrapClaims/ExcelImport", //CP7报废和索赔导入 sparePart: "/api/settleaccount/SparePart/ExcelImport", //大众备件结算明细导入 hqHPlatform: "/api/settleaccount/HQHPlatform/ExcelImport", //红旗H平台导入 - + hqMPlatform: "/api/settleaccount/HQMPlatform/ExcelImport", //红旗M平台导入 bomdatabase: "/api/settleaccount/bom/ExcelImport", prebatch: "/api/settleaccount/Prebatch/ExcelImport", secondaryPriceRatio: diff --git a/vue/src/router/index.js b/vue/src/router/index.js index 4f0f543f..a1bc2d5a 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -16,6 +16,10 @@ import vwFisDataRouter from './modules/vwFisData' import wheeldataRouter from './modules/wheeldata' import vwNoBarcodeRouter from './modules/vwKBNoBarcodedata' import JobTimeDataRouter from './modules/jobtimedata' +import vwMenudataRouter from './modules/vw_menu' +import hqMenudataRouter from './modules/hq_menu' +import btcarDataRouter from './modules/bt_menu' +import vwOutOrderDataRouter from './modules/vw_out_order' //import newjitRouter from './modules/newjit-basedata' import pgfis from './modules/fis' import pgfisPrint from './modules/fisprint' @@ -86,8 +90,8 @@ export const constantRoutes = [ children: [ { path: 'dashboard', - component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'),//fis - //component: () => import('@/views/ux/backGroundWork'), + //component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'),//fis + component: () => import('@/views/ux/backGroundWork'), name: 'Dashboard', meta: { title: '系统首页', @@ -170,14 +174,18 @@ export const asyncRoutes = [ /** when your routing map is too long, you can split it into small modules **/ managerRouter,//系统首页 personRouter,//系统管理 - //basedataRouter,//基础数据维护 + basedataRouter,//基础数据维护 + vwMenudataRouter,//大众 + hqMenudataRouter,//红旗 + vwOutOrderDataRouter, + //btcarDataRouter,//一汽轿车 //vwFisDataRouter,//结算与开票数据导入 //billdataRouter,//销售结算与开票报表 //businessdataRouter, //wheeldataRouter,//大众看板和备件 - pgfisPrint,//排序单打印 - pgfis,//派格fis - //JobTimeDataRouter,//后台作业监控 + // pgfisPrint,//排序单打印 + // pgfis,//派格fis + JobTimeDataRouter,//后台作业监控 // 404 page must be placed at the end !!! { path: '*', redirect: '/404', hidden: true } diff --git a/vue/src/router/modules/bt_menu.js b/vue/src/router/modules/bt_menu.js new file mode 100644 index 00000000..b20b3408 --- /dev/null +++ b/vue/src/router/modules/bt_menu.js @@ -0,0 +1,44 @@ +//大众-FIS结算-路由 +import Layout from '@/layout' + +const btcarDataRouter = { + path: '/cpat', + component: Layout, + redirect: 'pg', + name: 'btcar', + //hidden: true, + meta: { + //requiresAuth: true, + title: '一轿奔腾', + index: 0, + type: 'crm', + icon: '单据导入', + keepAlive: false, + }, + children: [ + { + path: 'hq-car-platform', + component: () => import('@/views/ux/vw/dataInput/hq_bt'), + name: 'ERPEI',//命名路由 + meta: { + title: '一轿奔腾导入', + roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'hq-car-platform-export', + component: () => import('@/views/ux/vw/dataInput/hq_m'), + name: 'ERPEI',//命名路由 + meta: { + title: '一轿奔腾结算核对输出', + //roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + + ] +} + +export default btcarDataRouter + diff --git a/vue/src/router/modules/hq_menu.js b/vue/src/router/modules/hq_menu.js new file mode 100644 index 00000000..be030aad --- /dev/null +++ b/vue/src/router/modules/hq_menu.js @@ -0,0 +1,125 @@ + +import Layout from '@/layout' + +const hqMenudataRouter = { + path: '/capt-hq', + component: Layout, + redirect: 'ux/vw/dataInput/hq_h', + name: 'HQData', + meta: { + title: '红旗工厂', + icon: '红旗', + //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns', 'SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + keepAlive: false, + }, + children: [ + { + path: '/import-h-data', + name: 'import-h-data',//命名路由-二级 + component: () => import('@/views/ux/vw/dataInput/hq_h'), + redirect: 'ux/vw/dataInput/hq_h', + meta: { + title: 'H平台', + // roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + icon: '看板' + }, + children: [ + { + path: 'hq-H-platform', + component: () => import('@/views/ux/vw/dataInput/hq_h'), + name: 'ERPEI',//命名路由 + meta: { + title: '红旗H平台导入', + roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'hq-H-platform-export', + component: () => import('@/views/ux/vw/dataInput/ScrapClaims'), + name: 'ScrapClaims', + meta: { + title: 'H平台结算差异输出', + roles: ['SettleAccount.FISs'], + icon: '文件' + } + } + ] + }, + { + path: '/export-m-data', + component: () => import('@/views/ux/vw/dataInput/hq_m'), + name: 'export-m-data',//命名路由 + redirect: '/ux/vw/dataInput/hq_m', + meta: { + title: 'M平台', + //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + icon: '结算' + }, + children: [ + { + path: 'hq-M-platform', + component: () => import('@/views/ux/vw/dataInput/hq_m'), + name: 'ERPEI',//命名路由 + meta: { + title: '红旗M平台导入', + //roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + + { + path: 'hq-M-platform-export', + component: () => import('@/views/ux/billManage/sparePart'), + name: 'SparePartReport',//命名路由 + meta: { + title: 'H平台结算差异输出', + //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色) + icon: '二配' + } + } + ] + }, + { + path: '/export-f-data', + component: () => import('@/views/ux/vw/dataInput/hq_f'), + name: 'export-f-data',//命名路由 + redirect: '/ux/vw/dataInput/hq_f', + meta: { + title: 'F平台', + //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + icon: '结算' + }, + children: [ + { + path: 'hq-F-platform', + component: () => import('@/views/ux/vw/dataInput/hq_f'), + name: 'ERPEI',//命名路由 + meta: { + title: '红旗F平台导入', + //roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + + { + path: 'hq-F-platform-export', + component: () => import('@/views/ux/billManage/sparePart'), + name: 'SparePartReport',//命名路由 + meta: { + title: 'F平台结算差异输出', + //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色) + icon: '二配' + } + } + ] + } + ] +} + +export default hqMenudataRouter + + + + + diff --git a/vue/src/router/modules/vwFisData.js b/vue/src/router/modules/vwFisData.js index 6b4da0d5..e52fc1d1 100644 --- a/vue/src/router/modules/vwFisData.js +++ b/vue/src/router/modules/vwFisData.js @@ -88,6 +88,16 @@ const vwFisDataRouter = { icon: '结算' } }, + { + path: 'hq-M-platform', + component: () => import('@/views/ux/vw/dataInput/hq_m'), + name: 'ERPEI',//命名路由 + meta: { + title: '红旗M平台导入', + //roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, ] } diff --git a/vue/src/router/modules/vw_menu.js b/vue/src/router/modules/vw_menu.js new file mode 100644 index 00000000..2ec6da00 --- /dev/null +++ b/vue/src/router/modules/vw_menu.js @@ -0,0 +1,171 @@ + +import Layout from '@/layout' + +const vwMenudataRouter = { + path: '/capt-vw', + component: Layout, + redirect: 'ux/basedata/Invoice/index', + name: 'HQData', + meta: { + title: '大众工厂', + icon: 'vw', + //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns', 'SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + keepAlive: false, + }, + children: [ + { + path: '/import-data', + name: 'import-data',//命名路由-二级 + component: () => import('@/views/ux/billManage/index'), + redirect: 'ux/basedata/Invoice/index', + meta: { + title: '数据导入', + // roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + icon: '看板' + }, + children: [ + { + path: 'invoice', + component: () => import('@/views/ux/basedata/Invoice/index'), + name: 'Invoices', + meta: { + title: '发票汇总', + roles: ['SettleAccount.Invoices'], + icon: '对比' + } + }, + { + path: 'settle-account-finish', + component: () => import('@/views/ux/vw/dataInput/r3'), + name: 'SettleAccount', + meta: { + title: 'FIS结算明细', + roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'unsettle-account', + component: () => import('@/views/ux/vw/dataInput/r3'), + name: 'SettleAccount', + meta: { + title: 'FIS未结明细', + roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'kan-ban', + component: () => import('@/views/ux/vw/dataInput/vwKanBan/index'), + name: 'VWKanBan',//命名路由 + meta: { + title: '大众看板结算明细', + roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + icon: '发运' + } + }, + { + path: 'spare-part', + component: () => import('@/views/ux/vw/dataInput/SparePart'), + name: 'SparePart',//命名路由 + meta: { + title: '大众备件结算明细导入', + roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'scrap-claims', + component: () => import('@/views/ux/vw/dataInput/ScrapClaims'), + name: 'ScrapClaims', + meta: { + title: 'CP7报废和索赔导入', + roles: ['SettleAccount.FISs'], + icon: '文件' + } + }, + ] + }, + { + path: '/export-data', + component: () => import('@/views/ux/billManage/index'), + name: 'export-data',//命名路由 + redirect: 'export-data', + meta: { + title: '数据输出', + //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + icon: '结算' + }, + children: [ + { + path: '/invoice-settled/diff', + component: () => import('@/views/ux/billManage/InvoiceSettledDiff'), + name: 'InvoiceSettledDiff',//命名路由 + meta: { + title: '发票与结算核对汇总', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '结算对比' + } + }, + { + path: '/invoice-settled/detaildiff', + component: () => import('@/views/ux/billManage/InvoiceSettledDetailDiff'), + name: 'InvoiceSettledDetailDiff',//命名路由 + meta: { + title: '准时化结算核对明细', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '结算对比' + } + }, + { + path: '/unInvoice-settled/detailDiff', + component: () => import('@/views/ux/billManage/UnInvoiceSettledDetailDiff'), + name: 'UnInvoiceSettledDetailDiff',//命名路由 + meta: { + title: '准时化量差输出', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '售后' + } + }, + { + path: '/unsettle-diff/export', + component: () => import('@/views/ux/billManage/UnSettleDiffExport'), + name: 'UnSettleDiffExport',//命名路由 + meta: { + title: '准时化未结差异比对输出', + roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + icon: '售后' + } + }, + { + path: '/kbwithcode', + component: () => import('@/views/ux/billManage/kanBanWithCode'), + name: 'KanBanWithCode',//命名路由 + meta: { + title: '看板结算数量差异输出', + //roles: ['SettleAccount.EstimatedStockDiffReports'],//控制页面角色(可以设置多个角色) + icon: '对比' + } + }, + + { + path: '/vwsparepart', + component: () => import('@/views/ux/billManage/sparePart'), + name: 'SparePartReport',//命名路由 + meta: { + title: '备件结算数量差异输出', + //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色) + icon: '二配' + } + } + ] + } + ] +} + +export default vwMenudataRouter + + + + + diff --git a/vue/src/router/modules/vw_out_order.js b/vue/src/router/modules/vw_out_order.js new file mode 100644 index 00000000..cba355fb --- /dev/null +++ b/vue/src/router/modules/vw_out_order.js @@ -0,0 +1,54 @@ +//大众-FIS结算-路由 +import Layout from '@/layout' + +const vwOutOrderDataRouter = { + path: '/cpat-order', + component: Layout, + redirect: 'pg', + name: '业务数据', + //hidden: true, + meta: { + //requiresAuth: true, + title: '大众出库单管理', + index: 0, + type: 'crm', + icon: '单据导入', + keepAlive: false, + }, + children: [ + { + path: 'vw-out-order', + component: () => import('@/views/ux/billManage/vwOutOrder/index'), + name: 'SettleAccount',//命名路由 + meta: { + title: '大众准时化出库单', + roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + { + path: 'kanban-out-order', + component: () => import('@/views/ux/billManage/kanbanOutOrder/index'), + name: 'SettleAccount',//命名路由 + meta: { + title: '大众看板出库单', + roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + icon: '结算' + } + }, + // { + // path: 'invoice', + // component: () => import('@/views/ux/basedata/Invoice/index'), + // name: 'Invoices',//命名路由 + // meta: { + // title: '大众发票汇总导入', + // roles: ['SettleAccount.Invoices'], + // icon: '对比' + // } + // }, + + ] +} + +export default vwOutOrderDataRouter + diff --git a/vue/src/views/pg-fis/basedate/m100Online/index.vue b/vue/src/views/pg-fis/basedate/m100Online/index.vue index 41361ed5..4bc19bd0 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/index.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/index.vue @@ -857,7 +857,7 @@ export default { }, getList(data) { this.listLoading = true; - if (data != undefined) {alert() + if (data != undefined) { this.listQuery.SkipCount = (this.page - 1) * data.limit; } else { this.listQuery.SkipCount = (this.page - 1) * 15; diff --git a/vue/src/views/ux/basedata/index.vue b/vue/src/views/ux/basedata/index.vue new file mode 100644 index 00000000..509198d1 --- /dev/null +++ b/vue/src/views/ux/basedata/index.vue @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 93de70ed..7a5ed184 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -17,7 +17,7 @@ type="primary" icon="el-icon-plus" @click="handleCreate" - >统计 + >统计明细 + \ No newline at end of file diff --git a/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue new file mode 100644 index 00000000..c7fdcb9a --- /dev/null +++ b/vue/src/views/ux/billManage/kanbanOutOrder/detail.vue @@ -0,0 +1,541 @@ + + + + + + + + diff --git a/vue/src/views/ux/billManage/kanbanOutOrder/index.vue b/vue/src/views/ux/billManage/kanbanOutOrder/index.vue new file mode 100644 index 00000000..cd7f23ba --- /dev/null +++ b/vue/src/views/ux/billManage/kanbanOutOrder/index.vue @@ -0,0 +1,317 @@ + + + + + + + + diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue new file mode 100644 index 00000000..41322532 --- /dev/null +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -0,0 +1,540 @@ + + + + + + + + diff --git a/vue/src/views/ux/billManage/vwOutOrder/index.vue b/vue/src/views/ux/billManage/vwOutOrder/index.vue new file mode 100644 index 00000000..cd7f23ba --- /dev/null +++ b/vue/src/views/ux/billManage/vwOutOrder/index.vue @@ -0,0 +1,317 @@ + + + + + + + + diff --git a/vue/src/views/ux/vw/dataInput/hq_bt/index.vue b/vue/src/views/ux/vw/dataInput/hq_bt/index.vue new file mode 100644 index 00000000..e5d35866 --- /dev/null +++ b/vue/src/views/ux/vw/dataInput/hq_bt/index.vue @@ -0,0 +1,594 @@ + + + + + + + + + + diff --git a/vue/src/views/ux/vw/dataInput/hq_f/index.vue b/vue/src/views/ux/vw/dataInput/hq_f/index.vue new file mode 100644 index 00000000..e5d35866 --- /dev/null +++ b/vue/src/views/ux/vw/dataInput/hq_f/index.vue @@ -0,0 +1,594 @@ + + + + + + + + + + diff --git a/vue/src/views/ux/vw/dataInput/hq_h/index.vue b/vue/src/views/ux/vw/dataInput/hq_h/index.vue index b14ebcbe..e5d35866 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h/index.vue @@ -243,7 +243,7 @@ export default { formTitle: "", drawer: false, showExcelImport: false, - tableHeight: document.documentElement.clientHeight - 260, + tableHeight: document.documentElement.clientHeight - 220, isEdit: false, }; }, @@ -251,7 +251,7 @@ export default { var self = this; window.onresize = function () { var offsetHei = document.documentElement.clientHeight; - self.tableHeight = offsetHei - 260; + self.tableHeight = offsetHei - 220; }; }, created() { diff --git a/vue/src/views/ux/vw/dataInput/hq_m/index.vue b/vue/src/views/ux/vw/dataInput/hq_m/index.vue new file mode 100644 index 00000000..f4c47c4e --- /dev/null +++ b/vue/src/views/ux/vw/dataInput/hq_m/index.vue @@ -0,0 +1,594 @@ + + + + + + + + + + diff --git a/vue/static/tableFieldForSearch.json b/vue/static/tableFieldForSearch.json index 555b4a5d..f86d9b2e 100644 --- a/vue/static/tableFieldForSearch.json +++ b/vue/static/tableFieldForSearch.json @@ -2773,5 +2773,160 @@ "setting": [] } ] + }, + "hqHPlatform": { + "id": "36", + "data": [ + { + "fieldId": 3, + "formType": "text", + "name": "采购订单号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "purchaseOrderNo", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "物料代码", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "materialCode", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "科目号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "accountNum", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "交货单号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "deliveryOrderNo", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "工厂", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "factory", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "工厂名称", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "factoryName", + "setting": [] + } + ] + }, + "hqMPlatform": { + "id": "36", + "data": [ + { + "fieldId": 3, + "formType": "text", + "name": "采购订单号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "purchaseOrderNo", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "物料代码", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "materialCode", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "科目号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "accountNum", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "交货单号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "deliveryOrderNo", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "工厂", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "factory", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "工厂名称", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "factoryName", + "setting": [] + } + ] + }, + "vwOutOrder": { + "id": "36", + "data": [ + { + "fieldId": 3, + "formType": "text", + "name": "单据号", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "wmsBillNum", + "setting": [] + }, + { + "fieldId": 5, + "formType": "text", + "name": "物料组", + "type": 1, + "value": "", + "fieldType": 1, + "fieldName": "materialGroup", + "setting": [] + } + ] } } \ No newline at end of file From 63c00ed3c988e5e098c0f303cc7eb9528a3f3395 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 14:37:28 +0800 Subject: [PATCH 2/9] =?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 | 23 ++++++++++--------- .../billManage/InvoiceSettledDiff/index.vue | 1 - .../UnInvoiceSettledDetailDiff/index.vue | 23 ++++++++++--------- .../billManage/UnSettleDiffExport/index.vue | 23 ++++++++++--------- .../ux/billManage/kanBanWithCode/index.vue | 23 ++++++++++--------- .../views/ux/billManage/sparePart/index.vue | 20 +++++++++------- 6 files changed, 60 insertions(+), 53 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 7a5ed184..f6a08f39 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -393,23 +393,24 @@ - + :key="item.label" + :label="item.value" + :value="item.label" + > + {{ item.label }} + {{ + item.value + }} + @@ -1146,7 +1147,7 @@ export default { response.items.forEach((element) => { let options = {}; options.value = element.description; - options.label = element.description + "/" + element.value; + options.label = element.value; this.materialGroupList.push(options); }); }) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue index 736c2e9d..e18bd5e6 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDiff/index.vue @@ -379,7 +379,6 @@ - diff --git a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue index 7d837232..2c70c9ac 100644 --- a/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/UnInvoiceSettledDetailDiff/index.vue @@ -385,23 +385,24 @@ - + :key="item.label" + :label="item.value" + :value="item.label" + > + {{ item.label }} + {{ + item.value + }} + @@ -959,7 +960,7 @@ export default { response.items.forEach((element) => { let options = {}; options.value = element.description; - options.label = element.description + "/" + element.value; + options.label = element.value; this.materialGroupList.push(options); }); }) diff --git a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue index 5fa2d4c3..a6339174 100644 --- a/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue +++ b/vue/src/views/ux/billManage/UnSettleDiffExport/index.vue @@ -386,23 +386,24 @@ - + :key="item.label" + :label="item.value" + :value="item.label" + > + {{ item.label }} + {{ + item.value + }} + @@ -911,7 +912,7 @@ export default { response.items.forEach((element) => { let options = {}; options.value = element.description; - options.label = element.description + "/" + element.value; + options.label = element.value; this.materialGroupList.push(options); }); }) diff --git a/vue/src/views/ux/billManage/kanBanWithCode/index.vue b/vue/src/views/ux/billManage/kanBanWithCode/index.vue index 9e0f12b1..6a7beffe 100644 --- a/vue/src/views/ux/billManage/kanBanWithCode/index.vue +++ b/vue/src/views/ux/billManage/kanBanWithCode/index.vue @@ -393,23 +393,24 @@ - + :key="item.label" + :label="item.value" + :value="item.label" + > + {{ item.label }} + {{ + item.value + }} + @@ -963,7 +964,7 @@ export default { response.items.forEach((element) => { let options = {}; options.value = element.description; - options.label = element.description + "/" + element.value; + options.label = element.value; this.materialGroupList.push(options); }); }) diff --git a/vue/src/views/ux/billManage/sparePart/index.vue b/vue/src/views/ux/billManage/sparePart/index.vue index a0b13a3c..1a31c7d0 100644 --- a/vue/src/views/ux/billManage/sparePart/index.vue +++ b/vue/src/views/ux/billManage/sparePart/index.vue @@ -393,20 +393,24 @@ - + :key="item.label" + :label="item.value" + :value="item.label" + > + {{ item.label }} + {{ + item.value + }} + From 4ab72126f607ef1e999952c5d6f2011e3cad706e 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:03:52 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettledDetailDiff/index.vue | 70 +++++++++++++++++-- .../ux/billManage/kanBanWithCode/index.vue | 66 +++++++++++++++-- .../views/ux/billManage/sparePart/index.vue | 66 +++++++++++++++-- 3 files changed, 185 insertions(+), 17 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index f6a08f39..0ee755bf 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -35,6 +35,14 @@ @click="handleCreateBills()" >生成出库单(支持批量) + 已确认 @@ -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 4/9] =?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 5/9] =?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 6/9] =?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 7/9] =?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 8/9] =?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 @@ - - + + - - + + - - - + + - +