祁鹏飞 vor 3 Monaten
Ursprung
Commit
ce26b98e65
2 geänderte Dateien mit 9 neuen und 21 gelöschten Zeilen
  1. 6 18
      src/views/finance/audit.vue
  2. 3 3
      src/views/finance/index.vue

+ 6 - 18
src/views/finance/audit.vue

@@ -78,7 +78,7 @@
                   start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" value-format="YYYY-MM-DD" />
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex; align-items: center; justify-content: flex-end">
+            <el-col :span="16" style="display: flex; align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('0')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -212,7 +212,7 @@
                   start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" value-format="YYYY-MM-DD" />
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('1')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -347,7 +347,7 @@
                   start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" value-format="YYYY-MM-DD" />
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('2')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -486,7 +486,7 @@
                   start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" value-format="YYYY-MM-DD" />
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('3')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -643,13 +643,7 @@ const initList = (type) => {
       pages: pages.value,
       size: size.value,
       receiveUser: localStorage.getItem('userName'),
-      licenseNo: firstForm.value?.licenseNo,
-      attrType: firstForm.value?.attrType,
-      salesman: firstForm.value?.salesman,
-      orderType: firstForm.value?.orderType,
-      companyId: firstForm.value?.companyId,
-      deptId: firstForm.value?.deptId,
-      insurName: firstForm.value?.insurName,
+      ...firstForm.value,
       quotationTimeStart: firstForm.value?.quotationTime?.[0],
       quotationTimeEnd: firstForm.value?.quotationTime?.[1],
       signingTimeStart: firstForm.value?.signingTime?.[0],
@@ -662,13 +656,7 @@ const initList = (type) => {
       pages: pages.value,
       size: size.value,
       receiveUser: localStorage.getItem('userName'),
-      licenseNo: firstForm.value?.licenseNo,
-      attrType: firstForm.value?.attrType,
-      salesman: firstForm.value?.salesman,
-      orderType: firstForm.value?.orderType,
-      companyId: firstForm.value?.companyId,
-      deptId: firstForm.value?.deptId,
-      insurName: firstForm.value?.insurName,
+      ...firstForm.value,
       quotationTimeStart: firstForm.value?.quotationTime?.[0],
       quotationTimeEnd: firstForm.value?.quotationTime?.[1],
       signingTimeStart: firstForm.value?.signingTime?.[0],

+ 3 - 3
src/views/finance/index.vue

@@ -94,7 +94,7 @@
                 </el-select>
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('0')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -239,7 +239,7 @@
                 </el-select>
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('1')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>
@@ -385,7 +385,7 @@
                 </el-select>
               </el-form-item>
             </el-col>
-            <el-col :span="16" style="display: flex;align-items: start; justify-content: flex-end">
+            <el-col :span="16" style="display: flex;align-items: flex-start; justify-content: flex-end">
               <el-button plain @click="handleExport('2')">数据导出</el-button>
               <el-button type="primary" @click="handleSearch">搜索</el-button>
               <el-button plain @click="handleReset">重置</el-button>