Sfoglia il codice sorgente

fix:修改财务管理问题

lazy 5 mesi fa
parent
commit
485c2f708e

+ 2 - 2
src/views/financialManagement/addAccounts.vue

@@ -7,10 +7,10 @@
     </div> -->
     <div slot="bottom">
       <div class="tempalte-content" style="min-height: auto; padding: 0px 20px ">
-        <!-- 入账 -->
-        <add-accounts-content v-if="settleType === '1'" ref="addAccountsContent" :disabled="disabled" />
         <!-- 出账 -->
         <edit-exit-account v-if="settleType === '2'" ref="exitAccountsContent" :disabled="disabled"></edit-exit-account>
+        <!-- 入账 -->
+        <add-accounts-content v-else ref="addAccountsContent" :disabled="disabled" />
         <div v-if="!disabled" class="submit-btn">
           <el-button style="width: 150px;" @click="() => { $router.go(-1) }">取消</el-button>
           <el-button style="width: 150px;" type="primary" @click="onSubmit">确定</el-button>

+ 2 - 1
src/views/financialManagement/components/EditExitAccount.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="add-accounts-content">
-    <el-form ref="ruleForm" :key="key" :model="ruleForm" :rules="rules" label-width="150px" label-position="top" class="rule-form-orange">
+    <!-- :rules="rules" -->
+    <el-form ref="ruleForm" :key="key" :model="ruleForm" label-width="150px" label-position="top" class="rule-form-orange">
       <cy-info-title>出账信息</cy-info-title>
       <el-form-item label="核心企业名称" prop="customerName">
         <el-input