Sfoglia il codice sorgente

项目日志:7.28

gubai 2 anni fa
parent
commit
aad6079b8e
4 ha cambiato i file con 16 aggiunte e 24 eliminazioni
  1. BIN
      dist.zip
  2. 4 7
      src/views/contracts/index.vue
  3. 6 7
      src/views/delivery/index.vue
  4. 6 10
      src/views/table/index.vue

BIN
dist.zip


+ 4 - 7
src/views/contracts/index.vue

xqd xqd xqd xqd xqd xqd xqd
@@ -8,7 +8,7 @@
       // //       item.acceptorName === this.search ||
       // //       item.drawersName === this.search -->
         <el-input
-          v-model="formData.name.name"
+          v-model="formData.name"
           placeholder="合同名称/编号、承兑人名称或出票..."
           clearable
           style="width: 100%"
@@ -29,7 +29,6 @@
           </div>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item command="合同状态">合同状态</el-dropdown-item>
-            <el-dropdown-item command="全部">全部</el-dropdown-item>
             <el-dropdown-item command="正常">正常</el-dropdown-item>
             <el-dropdown-item command="删除">删除</el-dropdown-item>
           </el-dropdown-menu>
@@ -48,7 +47,6 @@
           </div>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item command="汇票状态">汇票状态</el-dropdown-item>
-            <el-dropdown-item command="全部">全部</el-dropdown-item>
             <el-dropdown-item command="待审核">待审核</el-dropdown-item>
             <el-dropdown-item command="成功">成功</el-dropdown-item>
             <el-dropdown-item command="失败">失败</el-dropdown-item>
@@ -68,7 +66,6 @@
           </div>
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item command="审核状态">审核状态</el-dropdown-item>
-            <el-dropdown-item command="全部">全部</el-dropdown-item>
             <el-dropdown-item command="待审核">待审核</el-dropdown-item>
             <el-dropdown-item command="成功">成功</el-dropdown-item>
             <el-dropdown-item command="失败">失败</el-dropdown-item>
@@ -498,7 +495,7 @@ export default {
       if (command === '删除') {
         this.formData.contractStatus = 1
       }
-      if (command === '全部') {
+      if (command === '合同状态') {
         this.formData.contractStatus = 0
       }
       this.currentPage = 1
@@ -509,7 +506,7 @@ export default {
     // 汇票状态查询
     handlehpCommand(command) {
       this.hpstatus = command
-      if (command === '全部') {
+      if (command === '汇票状态') {
         this.formData.draftStatus = 0
       }
       if (command === '待审核') {
@@ -532,7 +529,7 @@ export default {
     // 合同审核状态查询
     handleCommandAuditstatus(command) {
       this.Auditstatus = command
-      if (command === '全部') {
+      if (command === '审核状态') {
         this.formData.approveStatus = 0
       }
       if (command === '待审核') {

+ 6 - 7
src/views/delivery/index.vue

xqd xqd xqd
@@ -232,6 +232,7 @@ export default {
         status: "",
         socialCode: "",
         legalPerson: "",
+        isDeleted:'',//供应商状态 0代表未认证,1代表已认证
       },
       /* 当前页数 */
       currentPage: 1,
@@ -332,14 +333,13 @@ export default {
     handleCommand(command) {
       this.providerStatus = command;
       if(command === '审核状态'){
-        this.formData.status=''
-
+        this.formData.isDeleted=''
       }
           if (command === '正常') {
-          this.formData.status = 5
+          this.formData.isDeleted = 0
         }
         if (command === '删除') {
-          this.formData.status = 4
+          this.formData.isDeleted = 1
         }
       this.currentPage = 1;
       this.searchForm = { ...this.formData };
@@ -351,13 +351,12 @@ export default {
       this.Auditstatus=command
       if(command === '供应商状态'){
         this.formData.status=''
-
       }
        if (command === '已认证') {
-          this.formData.status = 5
+          this.formData.status = 2
         }
         if (command === '未认证') {
-          this.formData.status = 4
+          this.formData.status = 1
         }
       this.currentPage = 1;
       this.searchForm = { ...this.formData };

+ 6 - 10
src/views/table/index.vue

xqd xqd
@@ -80,9 +80,6 @@
 
 
 <script>
-	import {
-		getList
-	} from "@/api/table";
 	import {
 		dataConversionUtil
 	} from "../../utils/Excel.js";
@@ -261,13 +258,12 @@
 			/* 输入承兑人状态查询 */
 			handleCommand(command) {
 				this.status = command
-				//     if (command === '正常') {
-				//     this.formData.status = 0
-				//   }
-				//   if (command === '删除') {
-				//     this.formData.status = 1
-				//   }
-				this.formData.status = 0
+				    if (command === '正常') {
+				    this.formData.status = 5
+				  }
+				  if (command === '删除') {
+				    this.formData.status = 4
+				  }
 				this.currentPage = 1;
 				this.searchForm = {
 					...this.formData