yusheng il y a 11 mois
Parent
commit
38826e6df1

+ 4 - 4
src/views/financialManage/invoiceManage/components/addOrEditDialog.vue

@@ -174,10 +174,10 @@
             <el-input
               v-model="form.companyName"
               placeholder="请输入"
-              v-if="enterprisePage.length <= 1 || form.type == 2"
+              v-if="enterprisePage.length <= 1 || form.type == 1"
             />
             <el-select
-              v-if="enterprisePage.length > 1 && form.type == 1"
+              v-if="enterprisePage.length > 1 && form.type == 2"
               style="width: 100%"
               v-model="form.companyName"
               placeholder="请选择"
@@ -217,10 +217,10 @@
             <el-input
               v-model="form.receiverName"
               placeholder="请输入"
-              v-if="enterprisePage.length <= 1 || form.type == 1"
+              v-if="enterprisePage.length <= 1 || form.type == 2"
             />
             <el-select
-              v-if="enterprisePage.length > 1 && form.type == 2"
+              v-if="enterprisePage.length > 1 && form.type == 1"
               style="width: 100%"
               v-model="form.receiverName"
               placeholder="请选择"