From 4b8c37a9b7f3e199b01dfada8d487581850434d5 Mon Sep 17 00:00:00 2001 From: wangmeng <1620161711@qq.com> Date: Mon, 2 Mar 2026 17:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 + src/api/approval/approvalDetails.js | 2 +- src/background.js | 6 +- src/option/system/user.js | 4 + src/option/user/info.js | 1 + src/store/modules/order.js | 3 +- src/styles/element-ui.scss | 2 +- src/views/approval/approvalDetails.vue | 40 ++-- src/views/authority/role.vue | 4 +- src/views/customer/index.vue | 8 +- src/views/order/AddtoTemplate.vue | 63 ++++-- src/views/order/ProjectProductEdit.vue | 62 ++++-- src/views/order/addRemittanceRecord.vue | 8 +- src/views/order/bankReceiptDetail.vue | 10 +- src/views/order/category.vue | 11 +- src/views/order/month.vue | 5 +- src/views/order/orderAddEdit.vue | 49 +++-- src/views/order/orderChangeLog.vue | 4 +- src/views/order/orderList.vue | 217 ++++++++++++--------- src/views/order/orderListFinance.vue | 6 +- src/views/order/remittanceRecord.vue | 8 +- src/views/order/subcategory.vue | 9 +- src/views/order/year.vue | 4 +- src/views/product/add/add.vue | 8 +- src/views/product/add/category.vue | 8 +- src/views/product/add/edit.vue | 8 +- src/views/product/add/exchangeRate.vue | 12 +- src/views/product/add/productCostPrice.vue | 50 +++-- src/views/product/add/subcategory.vue | 8 +- src/views/system/userinfo.vue | 1 + src/views/wel/index.vue | 8 +- 31 files changed, 401 insertions(+), 230 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6a2532f..d31871a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -122,4 +122,6 @@ export default { background-color: #3176FD !important; } + + diff --git a/src/api/approval/approvalDetails.js b/src/api/approval/approvalDetails.js index 79336cf..77b28fd 100644 --- a/src/api/approval/approvalDetails.js +++ b/src/api/approval/approvalDetails.js @@ -41,4 +41,4 @@ export const getExchangeRateList = (params) => { method: 'get', params: params }) -} \ No newline at end of file +} diff --git a/src/background.js b/src/background.js index 156120c..b027efe 100644 --- a/src/background.js +++ b/src/background.js @@ -17,7 +17,9 @@ protocol.registerSchemesAsPrivileged([ let mainWindow = null; ipcMain.on('window-minimize', () => { - mainWindow.minimize(); + if (mainWindow) { + mainWindow.minimize(); + } }); ipcMain.on('window-maximize', () => { @@ -47,6 +49,8 @@ async function createWindow() { } }) + mainWindow = win; + // 移除菜单栏(关键代码) Menu.setApplicationMenu(null) diff --git a/src/option/system/user.js b/src/option/system/user.js index c9cbfd0..b4a2bd0 100644 --- a/src/option/system/user.js +++ b/src/option/system/user.js @@ -31,6 +31,7 @@ export const userOption = (safe) => { viewBtn: true, dialogType: 'drawer', dialogClickModal: false, + searchLabelWidth: 110, column: [ { label: '登录账号', @@ -95,6 +96,7 @@ export const userOption = (safe) => { label: '基础信息', prop: 'baseInfo', icon: 'el-icon-user-solid', + labelWidth: 120, column: [ { label: '所属租户', @@ -170,6 +172,7 @@ export const userOption = (safe) => { label: '详细信息', prop: 'detailInfo', icon: 'el-icon-s-order', + labelWidth: 120, column: [ { label: '用户简称', @@ -251,6 +254,7 @@ export const userOption = (safe) => { label: '职责信息', prop: 'dutyInfo', icon: 'el-icon-s-custom', + labelWidth: 120, column: [ { label: '用户编号', diff --git a/src/option/user/info.js b/src/option/user/info.js index d2fcbe0..8cc2a65 100644 --- a/src/option/user/info.js +++ b/src/option/user/info.js @@ -47,6 +47,7 @@ export default { { label: '修改密码', prop: 'password', + labelWidth: 150, column: [{ label: '原密码', span: 12, diff --git a/src/store/modules/order.js b/src/store/modules/order.js index 28bfb8a..bd17845 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -30,6 +30,7 @@ const order = { selectedSubcategoryIds: [], leftTableData: [], rightTableData: [], + allProductData:[] } }, getters: { @@ -154,7 +155,7 @@ const order = { subcategoryId: '', selectedSubcategoryIds: [], leftTableData: [], - rightTableData: [] + rightTableData: [], }; }, // 设置临时离开标记 diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index e1c71af..dffa9b7 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -221,7 +221,7 @@ font-size: 1.458vw; /* 弹窗内容区样式 */ .el-message-box__content { - padding: 1.04vw 0 !important; + padding: 1.04vw 1.04vw !important; } diff --git a/src/views/approval/approvalDetails.vue b/src/views/approval/approvalDetails.vue index c9bf229..5121664 100644 --- a/src/views/approval/approvalDetails.vue +++ b/src/views/approval/approvalDetails.vue @@ -17,11 +17,11 @@
订单编号: - {{ orderData.code || "无" }} + {{ orderData.code || "-" }}
订单名称: - {{ orderData.name || "无" }} + {{ orderData.name || "-" }}
客户公司名称: @@ -54,17 +54,23 @@
公司指导价: - {{ formatNumber(orderData.standardPrice) }}元 + {{ formatNumber(orderData.standardPrice) }} + 元 +
销售价: - {{ formatNumber(orderData.sellingPrice) }}元 + {{ formatNumber(orderData.sellingPrice) }} + 元 +
分成金额: - {{ formatNumber(orderData.splitPrice) }}元 + {{ formatNumber(orderData.splitPrice) }} + 元 +
@@ -73,11 +79,13 @@ 元 + /> + 元 +
@@ -87,11 +95,14 @@ 元 + /> + + 元 +
@@ -100,11 +111,12 @@ % + /> + %
@@ -136,7 +148,7 @@ :key="index" >
- 费用类别 + 费用类别:
- 费用金额 + 费用金额: - + - + @@ -25,14 +25,14 @@ - + - + diff --git a/src/views/order/AddtoTemplate.vue b/src/views/order/AddtoTemplate.vue index a4eea9f..f2cfbd1 100644 --- a/src/views/order/AddtoTemplate.vue +++ b/src/views/order/AddtoTemplate.vue @@ -1,5 +1,5 @@