From 40924b4d5a40c39dde1ded51494f907ce58fb2ce Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 24 Mar 2022 16:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E7=BB=A7=E6=9C=8D=E5=8A=A1=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/invWarehouse.js | 9 + src/api/thrsys/smp.js | 16 + src/views/basic/BasicThirdSys.vue | 293 ++++++++------- src/views/basic/CorpExport.vue | 1 + src/views/basic/CorpSelect.vue | 6 +- src/views/basic/UdIInfoSelect.vue | 6 +- src/views/basic/UdiinfoExport.vue | 351 +++++++++--------- src/views/basic/invWarehouse.vue | 37 +- src/views/thrsys/ThrOrderImport.vue | 1 + .../userManage/param/systemParamConfig.vue | 8 +- src/views/warehouse/IONewOrder.vue | 2 +- .../warehouse/stockOrderNewDistribution.vue | 9 +- 12 files changed, 395 insertions(+), 344 deletions(-) diff --git a/src/api/basic/invWarehouse.js b/src/api/basic/invWarehouse.js index 703f072..30452fb 100644 --- a/src/api/basic/invWarehouse.js +++ b/src/api/basic/invWarehouse.js @@ -49,6 +49,15 @@ export function deleteWarehouse(data) { data: data }); } +export function uploadStatus(data) { + return axios({ + url: "/spms/inv/warehouse/upload", + method: "post", + data: data + }); +} + + export function exportJson(query) { return axios({ diff --git a/src/api/thrsys/smp.js b/src/api/thrsys/smp.js index 7bb0690..8b208cd 100644 --- a/src/api/thrsys/smp.js +++ b/src/api/thrsys/smp.js @@ -17,6 +17,14 @@ export function corpUpload(query) { data: query }); } +export function corpUploadStatus(query) { + return axios({ + url: "/udiwms/corps/importLog/exportStatus", + method: "post", + data: query + }); +} + //产品信息上传 export function udiUpload(query) { @@ -26,6 +34,14 @@ export function udiUpload(query) { data: query }); } +export function udiUploadStatus(query) { + return axios({ + url: "/udiwms/products/importLog/exportStatus", + method: "post", + data: query + }); +} + //第三方业务单据上传 diff --git a/src/views/basic/BasicThirdSys.vue b/src/views/basic/BasicThirdSys.vue index a6a8209..5e5e7bf 100644 --- a/src/views/basic/BasicThirdSys.vue +++ b/src/views/basic/BasicThirdSys.vue @@ -65,7 +65,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :visible.sync="modifyDialogVisible" - width="70%" + width="60%" v-if="modifyDialogVisible" > @@ -100,9 +100,9 @@ - - - + + + @@ -147,175 +147,180 @@ > -
- 重要提示:本页功能仅供技术提供方修改  -
+
+ 重要提示:本页功能仅供技术提供方修改  +
diff --git a/src/views/basic/CorpExport.vue b/src/views/basic/CorpExport.vue index 3438060..776a30b 100644 --- a/src/views/basic/CorpExport.vue +++ b/src/views/basic/CorpExport.vue @@ -10,6 +10,7 @@ 查询 导出往来单位信息 + 同步至UDI管理系统 diff --git a/src/views/basic/CorpSelect.vue b/src/views/basic/CorpSelect.vue index cceabaa..35868c0 100644 --- a/src/views/basic/CorpSelect.vue +++ b/src/views/basic/CorpSelect.vue @@ -33,7 +33,7 @@ 一键上传 + >结果全部上传 @@ -231,7 +231,7 @@ basicUnitMaintainSave, deleteBasicUnitMaintain, getThrsysUnit } from "../../api/basic/basicUnitMaintain"; - import {corpUpload} from "../../api/thrsys/smp" + import {corpUpload,corpUploadStatus} from "../../api/thrsys/smp" import {getBasicThirdSys} from "../../api/basic/basicThirdSys"; import {exportExcel} from "../../api/basic/corpExport" @@ -499,7 +499,7 @@ }, allUploadSMP() { - corpUpload(this.query) + corpUploadStatus(this.query) .then((response) => { if (response.code == 20000) { this.$message.success("提交成功,后台正在上传!") diff --git a/src/views/basic/UdIInfoSelect.vue b/src/views/basic/UdIInfoSelect.vue index 29decd7..af75dfb 100644 --- a/src/views/basic/UdIInfoSelect.vue +++ b/src/views/basic/UdIInfoSelect.vue @@ -72,7 +72,7 @@ 一键上传 + >结果全部上传 @@ -541,7 +541,7 @@ import { updateErpProduct, thirdSysDetail, } from "../../api/basic/udiRelevance"; -import {udiUpload} from "../../api/thrsys/smp" +import {udiUpload,udiUploadStatus} from "../../api/thrsys/smp" import {exportExcel} from "../../api/basic/udiInfoExport" import {selectSysParamByKey} from "../../api/param/systemParamConfig"; import {filterByUuid} from "../../api/basic/udiInfo"; @@ -703,7 +703,7 @@ export default { }, allUploadSMP() { - udiUpload(this.filterQuery) + udiUploadStatus(this.filterQuery) .then((response) => { if (response.code == 20000) { this.$message({ diff --git a/src/views/basic/UdiinfoExport.vue b/src/views/basic/UdiinfoExport.vue index ca0535f..b1d3e8f 100644 --- a/src/views/basic/UdiinfoExport.vue +++ b/src/views/basic/UdiinfoExport.vue @@ -9,7 +9,8 @@ 查询 - 导出医疗器械信息 + 导出文件 + 同步至UDI管理系统 @@ -96,197 +97,197 @@ diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index c3b8c1d..1f0a59e 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -39,6 +39,8 @@ 导出 + 同步至UDI管理系统 + @@ -138,11 +140,11 @@ stripe style="width: 100%"> - - - - - + + + + + import { filterList, filterAll, - saveWarehouse, exportJson, + saveWarehouse, exportJson, uploadStatus, deleteWarehouse, warehouseBussinessTypeList, warehouseUserList, saveWarehouseBussinessType, saveWarehouseUser, updateDirector, @@ -626,7 +628,7 @@ const formJson = { status: 1, advanceType: false, isDefault: false, - level:1, + level: 1, }; export default { data() { @@ -691,7 +693,7 @@ export default { selectUserList: [], selectBussinessTypeList: [], bussinessTypeFormVisible: false, - thrWarehouseData : null, + thrWarehouseData: null, currentId: null, thrWareHouseVisible: false, sysList: [], @@ -942,6 +944,21 @@ export default { } return CurrentDate }, + + uploadInvwarehouse() { + let tempQuery = {}; + uploadStatus(tempQuery) + .then((response) => { + if (response.code == 20000) { + this.$message.success(response.data); + } else { + this.$message.error(response.message); + } + }) + .catch(() => { + }); + }, + exportInvwarehouse() { let tquery = {}; exportJson(tquery).then((response) => { @@ -996,7 +1013,7 @@ export default { }); }, changeLevel(row) { - this.formData.pcode =null; + this.formData.pcode = null; this.getParentInv(this.formData.level); }, @@ -1220,7 +1237,7 @@ export default { this.$message.error("第三方仓库数据加载失败"); }); }, - changeThrWarehouse(row){ + changeThrWarehouse(row) { this.checkThrWarehouseRow = row; }, hideThrWarehouseTable() { diff --git a/src/views/thrsys/ThrOrderImport.vue b/src/views/thrsys/ThrOrderImport.vue index ea49296..9f8b957 100644 --- a/src/views/thrsys/ThrOrderImport.vue +++ b/src/views/thrsys/ThrOrderImport.vue @@ -162,6 +162,7 @@ import {getBussinessType} from "../../api/basic/bussinessType"; import thrOrderImportDetail from "./ThrOrderImportDetail"; import thrOrderSelect from "./ThrOrderSelect"; + import store from "@/store"; export default { data() { diff --git a/src/views/userManage/param/systemParamConfig.vue b/src/views/userManage/param/systemParamConfig.vue index 342be9a..ec848d0 100644 --- a/src/views/userManage/param/systemParamConfig.vue +++ b/src/views/userManage/param/systemParamConfig.vue @@ -13,10 +13,10 @@ - - - - + + + + diff --git a/src/views/warehouse/IONewOrder.vue b/src/views/warehouse/IONewOrder.vue index 7393c09..ba47c67 100644 --- a/src/views/warehouse/IONewOrder.vue +++ b/src/views/warehouse/IONewOrder.vue @@ -15,7 +15,7 @@ - + --> - + --> - + {