diff --git a/public/config.json b/public/config.json index 61112ea..407ca2c 100644 --- a/public/config.json +++ b/public/config.json @@ -1,5 +1,5 @@ { - "BASE_URL": "http://192.168.0.109:9996", - "SERVER_IP": "http://192.168.0.109:9996", + "BASE_URL": "http://139.9.178.73:8080/SPMS_SERVER", + "SERVER_IP": "http://139.9.178.73:8080/SPMS_SERVER", "hosp_name": "诏安县总医院(测试)" } diff --git a/src/api/inventory/InvPreInProducts.js b/src/api/inventory/InvPreInProducts.js new file mode 100644 index 0000000..6de1c9f --- /dev/null +++ b/src/api/inventory/InvPreInProducts.js @@ -0,0 +1,36 @@ +import axios from "../../utils/axios"; + + +export function filterProducts(query) { + return axios({ + url: "/spms/prein/inv/products/filter", + method: "get", + params: query + }); +} + +export function filterDetailProducts(query) { + return axios({ + url: "/spms/prein/inv/products/filterDetail", + method: "get", + params: query + }); +} + +export function deleteProducts(query) { + return axios( + { + url: "/spms/prein/inv/products/delete", + method: "post", + data: query + } + ) +} +export function statDetailProducts(query) { + return axios({ + url: "/spms/prein/inv/products/stat", + method: "get", + params: query + }); +} + diff --git a/src/api/thrsys/spsSyncStatus.js b/src/api/thrsys/spsSyncStatus.js index 61be1dd..a6ca2e2 100644 --- a/src/api/thrsys/spsSyncStatus.js +++ b/src/api/thrsys/spsSyncStatus.js @@ -25,3 +25,21 @@ export function createSchedule(query) { data: query }); } + + +export function findConfig(query) { + return axios({ + url: "/system/param/syncData/config", + method: "get", + params: query + }); +} + +export function updateConfig(query) { + return axios({ + url: "/system/param/syncData/save", + method: "post", + data: query + }); +} + diff --git a/src/router/index.js b/src/router/index.js index 644ea24..14dc4c0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -88,10 +88,13 @@ import thrCorpsImport from "../views/thrsys/ThrCorpsImport.vue"; import receiveOrderNew from "../views/thrsys/ThrOrdedrReceiveAdd.vue"; import receiveOrderSearch from "../views/thrsys/ThrOrdedrReceiveSearch.vue"; import spsSyncData from "../views/thrsys/SysUdimsData.vue"; +import syncConfig from "../views/thrsys/SysUdimsConfig.vue"; //库存 import invProducts from "../views/inventory/InvProducts.vue"; import invPreProducts from "../views/inventory/invPreProducts" +import invPreInProducts from "../views/inventory/invPreInProducts" + import supInvProducts from "../views/inventory/supInvProducts.vue"; import supInvPreProducts from "../views/inventory/supInvPreProducts" import invUdiTrace from "@/views/inventory/invUdiTrace"; @@ -300,6 +303,14 @@ export const asyncRouterMap = [ authRule: ["admin/systemParamConfig"] }, }, + { + path: "syncConfig", + name: "同步设置", + component: syncConfig, + meta: { + authRule: ["systemConfig/syncConfig"] + } + }, { path: "bussinessType", name: "扫码单据类型", @@ -324,6 +335,7 @@ export const asyncRouterMap = [ authRule: ["thrsys/thirdSys"] } }, + ] }, { @@ -801,6 +813,15 @@ export const asyncRouterMap = [ authRule: ["inv/invPreProducts"] } }, + { + path: "invPreInProducts", + component: invPreInProducts, + name: "预验收库存查询", + icon: "", + meta: { + authRule: ["inv/invPreInProducts"] + } + }, { path: "udiTrace", component: invUdiTraceOrder, diff --git a/src/views/basic/BussinessTypeLocl.vue b/src/views/basic/BussinessTypeLocl.vue index 66300c6..1894983 100644 --- a/src/views/basic/BussinessTypeLocl.vue +++ b/src/views/basic/BussinessTypeLocl.vue @@ -9,13 +9,6 @@ style="width: 400px" > - - - - - - - @@ -34,16 +27,16 @@ - - - - - + + + diff --git a/src/views/inventory/invPreInProducts.vue b/src/views/inventory/invPreInProducts.vue new file mode 100644 index 0000000..6604456 --- /dev/null +++ b/src/views/inventory/invPreInProducts.vue @@ -0,0 +1,355 @@ + + + + + diff --git a/src/views/inventory/invUdiTrace.vue b/src/views/inventory/invUdiTrace.vue index d948ced..cbc768b 100644 --- a/src/views/inventory/invUdiTrace.vue +++ b/src/views/inventory/invUdiTrace.vue @@ -13,6 +13,7 @@ diff --git a/src/views/inventory/invUdiTraceOrder.vue b/src/views/inventory/invUdiTraceOrder.vue index c3ea5ec..675ad35 100644 --- a/src/views/inventory/invUdiTraceOrder.vue +++ b/src/views/inventory/invUdiTraceOrder.vue @@ -15,6 +15,7 @@ id="inputer" v-model="filterQuery.code" placeholder="UDI码" + clearable ref='inputRef' style="width: 500px" @keypress.enter.native="enterKey($event)" diff --git a/src/views/inventory/supInvPreProducts.vue b/src/views/inventory/supInvPreProducts.vue index 5bad32c..b0ecf8b 100644 --- a/src/views/inventory/supInvPreProducts.vue +++ b/src/views/inventory/supInvPreProducts.vue @@ -4,13 +4,13 @@ - + - + - + @@ -45,25 +45,6 @@ - - - - - - - - - - - - - - - - - - - diff --git a/src/views/inventory/supInvProducts.vue b/src/views/inventory/supInvProducts.vue index 269a45b..4b1efc0 100644 --- a/src/views/inventory/supInvProducts.vue +++ b/src/views/inventory/supInvProducts.vue @@ -4,13 +4,13 @@ - + - + - + diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue new file mode 100644 index 0000000..c9ecd42 --- /dev/null +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -0,0 +1,209 @@ + + + + + diff --git a/src/views/thrsys/SysUdimsData.vue b/src/views/thrsys/SysUdimsData.vue index fa6c894..8cef263 100644 --- a/src/views/thrsys/SysUdimsData.vue +++ b/src/views/thrsys/SysUdimsData.vue @@ -1,103 +1,108 @@ diff --git a/src/views/warehouse/DialogSelectErpOrder.vue b/src/views/warehouse/DialogSelectErpOrder.vue index ed01ed9..b3a6b7e 100644 --- a/src/views/warehouse/DialogSelectErpOrder.vue +++ b/src/views/warehouse/DialogSelectErpOrder.vue @@ -131,7 +131,7 @@ :show-overflow-tooltip="true" > diff --git a/src/views/warehouse/DialogSelectRl.vue b/src/views/warehouse/DialogSelectRl.vue index 8d0c792..6211e8c 100644 --- a/src/views/warehouse/DialogSelectRl.vue +++ b/src/views/warehouse/DialogSelectRl.vue @@ -566,6 +566,7 @@ export default { selectErpDialogVisible: false, //选入ERP产品 selectLocalVisible: false, //关联UDI isUseDyCheck: false, + loading:false, }; }, @@ -585,7 +586,6 @@ export default { getList() { this.loading = true; this.filterQuery.nameCode = this.curRow.nameCode; - console.log(this.curAction.corpType); if (this.curAction != null && this.curAction.corpType == 0) { this.filterQuery.unitFk = this.curRow.fromCorpId; } diff --git a/src/views/warehouse/IOErrorOrder.vue b/src/views/warehouse/IOErrorOrder.vue index dd2b0fc..edffc77 100644 --- a/src/views/warehouse/IOErrorOrder.vue +++ b/src/views/warehouse/IOErrorOrder.vue @@ -69,8 +69,6 @@