diff --git a/.env.dev b/.env.dev index 962b91c1..3497fe49 100644 --- a/.env.dev +++ b/.env.dev @@ -16,7 +16,7 @@ VUE_APP_TITLE = MES系统 VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' -# VUE_APP_BASE_API = 'http://192.168.1.49:48080' +# VUE_APP_BASE_API = 'http://192.168.1.49:48082' # VUE_APP_BASE_API = 'http://192.168.1.8:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # VUE_APP_BASE_API = 'http://192.168.1.56:48082' diff --git a/src/api/base/delivery.js b/src/api/base/delivery.js index 82c371c3..d04fd210 100644 --- a/src/api/base/delivery.js +++ b/src/api/base/delivery.js @@ -18,6 +18,15 @@ export function deliveryProgressPage(data) { }) } +// 获取订单列表 +export function listOrderList(query) { + return request({ + url: '/extend/delivery-log/listOrderList', + method: 'get', + params: query + }) +} + // 获取发货进度分页 export function deliveryLogDetPage(data) { return request({ diff --git a/src/api/quality/processTraceability.js b/src/api/quality/processTraceability.js index d2152584..5faac726 100644 --- a/src/api/quality/processTraceability.js +++ b/src/api/quality/processTraceability.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-10-31 15:05:06 - * @LastEditTime: 2023-11-03 09:05:50 + * @LastEditTime: 2023-11-28 09:28:05 * @LastEditors: zhp * @Description: */ @@ -24,6 +24,14 @@ export function getWorkOrderList(query) { params: query, }) } + +export function getCoreProduct(id) { + return request({ + url: '/base/core-product/get?id=' + id, + method: 'get' + }) +} + // 导出物料信息 // export function exportEnergyPlcExcel(query) { // return request({ diff --git a/src/styles/index.scss b/src/styles/index.scss index 6b3ebaee..d162abed 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -196,4 +196,8 @@ input, textarea{ margin-right: 8px; vertical-align: middle; } -// 抽屉head区域---end \ No newline at end of file +// 抽屉head区域---end +// 弹出框,上下分布,去掉label的padding-bottom +.el-form--label-top .el-form-item__label { + padding: 0; +} \ No newline at end of file diff --git a/src/views/base/mixins/basic-page.js b/src/views/base/mixins/basic-page.js index b3b14aaa..06c2b851 100644 --- a/src/views/base/mixins/basic-page.js +++ b/src/views/base/mixins/basic-page.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-08-24 11:19:43 * @LastEditors: zhp - * @LastEditTime: 2023-11-01 10:30:12 + * @LastEditTime: 2023-11-24 09:29:36 * @Description: */ export default { @@ -85,6 +85,7 @@ export default { }, //tableBtn点击 handleClick(val) { + console.log(val.data.packagingCode); if (val.type === "edit") { this.addOrUpdateVisible = true; this.addOrEditTitle = "编辑"; @@ -92,7 +93,7 @@ export default { this.$refs.addOrUpdate.init(val.data.id); }); } else if (val.type === "delete") { - this.deleteHandle(val.data.id, val.data.name, val.data._pageIndex) + this.deleteHandle(val.data.id, val.data.name, val.data._pageIndex,val.data.packagingCode ) } else if (val.type === "change") { this.changeStatus(val.data.id) } else { @@ -101,7 +102,7 @@ export default { }, // 删除 deleteHandle(id, name, index) { - this.$confirm(`是否确认删除${name ? '[' + name + ']' : '[' + index + ']'}数据项?`, "提示", { + this.$confirm(`是否确认删除${name ? ' 名称为'+ name : '[' + index + ']'}数据项?`, "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", diff --git a/src/views/base/packagingPrintLog/index.vue b/src/views/base/packagingPrintLog/index.vue index 06918805..3e4ec4ea 100644 --- a/src/views/base/packagingPrintLog/index.vue +++ b/src/views/base/packagingPrintLog/index.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-01 14:55:51 * @LastEditors: zhp - * @LastEditTime: 2023-11-22 14:40:59 + * @LastEditTime: 2023-11-24 09:13:50 * @Description: --> diff --git a/src/views/extend/processTraceability/index.vue b/src/views/extend/processTraceability/index.vue index c11054a0..d3b9f026 100644 --- a/src/views/extend/processTraceability/index.vue +++ b/src/views/extend/processTraceability/index.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-01 14:55:51 * @LastEditors: zhp - * @LastEditTime: 2023-11-22 14:23:40 + * @LastEditTime: 2023-11-28 10:34:24 * @Description: -->