From fd03b6ea15f0203099555a75058cb4783ae34d21 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 8 Oct 2021 13:36:29 +0800 Subject: [PATCH] =?UTF-8?q?1008=20=E6=89=B9=E9=87=8F=E6=8A=A5=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 +- src/api/production.js | 2 +- .../modules/board/nextWeekShipmentBoard.vue | 10 +- .../modules/board/thisWeekShipmentBoard.vue | 10 +- src/views/modules/pad/padPartPhoto.vue | 9 +- src/views/modules/production/dailyPlan.vue | 22 ++-- .../modules/production/dailyPlanReport.vue | 113 +++++++++++++++++- .../production/productionBlankingSearch.vue | 4 + static/config/index.js | 2 +- 9 files changed, 151 insertions(+), 25 deletions(-) diff --git a/config/index.js b/config/index.js index ba0f313..2984559 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,7 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/proxyApi': { - target: 'http://192.168.0.193:9090', + target: 'http://192.168.1.130:9090', changeOrigin: true, pathRewrite: { // 把 /proxyApi 替换成 / @@ -23,7 +23,7 @@ module.exports = { }, // Various Dev Server settings - host: '192.168.0.193', // can be overwritten by process.env.HOST + host: '192.168.1.130', // can be overwritten by process.env.HOST port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/api/production.js b/src/api/production.js index 6ce490d..ee1a373 100644 --- a/src/api/production.js +++ b/src/api/production.js @@ -25,7 +25,7 @@ export const getDailyPlanData=data => createAPI(`dailyPlan/getDailyPlanData`, 'p export const dailyPlanReportSave=data => createAPI(`dailyPlan/dailyPlanReportSave`, 'post', data); - +export const dailyPlanReportsSave=data => createAPI(`dailyPlan/dailyPlanReportsSave`, 'post', data); export const productionBlankingSearch=data => createAPI(`dailyPlan/productionBlankingSearch`, 'post', data); diff --git a/src/views/modules/board/nextWeekShipmentBoard.vue b/src/views/modules/board/nextWeekShipmentBoard.vue index 2ceae21..444c4a8 100644 --- a/src/views/modules/board/nextWeekShipmentBoard.vue +++ b/src/views/modules/board/nextWeekShipmentBoard.vue @@ -48,7 +48,8 @@ header-align="center" align="right" min-width="40" - label="袋装重量"> + label="袋装重量" + :formatter="getFormatterNumber"> + label="袋装重量" + :formatter="getFormatterNumber"> -
- +
+
@@ -93,6 +93,7 @@ this.fileName=this.photoDatas[this.num-1].attaFileNameDb; this.fileTitle="文件名 ("+this.num+"/"+this.photoDatas.length+")"; this.photoUrl='http://192.168.2.172/upload/'+this.photoDatas[this.num-1].attaFileNameDb; + // this.photoUrl='http://192.168.1.83/upload/'+this.photoDatas[this.num-1].attaFileNameDb; }) }, nextPicture(){ @@ -137,5 +138,7 @@ diff --git a/src/views/modules/production/dailyPlan.vue b/src/views/modules/production/dailyPlan.vue index bdbe70d..1ef2e4c 100644 --- a/src/views/modules/production/dailyPlan.vue +++ b/src/views/modules/production/dailyPlan.vue @@ -1,7 +1,7 @@ @@ -141,12 +163,14 @@ - diff --git a/src/views/modules/production/productionBlankingSearch.vue b/src/views/modules/production/productionBlankingSearch.vue index 897d135..caaad32 100644 --- a/src/views/modules/production/productionBlankingSearch.vue +++ b/src/views/modules/production/productionBlankingSearch.vue @@ -200,4 +200,8 @@ /*background: #cbcb14;*/ background: #db1212; } + + .search1 .el-table .cell { + padding: 0px; + } diff --git a/static/config/index.js b/static/config/index.js index 3874b47..6357957 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -5,7 +5,7 @@ window.SITE_CONFIG = {}; // api接口请求地址 - window.SITE_CONFIG['baseUrl'] = 'http://192.168.0.193:9090/'; + window.SITE_CONFIG['baseUrl'] = 'http://192.168.1.130:9090/'; // cdn地址 = 域名 + 版本号 window.SITE_CONFIG['domain'] = './'; // 域名