diff --git a/src/views/basic/BussinessType.vue b/src/views/basic/BussinessType.vue
index 02f93cf..b0e8fcc 100644
--- a/src/views/basic/BussinessType.vue
+++ b/src/views/basic/BussinessType.vue
@@ -77,6 +77,7 @@
编辑
删除
编辑
删除
编辑
删除
新增
@@ -85,6 +86,7 @@
编辑
删除
{
});
- }
- ,
+ },
+ getSyncConfig() {
+ findConfig()
+ .then((response) => {
+ if (response.code == 20000) {
+ this.configParms = response.data;
+ }
+ })
+ .catch(() => {
+ });
+ },
+
}
,
mounted() {
@@ -702,6 +717,7 @@ export default {
,
created() {
this.getList();
+ this.getSyncConfig();
this.getBasicThirdSys();
}
,
diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue
index 732ff5a..a7fa25c 100644
--- a/src/views/basic/invWarehouse.vue
+++ b/src/views/basic/invWarehouse.vue
@@ -29,6 +29,7 @@
查询
添加仓库
@@ -42,9 +43,9 @@
:on-success="handleChange"
:file-list="fileList"
>
- 导入
+ 导入
- 导出
+ 导出
@@ -115,6 +116,7 @@
编辑
删除
添加用户
+ :disabled="currentRow.status == 0 || !configParms.basicInv">添加用户
添加单据类型
+ :disabled="currentRow.status == 0 || !configParms.basicInv">添加单据类型
{
+ if (response.code == 20000) {
+ this.configParms = response.data;
+ }
+ })
+ .catch(() => {
+ });
+ },
},
filters: {
statusFilterType(status) {
@@ -1290,6 +1304,7 @@ export default {
// 加载表格数据
this.init();
this.getList();
+ this.getSyncConfig();
},
};
diff --git a/src/views/thrsys/ThrInvWarehouse.vue b/src/views/thrsys/ThrInvWarehouse.vue
index dcd67ef..948f3f2 100644
--- a/src/views/thrsys/ThrInvWarehouse.vue
+++ b/src/views/thrsys/ThrInvWarehouse.vue
@@ -33,6 +33,7 @@
查询
添加仓库
@@ -74,7 +75,7 @@
编辑
删除
{
+ if (response.code == 20000) {
+ this.configParms = response.data;
+ }
+ })
+ .catch(() => {
+ });
+ },
},
filters: {
statusFilterType(status) {
@@ -597,6 +611,7 @@ export default {
created() {
// 加载表格数据
this.getBasicThirdSys();
+ this.getSyncConfig();
this.getList();
},
};
diff --git a/src/views/thrsys/ThrProducts.vue b/src/views/thrsys/ThrProducts.vue
index 98c0795..8940b1a 100644
--- a/src/views/thrsys/ThrProducts.vue
+++ b/src/views/thrsys/ThrProducts.vue
@@ -49,7 +49,7 @@
查询
- 新增
+ 新增
@@ -84,7 +84,7 @@
>详情
删除
@@ -135,6 +135,7 @@ import {getBasicThirdSys, filterDetailByKey} from "../../api/basic/basicThirdSys
import {selectIp} from "../../api/param/systemParamConfig";
import thrProductsDetail from "./ThrProductsDetail";
import ThrProductsAdd from "@/views/thrsys/ThrProductsAdd";
+import {findConfig} from "@/api/thrsys/spsSyncStatus";
export default {
data() {
@@ -179,7 +180,8 @@ export default {
tyshxydm: null,
qxlb: null,
cpms: null
- }
+ },
+ configParms: {},
};
},
@@ -374,7 +376,17 @@ export default {
this.getList();
}
Object.keys(this.newProductData).forEach(key => this.newProductData[key] = null);
- }
+ },
+ getSyncConfig() {
+ findConfig()
+ .then((response) => {
+ if (response.code == 20000) {
+ this.configParms = response.data;
+ }
+ })
+ .catch(() => {
+ });
+ },
},
components: {
thrProductsDetail, ThrProductsAdd
@@ -383,6 +395,7 @@ export default {
},
created() {
this.getBasicThirdSys();
+ this.getSyncConfig();
},
};
diff --git a/src/views/userManage/admin/authAdmin.vue b/src/views/userManage/admin/authAdmin.vue
index d5346b9..9f5f932 100644
--- a/src/views/userManage/admin/authAdmin.vue
+++ b/src/views/userManage/admin/authAdmin.vue
@@ -70,13 +70,14 @@
编辑
删除