From 2cb7e20ca3934f468441adaa9a4b21cf9e19949a Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 24 May 2023 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=A4=87=E4=BB=BD=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- src/views/basic/product/product.vue | 91 ++++++++++++-------- src/views/inout/IoCheckAuditOrder.vue | 49 ++++++++++- src/views/system/param/systemParamConfig.vue | 1 + vue.config.js | 2 +- 6 files changed, 107 insertions(+), 44 deletions(-) diff --git a/.env.development b/.env.development index 1562a5da..e15349a3 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,8 @@ VUE_APP_TITLE = UDI管理系统 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +# 开发环境 +VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_WMS_MC/' VUE_APP_SYNC_API ="http://127.0.0.1:10001" diff --git a/.env.production b/.env.production index 363a780f..b3922466 100644 --- a/.env.production +++ b/.env.production @@ -23,11 +23,11 @@ ENV = 'production' # VUE_APP_SYNC_API ="http://192.168.0.62:9150/SP_SYNC_SERVER" # 平潭正式 -# VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' +VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' # VUE_APP_SYNC_API ="http://55.55.0.24:9150/SP_SYNC_SERVER" # 吴总测试服务器 -VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' # 应用访问路径 例如使用前缀 /admin/ diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index d09a965b..7b464b90 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -13,8 +13,8 @@ > {{ - node.label - }} @@ -182,32 +182,38 @@
显示/隐藏搜索栏显示/隐藏搜索栏 + 重置重置 + 查询查询 + 选入DI信息选入DI信息 + 添加院内字典添加院内字典 + 关联添加关联添加 +
@@ -288,27 +294,27 @@ size="small" :disabled="scope.row.originUuid != null" @click.native.stop="intentSelectUdi(scope.row)" - >关联DI + >关联DI 详情 + >详情 编辑 + >编辑 删除 + >删除 @@ -917,7 +923,7 @@
{{ productRemarkSet.remarkTitle1 }}: {{ productRemarkSet.remarkTitle1 }}: 
{{ productRemarkSet.remarkTitle2 }}: {{ productRemarkSet.remarkTitle2 }}: 
{{ productRemarkSet.remarkTitle3 }}: {{ productRemarkSet.remarkTitle3 }}: 
{{ productRemarkSet.remarkTitle4 }}: {{ productRemarkSet.remarkTitle4 }}: 
{{ productRemarkSet.remarkTitle5 }}: {{ productRemarkSet.remarkTitle5 }}: 
{{ productRemarkSet.remarkTitle6 }}: {{ productRemarkSet.remarkTitle6 }}: 
{{ productRemarkSet.remarkTitle7 }}: {{ productRemarkSet.remarkTitle7 }}: 
{{ productRemarkSet.remarkTitle8 }}: {{ productRemarkSet.remarkTitle8 }}: 
切换版本 + >切换版本
@@ -1279,14 +1285,14 @@ size="small" icon="search" @click="onAddSubmit(false)" - >提交 + >提交 取消 + >取消 @@ -1308,14 +1314,14 @@ size="small" icon="search" @click="onAddSingleSubmit(false)" - >提交 + >提交 取消 + >取消 @@ -1460,7 +1466,7 @@ import { selectSysParamByKey, finProductSet, } from "@/api/param/systemParamConfig"; -import { filterByUuid } from "@/api/basic/product/udiInfo"; +import {filterByUuid} from "@/api/basic/product/udiInfo"; import selectUdi from "./UdiInfoSelectRel.vue"; import selectErp from "./udiInfoselectErpUdi"; @@ -1471,7 +1477,7 @@ import ProductSingleEdit from "@/views/basic/product/productSingleEdit"; import productUdiType from "@/views/basic/product/productUdiType"; import selectHospProduct from "@/views/basic/product/bindHospProduct"; import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct"; -import { getBasicHospType, getListTree } from "@/api/basic/basicHospType"; +import {getBasicHospType, getListTree} from "@/api/basic/basicHospType"; export default { data() { @@ -1567,7 +1573,7 @@ export default { selectVersionVisible: false, selectLocalVisible: false, //关联UDI isUseDyCheck: false, - lockStatusMap: { 1: "未提交", 2: "已提交", 3: "已锁定" }, + lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"}, activeNames: ["1"], useNumEnable: true, }; @@ -1697,7 +1703,8 @@ export default { this.$message.error(response.message); } }) - .catch(() => {}); + .catch(() => { + }); }, deleteDialog(rowId) { @@ -1709,7 +1716,8 @@ export default { .then(() => { this.deleteOrders(rowId); }) - .catch(() => {}); + .catch(() => { + }); }, intentDetail() { @@ -1747,9 +1755,11 @@ export default { this.$message.error(response.message); } }) - .catch(() => {}); + .catch(() => { + }); }) - .catch(() => {}); + .catch(() => { + }); }, removeDi() { @@ -1776,9 +1786,11 @@ export default { this.$message.error(response.message); } }) - .catch(() => {}); + .catch(() => { + }); }) - .catch(() => {}); + .catch(() => { + }); }, intentSelectErp(val) { @@ -1975,7 +1987,7 @@ export default { if (response.code == 20000) { this.getList(); this.cancelDialog(); - this.editDialogVisible = false; + this.editDiDialogVisible = false; } else { this.$message.error(response.message); } @@ -2064,7 +2076,8 @@ export default { var invlist = response.data || []; this.treeList = this.handleTree(invlist, "code", "parentCode"); }) - .catch(() => {}); + .catch(() => { + }); }, addHospProduct(data) { @@ -2095,7 +2108,8 @@ export default { this.getList(); }, }, - mounted() {}, + mounted() { + }, components: { ProductSingleEdit, ProductEdit, @@ -2121,15 +2135,18 @@ export default { margin-left: 0px; height: 30px; } + .tree { ::v-deep .el-tree-node { white-space: normal; + .el-tree-node__content { height: 100%; align-items: start; } } } + .itemTag { float: left; text-align: right; diff --git a/src/views/inout/IoCheckAuditOrder.vue b/src/views/inout/IoCheckAuditOrder.vue index eec149d4..95f251e7 100644 --- a/src/views/inout/IoCheckAuditOrder.vue +++ b/src/views/inout/IoCheckAuditOrder.vue @@ -132,7 +132,7 @@ - +