diff --git a/.eslintrc.js b/.eslintrc.js index 3a5a637..5fd64f3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,8 +4,8 @@ module.exports = { node: true }, 'extends': [ - 'plugin:vue/essential', - '@vue/prettier' + 'plugin:vue/essential' + // '@vue/prettier' ], plugins: [ 'vue' @@ -15,6 +15,6 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' }, parserOptions: { - parser: 'babel-eslint' + // parser: 'babel-eslint' } -} \ No newline at end of file +} diff --git a/public/config.json b/public/config.json index b0ef407..d9c3d49 100644 --- a/public/config.json +++ b/public/config.json @@ -1,4 +1,4 @@ { - "BASE_URL": "http://192.168.0.109:9996", - "SERVER_IP": "http://192.168.0.109:9996" + "BASE_URL": "http://127.0.0.1:9996", + "SERVER_IP": "http://127.0.0.1:9996" } diff --git a/src/api/basic/udiRelevance.js b/src/api/basic/udiRelevance.js index a57d404..128873a 100644 --- a/src/api/basic/udiRelevance.js +++ b/src/api/basic/udiRelevance.js @@ -15,6 +15,15 @@ export function getAllUdiInfos(query) { params: query }); } +export function getMutiUdiInfos(query) { + return axios({ + url: "/udi/udirel/mutil/download", + method: "get", + params: query + }); +} + + export function getSmUdiInfos(query) { return axios({ diff --git a/src/views/basic/BasicThirdSysDetailModify.vue b/src/views/basic/BasicThirdSysDetailModify.vue index 028d27f..537dbfa 100644 --- a/src/views/basic/BasicThirdSysDetailModify.vue +++ b/src/views/basic/BasicThirdSysDetailModify.vue @@ -138,7 +138,6 @@ float: left; text-align: left; margin-top: 5px; - } .text { diff --git a/src/views/basic/BasicThirdSysModify.vue b/src/views/basic/BasicThirdSysModify.vue index f62a8a6..7324861 100644 --- a/src/views/basic/BasicThirdSysModify.vue +++ b/src/views/basic/BasicThirdSysModify.vue @@ -1,125 +1,147 @@ diff --git a/src/views/basic/CorpExport.vue b/src/views/basic/CorpExport.vue index 776a30b..1953806 100644 --- a/src/views/basic/CorpExport.vue +++ b/src/views/basic/CorpExport.vue @@ -48,6 +48,11 @@ > + + + diff --git a/src/views/basic/UdiInfoselectErpUdi.vue b/src/views/basic/UdiInfoselectErpUdi.vue index d64c112..e3687b9 100644 --- a/src/views/basic/UdiInfoselectErpUdi.vue +++ b/src/views/basic/UdiInfoselectErpUdi.vue @@ -71,7 +71,8 @@ >选入 - 结果全部选入 @@ -84,14 +85,12 @@ style="width: 100%" highlight-current-row="true" v-loading="erpLloading" - :row-class-name="tableRowClassName" @current-change="handleErpChange" @selection-change="handleSelectionChange" > @@ -308,267 +307,289 @@ diff --git a/src/views/basic/UdiinfoExport.vue b/src/views/basic/UdiinfoExport.vue index b1d3e8f..19ba0fd 100644 --- a/src/views/basic/UdiinfoExport.vue +++ b/src/views/basic/UdiinfoExport.vue @@ -48,6 +48,11 @@ > + + + 下载 @@ -106,7 +112,7 @@ export default { data() { return { filterQuery: { - type: 1, + // type: 1, genKey: null, status: null, fromType: null, @@ -133,6 +139,11 @@ export default { 2: "处理异常", 3: "处理完成" }, + typeMap: { + 1: '文件导出', + 2: '网络同步', + + }, uploadFileUrl: null, uploadData: { thirdSys: "thirdId", @@ -188,10 +199,9 @@ export default { .then((res) => res.blob()) .then((blob) => { a.href = URL.createObjectURL(blob); - console.log(a.href); a.download = - row.filePath.split("/")[ - row.filePath.split("/").length - 1 + row.filePath.split("\\")[ + row.filePath.split("\\").length - 1 ]; // // 下载文件的名字 document.body.appendChild(a); a.click(); diff --git a/src/views/basic/UdiinfoExportSmp.vue b/src/views/basic/UdiinfoExportSmp.vue index c28a3ed..5273e62 100644 --- a/src/views/basic/UdiinfoExportSmp.vue +++ b/src/views/basic/UdiinfoExportSmp.vue @@ -184,8 +184,8 @@ console.log(a.href); // a.download = ""; // 下载文件的名字 a.download = - row.filePath.split("/")[ - row.filePath.split("/").length - 1 + row.filePath.split("\\")[ + row.filePath.split("\\").length - 1 ]; // // 下载文件的名字 document.body.appendChild(a); a.click(); diff --git a/src/views/basic/basicCompanyProduct.vue b/src/views/basic/basicCompanyProduct.vue index 5eafa53..1385ce1 100644 --- a/src/views/basic/basicCompanyProduct.vue +++ b/src/views/basic/basicCompanyProduct.vue @@ -47,7 +47,7 @@ type="primary" icon="search" @click="selectProduct()" - >选择产品 + >添加产品 diff --git a/src/views/basic/basicCompanyProducts.vue b/src/views/basic/basicCompanyProducts.vue index 1ab1c77..f57d935 100644 --- a/src/views/basic/basicCompanyProducts.vue +++ b/src/views/basic/basicCompanyProducts.vue @@ -67,15 +67,16 @@ - - - - + 选择产品 + >选入产品 + + 添加产品信息 @@ -670,7 +671,22 @@ - + + +
+
+ 产品描述:  +
+ +
+
+
@@ -1192,6 +1208,22 @@ + + +
+
+ 产品描述:  +
+ +
+
+
@@ -1221,7 +1253,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ item.sysName }} - - - - - - - - - - - - - - - - - - - 查询 - 选中导入 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- 产品名称:  -
- -
-
- -
-
- 产品标识:  -
- -
-
- - -
- - - -
-
- 规格型号:  -
- -
-
- - -
-
- 器械类别:  -
- -
-
-
- - -
-
- 产品类别:  -
- -
-
- -
-
- 分类编码:  -
- -
-
- -
- - - -
-
- 商品条码:  -
- -
-
- -
-
- 医保编码:  -
- -
-
-
- - - -
-
- 医疗器械注册人:  -
- -
-
- -
-
- 注册人英文名称:  -
- -
-
- -
- - - -
-
- 统一社会信用号:  -
- -
-
- -
-
- 注册证/备案号:  -
- -
-
-
- - -
-
- 上级产品编码:  -
- -
-
- - -
-
- 包装级别:  -
- -
-
-
- - -
-
- 计量单位/包装级别:  -
- - -
-
- - -
-
- 包含下级包装数量:  -
- -
-
-
- - -
-
- 包含下级产品编码:  -
- - -
-
- - -
-
- 包含最小销售包装数量:  -
- -
-
-
- - -
-
- 最小包装单元内包含使用单元数量:  -
- -
-
- - - 以使用单元数量入库 - - - -
-
- -
- - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.sysName }} + + + + + + + + + + + + + + + + + + + + + + + 查询 + 选中导入 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ 产品名称:  +
+ +
+
+ +
+
+ 产品标识:  +
+ +
+
+ + +
+ + + +
+
+ 规格型号:  +
+ +
+
+ + +
+
+ 器械类别:  +
+ +
+
+
+ + +
+
+ 产品类别:  +
+ +
+
+ +
+
+ 分类编码:  +
+ +
+
+ +
+ + + +
+
+ 商品条码:  +
+ +
+
+ +
+
+ 医保编码:  +
+ +
+
+
+ + + +
+
+ 医疗器械注册人:  +
+ +
+
+ +
+
+ 注册人英文名称:  +
+ +
+
+ +
+ + + +
+
+ 统一社会信用号:  +
+ +
+
+ +
+
+ 注册证/备案号:  +
+ +
+
+
+ + +
+
+ 上级产品编码:  +
+ +
+
+ + +
+
+ 包装级别:  +
+ +
+
+
+ + +
+
+ 计量单位/包装级别:  +
+ + +
+
+ + +
+
+ 包含下级包装数量:  +
+ +
+
+
+ + +
+
+ 包含下级产品编码:  +
+ + +
+
+ + +
+
+ 包含最小销售包装数量:  +
+ +
+
+
+ + +
+
+ 最小包装单元内包含使用单元数量:  +
+ +
+
+ + + 以使用单元数量入库 + + + +
+
+ +
+ + +
diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 1eae648..072aaf3 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -3,7 +3,7 @@
-

