qymljy 3 лет назад
Родитель
Сommit
2e410f238d

+ 3 - 2
src/Form/marketing2/agent/add.vue

@@ -63,7 +63,7 @@
           </el-col>
           <el-col :span="12">
             <el-form-item label="经销商类型:" prop="type">
-              <el-select style="width:100%" v-model="form.type" placeholder="请选择">
+              <el-select style="width:100%" v-model="form.type[0]" placeholder="请选择">
                 <el-option
                   v-for="item in agent_type"
                   :key="item.value"
@@ -175,7 +175,8 @@ export default {
         "sa_saleareaids": [
 
         ],
-        "type": "",
+        "type": [],
+        'cooperationstatus':'正式',
         "erpagentnum": "",
         "isservice": 1, //是否服务商,0或1
         "limitreturnday": "", //订单可退货天数

+ 3 - 2
src/Form/marketing2/agent/edit.vue

@@ -76,7 +76,7 @@
             </el-col>
             <el-col :span="12">
             <el-form-item label="经销商类型:" prop="type">
-              <el-select style="width:100%" v-model="form.type" placeholder="请选择">
+              <el-select style="width:100%" v-model="form.type[0]" placeholder="请选择">
                 <el-option
                   v-for="item in agent_type"
                   :key="item.value"
@@ -191,7 +191,8 @@ export default {
         "sa_saleareaids": [
 
         ],
-        "type": "",
+        "type": [],
+        'cooperationstatus':'正式',
         "erpagentnum": "",
         "isservice": 1, //是否服务商,0或1
         "limitreturnday": "", //订单可退货天数

+ 1 - 1
src/HManagement/marketing2/agent/details/index.vue

@@ -212,7 +212,7 @@ export default {
         },
         {
           label:'经销商类型',
-          value: this.mainData.type
+          value: this.mainData.type[0]
         },
         {
           label:'上级经销商',