diff --git a/public/config.json b/public/config.json index 5c4341b..61112ea 100644 --- a/public/config.json +++ b/public/config.json @@ -1,5 +1,5 @@ { - "BASE_URL": "http://192.168.1.2:9996", - "SERVER_IP": "http://192.168.1.2:9996", + "BASE_URL": "http://192.168.0.109:9996", + "SERVER_IP": "http://192.168.0.109:9996", "hosp_name": "诏安县总医院(测试)" } diff --git a/src/views/basic/BussinessType.vue b/src/views/basic/BussinessType.vue index d0b971c..4f4243e 100644 --- a/src/views/basic/BussinessType.vue +++ b/src/views/basic/BussinessType.vue @@ -211,6 +211,7 @@ export default { scanPreIn: null, vailInv: null, codeFillCheck: null, + defaultSubInv: null, }, enableMap: { true: "是", @@ -355,8 +356,8 @@ export default { scanPreIn: row.scanPreIn, vailInv: row.vailInv, codeFillCheck: row.codeFillCheck, - changeEnable: row.changeEnable - + changeEnable: row.changeEnable, + defaultSubInv: row.defaultSubInv }; this.modifyDialogVisible = true; diff --git a/src/views/basic/BussinessTypeModify.vue b/src/views/basic/BussinessTypeModify.vue index 8aa7532..1c92c85 100644 --- a/src/views/basic/BussinessTypeModify.vue +++ b/src/views/basic/BussinessTypeModify.vue @@ -43,24 +43,6 @@ - - - - - - - - - - - - - - - - - -
@@ -118,25 +100,6 @@
- - - - - - - - - - - - - - - - - - - @@ -145,11 +108,6 @@
特殊单据往来: 
- - - - - - + +
+
+ 补单默认分库:  +
+ + + {{ item.name }} + + +
+
+ +
备注:  @@ -215,13 +191,10 @@
启用单据类型 - 允许手动输入客户信息 以使用单元计量出库 - -
@@ -302,12 +275,6 @@ - - - - - -
{ }); }, + findDefaultSubInv() { + this.subInvList = []; + let query = { + pcode: "1000" + }; + filterSubByInv(query) + .then((response) => { + this.subInvList = response.data || []; + }) + .catch(() => { + }); + }, }, computed: { corpType() { @@ -526,6 +507,7 @@ export default { this.getList(); this.getStorage(); this.findSpecialMethod(); + this.findDefaultSubInv(); }, }; diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 601e795..d46d257 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -150,7 +150,7 @@ > diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue index 187d01e..2a97213 100644 --- a/src/views/inventory/InvProducts.vue +++ b/src/views/inventory/InvProducts.vue @@ -112,6 +112,8 @@ width="120"> + @@ -1124,38 +1160,38 @@ export default {