From dfa73e1e29a2a3d459795602f62a7e978a93771f Mon Sep 17 00:00:00 2001 From: zhengmingliang Date: Tue, 1 Nov 2022 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8C=E6=AD=A5=E5=8B=BE?= =?UTF-8?q?=E9=80=89=E7=AC=AC=E4=B8=89=E6=96=B9=E5=BE=80=E6=9D=A5=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E6=97=B6=E5=80=99=E5=8F=96=E6=B6=88=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/basicProductEdit.vue | 3 +++ src/views/thrsys/ThrCorps.vue | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/views/basic/basicProductEdit.vue b/src/views/basic/basicProductEdit.vue index 20b23d2..acad32c 100644 --- a/src/views/basic/basicProductEdit.vue +++ b/src/views/basic/basicProductEdit.vue @@ -952,6 +952,9 @@ export default { }, created() { this.relId = this.editQuery.rlId; + if(this.editQuery.isUseDy==1){ + this.checked=true + } this.findBasicProductSet(); }, components: { diff --git a/src/views/thrsys/ThrCorps.vue b/src/views/thrsys/ThrCorps.vue index 2c46de8..9098fff 100644 --- a/src/views/thrsys/ThrCorps.vue +++ b/src/views/thrsys/ThrCorps.vue @@ -49,7 +49,7 @@ @@ -73,6 +73,7 @@ import {getBasicThirdSys, filterDetailByKey} from "../../api/basic/basicThirdSys"; import {ucloudUnit} from "../../api/basic/basicUnitMaintain"; import {selectIp} from "../../api/param/systemParamConfig"; + import {findConfig} from "../../api/thrsys/spsSyncStatus"; export default { data() { @@ -89,6 +90,7 @@ thirdSys: [], thirdSysDetail: null, uploadFileUrl: null, + delFalg:true, fileList: [], uploadData: { thirdSys: "thirdId", @@ -248,6 +250,15 @@ }); }, + getConFig(){ + findConfig().then((response) =>{ + if (response.code == 20000) { + this.delFalg=response.data.basicThirdCorp; + } else { + this.$message.error(response.message); + } + }); + }, downloadDatas() { let query = { thirdSysFk: this.filterQuery.thirdSys @@ -266,7 +277,9 @@ mounted() { }, created() { + this.getConFig(); this.getBasicThirdSys(); + }, };