소스 검색

fix: 委托管理 详情

32197351@qq.com 2 년 전
부모
커밋
314950c305

+ 1 - 1
itdmWeb/src/views/module-iTDM/weituo/modules/ItdmWeituoInfoForm.vue

@@ -10,7 +10,7 @@
     <div class="content">
       <step1 v-if="currentTab === 0" ref="data001" @nextStep="nextStep" />
       <step2 v-if="currentTab === 1" @prevStep="prevStep" @nextStep="nextStep" />
-      <step3 v-if="currentTab === 2" @submitForm="submitForm" @prevStep="prevStep" />
+      <step3 v-if="currentTab === 2" @submitForm="submitForm" @prevStep="prevStep" :disabled="disabled" />
     </div>
   </a-card>
 

+ 9 - 2
itdmWeb/src/views/module-iTDM/weituo/modules/step/Step3.vue

@@ -82,7 +82,7 @@
 
     <a-form-item :wrapperCol="{span: 19, offset: 5}">
       <a-button style="margin-left: 8px" @click="prevStep">上一步</a-button>
-      <a-button style="margin-left: 8px" @click="submitForm">提交</a-button>
+      <a-button v-if="!disabled" style="margin-left: 8px" @click="submitForm">提交</a-button>
 
 
     </a-form-item>
@@ -97,7 +97,14 @@
 export default {
   name: 'step3',
 
-  props: {},
+  props: {
+    //表单禁用
+    disabled: {
+      type: Boolean,
+      default: false,
+      required: false
+    }
+  },
   data() {
     return {
       yangpins: {},