Sfoglia il codice sorgente

我的客户编辑修改

qymljy 2 anni fa
parent
commit
1aa5691374
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      src/Form/salerPrivatecustomer/edit.vue

+ 4 - 2
src/Form/salerPrivatecustomer/edit.vue

@@ -256,7 +256,8 @@ export default {
         customergrade:"",
         ispublic:0,//1:公海客户,0:私域客户,自己新建的
         telephone: "",
-        sa_agentsid: ""
+        sa_agentsid: "",
+        value:''
       },
       options:{
         type:[],
@@ -350,11 +351,12 @@ export default {
         this.form.enterprisename = val.companyName
         this.form.address = val.address === "-" ? '' : val.address
         this.form.taxno = val.taxNum
-        this.value = [val.regProvince,val.regCity,val.regArea]
+        this.form.value = [val.regProvince,val.regCity,val.regArea]
         this.form.province = val.regProvince
         this.form.city = val.regCity
         this.form.county = val.regArea
         this.form.contact = val.legalPerson
+
       }).catch(() => {
         this.businessShow = false
         this.$message({