wyh 1 yıl önce
ebeveyn
işleme
63ea513cb2

+ 6 - 3
src/views/module_base/energyRate/modules/EnergyRateForm.vue

@@ -47,8 +47,8 @@
             </a-form-model-item>
           </a-col>
         </a-row>
-      </a-form-model>
-     </j-form-container>
+      <!-- </a-form-model>
+     </j-form-container> -->
       <!-- 子表单区域 -->
       <div class="cmms-dialog-item-title">价格信息表详情</div>
       <a-button type="primary" style="margin-bottom:10px;" @click="newMember">新增</a-button>
@@ -100,6 +100,8 @@
           </span>
         </template>
       </a-table>
+      </a-form-model>
+    </j-form-container>
       <!-- <a-tabs v-model="activeKey" @change="handleChangeTabs">
         <a-tab-pane tab="详情" :key="refKeys[0]" :forceRender="true">
           <j-editable-table
@@ -420,11 +422,12 @@
         this.model.data = newData
       },
       submitForm () {
+        console.log(1111)
         const that = this;
         // 触发表单验证
         this.$refs.form.validate(valid => {
           if (valid) {
-            console.log(1111)
+            console.log(22222)
             // that.confirmLoading = true;
             // let httpurl = '';
             // let method = '';