From b5c3b26ceece9a94985efdd725830981f4691ca1 Mon Sep 17 00:00:00 2001 From: CTP <630182278@qq.com> Date: Fri, 12 May 2023 11:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B5=84=E5=AD=97=E5=85=B8=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=20=E9=BB=98=E8=AE=A4=E9=9A=90=E8=97=8F=E5=88=86?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/product.vue | 171 +++++++++++++++------------- 1 file changed, 92 insertions(+), 79 deletions(-) diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 4d27e3a..1be8d4e 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -2,21 +2,40 @@
- - - - {{ + + + + + {{ node.label }} - + > + + + + + + + 显示/隐藏搜索栏 - + >显示/隐藏搜索栏 + 重置 - + >重置 + 查询 - + >查询 + 选入DI信息 - + >选入DI信息 + 添加院内字典 - + >添加院内字典 + 关联添加 - + >关联添加 +
@@ -276,27 +289,27 @@ size="small" :disabled="scope.row.originUuid != null" @click.native.stop="intentSelectUdi(scope.row)" - >关联DI + >关联DI 详情 + >详情 编辑 + >编辑 删除 + >删除 @@ -905,7 +918,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 }}: 
切换版本 + >切换版本 - 更新当前版本信息 + 更新当前版本信息 @@ -1275,14 +1291,14 @@ size="small" icon="search" @click="onAddSubmit(false)" - >提交 + >提交 取消 + >取消
@@ -1304,14 +1320,14 @@ size="small" icon="search" @click="onAddSingleSubmit(false)" - >提交 + >提交 取消 + >取消 @@ -1450,13 +1466,14 @@ import { spcombie, lockStatus, removeDiRl, - disableUdi, syncOnline, + disableUdi, + syncOnline, } from "@/api/basic/product/udiRelevance"; 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"; @@ -1467,12 +1484,13 @@ 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 {dlLastVersionByDi} from "@/api/basic/udiInfo"; +import { getBasicHospType, getListTree } from "@/api/basic/basicHospType"; +import { dlLastVersionByDi } from "@/api/basic/udiInfo"; export default { data() { return { + Dictionary: false, //物资字典显示、隐藏 filterQuery: { lockStatus: null, unionCode: null, @@ -1563,7 +1581,7 @@ export default { selectVersionVisible: false, selectLocalVisible: false, //关联UDI isUseDyCheck: false, - lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"}, + lockStatusMap: { 1: "未提交", 2: "已提交", 3: "已锁定" }, activeNames: ["1"], useNumEnable: true, updateLoading: false, @@ -1694,8 +1712,7 @@ export default { this.$message.error(response.message); } }) - .catch(() => { - }); + .catch(() => {}); }, deleteDialog(rowId) { @@ -1707,8 +1724,7 @@ export default { .then(() => { this.deleteOrders(rowId); }) - .catch(() => { - }); + .catch(() => {}); }, intentDetail() { @@ -1746,11 +1762,9 @@ export default { this.$message.error(response.message); } }) - .catch(() => { - }); + .catch(() => {}); }) - .catch(() => { - }); + .catch(() => {}); }, removeDi() { @@ -1777,11 +1791,9 @@ export default { this.$message.error(response.message); } }) - .catch(() => { - }); + .catch(() => {}); }) - .catch(() => { - }); + .catch(() => {}); }, intentSelectErp(val) { @@ -2067,8 +2079,7 @@ export default { var invlist = response.data || []; this.treeList = this.handleTree(invlist, "code", "parentCode"); }) - .catch(() => { - }); + .catch(() => {}); }, addHospProduct(data) { @@ -2106,9 +2117,12 @@ export default { type: "warning", }) .then(() => { - debugger + debugger; this.updateLoading = true; - let query = {uuid: this.editQuery.uuid, originUuid: this.editQuery.originUuid}; + let query = { + uuid: this.editQuery.uuid, + originUuid: this.editQuery.originUuid, + }; syncOnline(query) .then((response) => { this.updateLoading = false; @@ -2125,13 +2139,10 @@ export default { this.total = 0; }); }) - .catch(() => { - }); - + .catch(() => {}); }, }, - mounted() { - }, + mounted() {}, components: { ProductSingleEdit, ProductEdit, @@ -2153,10 +2164,12 @@ export default { };