diff --git a/src/views/factoryModel/customer/addOrEdit.vue b/src/views/factoryModel/customer/addOrEdit.vue
index 3e61e58..96f0bc4 100644
--- a/src/views/factoryModel/customer/addOrEdit.vue
+++ b/src/views/factoryModel/customer/addOrEdit.vue
@@ -186,6 +186,9 @@ export default {
props: {
item: {
default: null,
+ },
+ getStatusArray: {
+ default: []
}
},
data() {
@@ -194,7 +197,6 @@ export default {
formData: {
selectedOptions: [],
},
- getStatusArray: [],
options: regionData,
// 表单校验
rules: {
@@ -224,9 +226,6 @@ export default {
}
},
created() {
- this.getStanderOne({ statid: 'wm_clientstatus' }).then((res) => {
- this.getStatusArray = res.data
- })
get('/admin/ap/custdemandmodel/selectlist').then(({code, data=[]}) => {
if (code === 200) {
this.demandModelArray = data
diff --git a/src/views/factoryModel/customer/index.vue b/src/views/factoryModel/customer/index.vue
index dfd20f1..95d3fd6 100644
--- a/src/views/factoryModel/customer/index.vue
+++ b/src/views/factoryModel/customer/index.vue
@@ -21,12 +21,19 @@
-
+
{{ getWorkshopName(scope.row['Customer-PlantNr']) }}
-
+ {{
+ mappingText(getStatusArray, scope.row["Customer-Status"], 'Stdef-StdefTyp', 'Stdef-Bez')
+ }}
{{ scope.row[item] }}
@@ -42,7 +49,12 @@
-
+
@@ -67,34 +79,40 @@ export default {
"Customer-PlantNr",
"Customer-CustomerId",
"Customer-Name1",
- "Customer-Name2",
+ // "Customer-Name2",
"Customer-ValidStartDate",
- "Customer-Country",
+ // "Customer-Country",
"Customer-Province",
"Customer-City",
"Customer-District",
- "Customer-Street",
- "Customer-Location",
- "Customer-PostCode",
- "Customer-Phone",
- "Customer-Mobile",
- "Customer-Fax",
- "Customer-Email1",
- "Customer-Email2",
- "Customer-ContactPerson",
- "Customer-PersonTitle",
- "Customer-ContactAddress",
- "Customer-Account",
- "Customer-TaxRate",
+ // "Customer-Street",
+ // "Customer-Location",
+ // "Customer-PostCode",
+ // "Customer-Phone",
+ // "Customer-Mobile",
+ // "Customer-Fax",
+ // "Customer-Email1",
+ // "Customer-Email2",
+ // "Customer-ContactPerson",
+ // "Customer-PersonTitle",
+ // "Customer-ContactAddress",
+ // "Customer-Account",
+ // "Customer-TaxRate",
"Customer-Status",
"Customer-LastModify",
"Customer-LastUser",
"Customer-CreateTime",
"Customer-LockWeeks"
],
- tableHeight:0
+ tableHeight:0,
+ getStatusArray: [],
};
},
+ created() {
+ this.getStanderOne({ statid: 'wm_clientstatus' }).then((res) => {
+ this.getStatusArray = res.data
+ })
+ },
methods: {
// 搜索按钮操作
handleQuery() {