From 9da0f2bcbe86206a37a369099c191e40bd0034be Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 21 Dec 2022 11:55:10 +0800 Subject: [PATCH 1/3] =?UTF-8?q?DI=E4=BA=A7=E5=93=81=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E5=BA=93=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.json | 4 ++-- src/views/basic/basicProductEdit.vue | 2 +- src/views/thrsys/SysUdimsConfig.vue | 1 - src/views/warehouse/IONewOrder.vue | 5 ----- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/public/config.json b/public/config.json index fc9ceba..ea701d5 100644 --- a/public/config.json +++ b/public/config.json @@ -1,6 +1,6 @@ { - "BASE_URL": "http://192.168.0.166:9996", - "SERVER_IP": "http://192.168.0.166:9996", + "BASE_URL": "http://192.168.0.166:9906", + "SERVER_IP": "http://192.168.0.166:9906", "hosp_name": "福建省XX市医院" } diff --git a/src/views/basic/basicProductEdit.vue b/src/views/basic/basicProductEdit.vue index b256fe0..d5f044f 100644 --- a/src/views/basic/basicProductEdit.vue +++ b/src/views/basic/basicProductEdit.vue @@ -987,7 +987,7 @@ export default { this.selectVersionVisible = true; this.uuid = this.editQuery.uuid; this.originUuid = this.editQuery.originUuid; - this.relId = this.editQuery.id; + this.relId = this.editQuery.rlId; }, updateVersion() { diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue index 7e90eeb..519e0e4 100644 --- a/src/views/thrsys/SysUdimsConfig.vue +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -26,7 +26,6 @@ - diff --git a/src/views/warehouse/IONewOrder.vue b/src/views/warehouse/IONewOrder.vue index 3a6b863..81abc54 100644 --- a/src/views/warehouse/IONewOrder.vue +++ b/src/views/warehouse/IONewOrder.vue @@ -55,8 +55,6 @@ - - Date: Wed, 21 Dec 2022 13:20:39 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/DialogInvProduct.vue | 4 +++ src/views/purchase/purPlanEditDialog.vue | 3 --- src/views/thrsys/thrOrderNew.vue | 26 +++---------------- src/views/warehouse/IONewOrder.vue | 1 + src/views/warehouse/addHosOrder.vue | 5 ++-- .../warehouse/selectReceiveOrderDialog.vue | 2 +- src/views/warehouse/stockHospOrderNew.vue | 1 + .../warehouse/stockOrderNewSelectProduct.vue | 3 ++- 8 files changed, 15 insertions(+), 30 deletions(-) diff --git a/src/views/inventory/DialogInvProduct.vue b/src/views/inventory/DialogInvProduct.vue index fc16deb..6c67f98 100644 --- a/src/views/inventory/DialogInvProduct.vue +++ b/src/views/inventory/DialogInvProduct.vue @@ -152,6 +152,7 @@ export default { }, methods: { onReset() { + this.$router.push({ path: "", }); @@ -165,6 +166,8 @@ export default { supId: null, page: 1, limit: 10, + invStorageCode:this.invQueryData.locStorageCode, + invWarehouseCode:this.invQueryData.invWarehouseCode }; this.getList(); }, @@ -333,6 +336,7 @@ export default { }; }, created() { + this.getBusType(); let query = this.$route.query; diff --git a/src/views/purchase/purPlanEditDialog.vue b/src/views/purchase/purPlanEditDialog.vue index ae61822..d0e319a 100644 --- a/src/views/purchase/purPlanEditDialog.vue +++ b/src/views/purchase/purPlanEditDialog.vue @@ -356,9 +356,6 @@ export default { if (this.formData.billDate == "" || this.formData.billDate == null) { return this.$message.error("单据日期不能为空!"); } - if(this.formData.billType=="" || this.formData.billType==null){ - return this.$message.error("采购类型不能为空!"); - } if(this.formData.invWarehouseCode=="" || this.formData.invWarehouseCode==null){ return this.$message.error("采购分库不能为空!"); diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index 4590b9c..3054d23 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -499,7 +499,9 @@ export default { this.subInvList = response.data || []; if (this.subInvList != null && this.subInvList.length == 1) { this.formData.invWarehouseCode = this.subInvList[0].code; + this.formData.locStorageCode = this.subInvList[0].parentId; this.getBusType(); + this.findSubStorageMethod(); } }) .catch(() => { @@ -514,30 +516,11 @@ export default { } }, - //往来仓库 - findStorageMethod() { - if (this.formData.locStorageCode == null) - return; - this.fromStorageOptions = []; - let cQuery = { - locInvCode: this.formData.locStorageCode, - }; - filterAllByLoc(cQuery) - .then((response) => { - let temp = response.data || []; - for (let i = 0; i < temp.length; i++) { - if (temp[i].code != this.formData.locStorageCode) { - this.fromStorageOptions.push(temp[i]); - } - } - }) - .catch(() => { - }); - }, //往来分库 findSubStorageMethod() { + debugger let cQuery = { code: this.formData.invWarehouseCode, filter: 2, @@ -918,7 +901,6 @@ export default { } this.formData.locStorageCode = item; this.$forceUpdate(); - this.findStorageMethod(); this.findSubInvs(); }, @@ -960,7 +942,7 @@ export default { this.getBusType(); this.findSubInvs(); - this.findSubStorageMethod(); + // this.findSubInvByInv(); this.codeArray = []; this.closeConfirmFunction(false); diff --git a/src/views/warehouse/IONewOrder.vue b/src/views/warehouse/IONewOrder.vue index 81abc54..26e9c1a 100644 --- a/src/views/warehouse/IONewOrder.vue +++ b/src/views/warehouse/IONewOrder.vue @@ -476,6 +476,7 @@ export default { this.idQuery.corpOrderId = ''; this.idQuery.outChangeEnable = row.outChangeEnable; if (row.id !== null && row.id !== undefined && row.id !== '') { + this.idQuery.id = row.id; this.idQuery.actDate = row.actDate; this.idQuery.corpOrderId = row.corpOrderId; diff --git a/src/views/warehouse/addHosOrder.vue b/src/views/warehouse/addHosOrder.vue index 292b45b..74f959a 100644 --- a/src/views/warehouse/addHosOrder.vue +++ b/src/views/warehouse/addHosOrder.vue @@ -1005,7 +1005,6 @@ export default { }; filterSubByInv(cQuery) .then((response) => { - this.fromSubStorageOptions = response.data || []; if (val == 1) { @@ -1182,7 +1181,7 @@ export default { }, created() { - + debugger this.formData.code = ''; this.formData.actDate = new Date(); this.codeArray = []; @@ -1221,9 +1220,9 @@ export default { if (this.$isNotBlank(this.formData.locStorageCode)) { this.findStorageMethod(); } + this.findSubStorageMethod(); } this.findSubInvByInv(); - this.findSubStorageMethod(); this.getBusType(); //查询是否启用多级仓库,判断是否启用部门 diff --git a/src/views/warehouse/selectReceiveOrderDialog.vue b/src/views/warehouse/selectReceiveOrderDialog.vue index 0d2459a..5755bfb 100644 --- a/src/views/warehouse/selectReceiveOrderDialog.vue +++ b/src/views/warehouse/selectReceiveOrderDialog.vue @@ -80,7 +80,7 @@ - + diff --git a/src/views/warehouse/stockHospOrderNew.vue b/src/views/warehouse/stockHospOrderNew.vue index fe3a0bc..10fd8ee 100644 --- a/src/views/warehouse/stockHospOrderNew.vue +++ b/src/views/warehouse/stockHospOrderNew.vue @@ -800,6 +800,7 @@ export default { }; this.selectInvProductVisible = true; } else { + this.selectProductVisible = true; } return; diff --git a/src/views/warehouse/stockOrderNewSelectProduct.vue b/src/views/warehouse/stockOrderNewSelectProduct.vue index d7aacaa..8876fd3 100644 --- a/src/views/warehouse/stockOrderNewSelectProduct.vue +++ b/src/views/warehouse/stockOrderNewSelectProduct.vue @@ -302,10 +302,11 @@ export default { this.getList(); }, getList() { + debugger this.loading = true; this.listQuery.customerId = store.getters.customerId; - if(this.listQuery.customerId==110 && this.data.formData!=null && this.data.formData!=undefined){ + if(this.listQuery.customerId==110 && this.data.formData!=null && this.data.formData!=undefined && this.data.formData.noInvOut==false){ this.listQuery.companyName=this.data.formData.corpName } if(this.listQuery.customerId!=110 && this.data!=null && this.data!=undefined){ From f31dbef3d582a516097c128076bec412283d4c3c Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 21 Dec 2022 17:51:06 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8D=95=E6=8D=AE=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=AA=E7=95=99=E4=B8=80=E4=B8=AA=E5=88=86?= =?UTF-8?q?=E5=BA=93=EF=BC=8C=E7=94=B3=E8=B4=AD=E8=AE=A1=E5=88=92=E7=9B=B8?= =?UTF-8?q?=E5=85=B3bug=E4=BF=AE=E6=94=B9=EF=BC=8C=20=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E4=BA=A7=E5=93=81=E4=BF=A1=E6=81=AF=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/purchase/pureApplyDetailDialog.vue | 84 +- src/views/thrsys/ThrDiProductsCheck.vue | 1 + src/views/thrsys/thrOrderNew.vue | 1 - src/views/warehouse/IOCheckErrOrder.vue | 2184 +++++++++-------- src/views/warehouse/IONewOrder.vue | 37 +- src/views/warehouse/IOSearchOrder.vue | 1821 +++++++------- src/views/warehouse/IOWaitOrder.vue | 36 +- src/views/warehouse/addHosOrder.vue | 1 - src/views/warehouse/addOrder.vue | 1846 +++++++------- src/views/warehouse/stockOrder.vue | 35 +- src/views/warehouse/stockOrderDelSearch.vue | 34 +- src/views/warehouse/stockOrderEditor.vue | 37 +- src/views/warehouse/stockOrderNew.vue | 37 +- .../warehouse/stockOrderNewSelectProduct.vue | 2 - src/views/warehouse/stockOrderSearch.vue | 34 +- src/views/warehouse/stockOrderWaitCheck.vue | 35 +- 16 files changed, 3133 insertions(+), 3092 deletions(-) diff --git a/src/views/purchase/pureApplyDetailDialog.vue b/src/views/purchase/pureApplyDetailDialog.vue index 9ad842c..7f0e94f 100644 --- a/src/views/purchase/pureApplyDetailDialog.vue +++ b/src/views/purchase/pureApplyDetailDialog.vue @@ -61,18 +61,20 @@ - - - {{ item.name }} - {{ item.warehouseName }} - - + + + {{ item.name }} + {{ + item.warehouseName + }} + + @@ -88,22 +90,8 @@ disabled autosize> - - - - {{ item.name }} - {{ item.warehouseName }} - - - - @@ -150,12 +138,34 @@ - - + + +
+ 采购科室: +
+
+ + + + + {{ item.name }} + {{ + item.warehouseName + }} + + + + +
- @@ -213,7 +223,6 @@ - { @@ -560,7 +572,9 @@ export default { } this.getStorage(); this.findSubInvs(); - this.getTargetStorage(); + // this.getTargetStorage(); + + this.findTargetSubInvs(); this.codeArray = []; this.getBusType(); }, diff --git a/src/views/thrsys/ThrDiProductsCheck.vue b/src/views/thrsys/ThrDiProductsCheck.vue index 8159db5..ae55baa 100644 --- a/src/views/thrsys/ThrDiProductsCheck.vue +++ b/src/views/thrsys/ThrDiProductsCheck.vue @@ -187,6 +187,7 @@ export default { }, checDialog(row) { this.checkVisible = true; + this.remark = ""; this.curRow = row; }, search() { diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index 3054d23..144d194 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -520,7 +520,6 @@ export default { //往来分库 findSubStorageMethod() { - debugger let cQuery = { code: this.formData.invWarehouseCode, filter: 2, diff --git a/src/views/warehouse/IOCheckErrOrder.vue b/src/views/warehouse/IOCheckErrOrder.vue index 9f6355c..9ca62de 100644 --- a/src/views/warehouse/IOCheckErrOrder.vue +++ b/src/views/warehouse/IOCheckErrOrder.vue @@ -1,450 +1,450 @@ @@ -969,10 +970,10 @@ export default { diff --git a/src/views/warehouse/IOWaitOrder.vue b/src/views/warehouse/IOWaitOrder.vue index 58bec5c..c0043ca 100644 --- a/src/views/warehouse/IOWaitOrder.vue +++ b/src/views/warehouse/IOWaitOrder.vue @@ -33,21 +33,21 @@ + + + + + + + + + + + + + - - - {{ item.name }} - - - - - { this.subInvList = response.data || []; + this.getList(); }) .catch(() => { }); @@ -1009,7 +1011,7 @@ export default { }, created() { - this.getStorage(); + this.getSubInvList(); this.getBusType(); let query = this.$route.query; this.query = Object.assign(this.query, query); diff --git a/src/views/warehouse/addHosOrder.vue b/src/views/warehouse/addHosOrder.vue index 74f959a..9ff868d 100644 --- a/src/views/warehouse/addHosOrder.vue +++ b/src/views/warehouse/addHosOrder.vue @@ -1181,7 +1181,6 @@ export default { }, created() { - debugger this.formData.code = ''; this.formData.actDate = new Date(); this.codeArray = []; diff --git a/src/views/warehouse/addOrder.vue b/src/views/warehouse/addOrder.vue index 48aa454..b8c425b 100644 --- a/src/views/warehouse/addOrder.vue +++ b/src/views/warehouse/addOrder.vue @@ -1,308 +1,308 @@