zhaoan医院UDI自助平台

+

诏安县医院UDI自助平台

- + @@ -379,7 +378,7 @@ export default { // 显示表单 handleForm(node, data, formName) { this.formVisible = true; - let no = this.getProjectNum() + Math.floor(Math.random() * 10000) + let no = Math.floor(Math.random() * 10000000) this.pidData = data || null; formJson.pid = (data && parseInt(data.id)) || ""; this.formData = JSON.parse(JSON.stringify(formJson)); diff --git a/src/views/thrsys/ThrOrderExport.vue b/src/views/thrsys/ThrOrderExport.vue index 6a0b0b4..fcbdf4f 100644 --- a/src/views/thrsys/ThrOrderExport.vue +++ b/src/views/thrsys/ThrOrderExport.vue @@ -191,8 +191,8 @@ a.href = URL.createObjectURL(blob); console.log(a.href); a.download = - row.filePath.split("/")[ - row.filePath.split("/").length - 1 + row.filePath.split("\\")[ + row.filePath.split("\\").length - 1 ]; // // 下载文件的名字 document.body.appendChild(a); a.click(); diff --git a/src/views/thrsys/ThrOrderExportSmp.vue b/src/views/thrsys/ThrOrderExportSmp.vue index 64babfa..87d5ba8 100644 --- a/src/views/thrsys/ThrOrderExportSmp.vue +++ b/src/views/thrsys/ThrOrderExportSmp.vue @@ -194,8 +194,8 @@ console.log(a.href); // a.download = ""; // 下载文件的名字 a.download = - row.filePath.split("/")[ - row.filePath.split("/").length - 1 + row.filePath.split("\\")[ + row.filePath.split("\\").length - 1 ]; // // 下载文件的名字 document.body.appendChild(a); a.click(); diff --git a/src/views/thrsys/ThrOrderImport.vue b/src/views/thrsys/ThrOrderImport.vue index 9f8b957..f28c835 100644 --- a/src/views/thrsys/ThrOrderImport.vue +++ b/src/views/thrsys/ThrOrderImport.vue @@ -101,13 +101,13 @@
@@ -146,11 +145,11 @@ - - 批量设置销售清单 - 批量设置销售发票第一票 - 批量设置销售发票第二票 - + + + + + + + + + @@ -456,6 +471,7 @@ import {inspectionStockOrderPDFFromTemplateFile, stockOrderPDFFromTemplateFile} import store from "../../store"; import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; +import StockOrderEdit from "@/views/warehouse/stockOrderEdit"; export default { name: "stockOrderSearch", @@ -501,6 +517,7 @@ export default { id: "", }, distributionSetVisible: false, + stockOrderEditVisible: false, distributionVisible: false, detailFormRules: { batchNo: [ @@ -602,7 +619,7 @@ export default { this.currentCheckIndex = index; console.log(this.currentCheckIndex) }, - handleSave(index, row) { + handleSave (index, row) { this.currentCheckIndex = -1; updateStockOrderDetail(row).then((res) => { @@ -871,11 +888,14 @@ export default { }, // 显示表单 handleDetailForm(index, row) { - this.detailFormVisible = true; - this.detailFormData = {}; - if (row !== null) { - this.detailFormData = Object.assign({}, row); - } + // this.detailFormVisible = true; + // this.detailFormData = {}; + // if (row !== null) { + // this.detailFormData = Object.assign({}, row); + + this.stockOrderEditVisible = true; + + }, hideDetailForm() { // 更改值 @@ -943,14 +963,17 @@ export default { } }); } - }, + } + , components: { + StockOrderEdit, draggable, stockOrderDistribution, stockOrderEditDistribution, stockOrderQRCodeDetail, stockQRCodeExport, - }, + } + , filters: { statusFilterType(status) { const statusMap = { @@ -958,7 +981,8 @@ export default { 1: "success" }; return statusMap[status]; - }, + } + , statusFilterName(status) { const statusMap = { "1": "草稿", @@ -967,7 +991,8 @@ export default { "4": "已校验", }; return statusMap[status]; - }, + } + , typeFilterName(type) { const typeMap = { 1: "预入库", @@ -975,7 +1000,8 @@ export default { }; return typeMap[type]; } - }, + } + , created() { this.getStorage(); this.getBusType();