zangbin 3 tahun lalu
induk
melakukan
1bf8dfa116
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 5 2
      web-ui/src/views/module/merchant/dadaVerify.vue

+ 5 - 2
web-ui/src/views/module/merchant/dadaVerify.vue

@@ -73,7 +73,7 @@
     <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="130px">
         <el-form-item label="商户编号" prop="thirdShopId">
-          <el-input style="width:500px" v-model="form.thirdShopId" placeholder="请输入商户编号" :disabled="this.oldThirdShopId != undefined" />
+          <el-input style="width:500px" v-model="form.thirdShopId" placeholder="请输入商户编号" :disabled="this.oldThirdShopId != undefined && form.status != 3" />
         </el-form-item>
         <el-form-item label="门店编号" prop="dadaShopNo">
           <el-input style="width:500px" v-model="form.dadaShopNo" placeholder="请输入门店编号" />
@@ -197,7 +197,8 @@ export default {
         thirdShopId: undefined,
         dadaShopNo: undefined,
         mobile: undefined,
-        account: undefined
+        account: undefined,
+        status: undefined
       };
       this.resetForm("form");
     },
@@ -224,11 +225,13 @@ export default {
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
+      console.log('达达信息', row)
       this.reset();
       this.form.id = row.id
       this.oldThirdShopId = row.thirdShopId
       this.form.thirdShopId = row.thirdShopId
       this.form.account = row.account
+      this.form.status = row.status
       this.open = true;
       this.title = "修改达达门店资料";
     },