ccjgmwz 3 years ago
parent
commit
00628597b9

+ 15 - 7
src/views/houseSelfCollect/paymentManagement.vue

@@ -496,11 +496,19 @@ import download from '../../components/WsDownload/download'
           .catch(() => {})
       },
       customer(row) {
-        this. customerInfo = true
-        this.customerlist = row.identityAuthenticationInfo
-        this.customerlist.cardAddressUrl1 = this.customerlist.cardAddressUrl.split(',')[0]
-        this.customerlist.cardAddressUrl2 = this.customerlist.cardAddressUrl.split(',')[1]
-        this.customerlist.payeeAddressUrls = this.customerlist.payeeAddressUrl.split(',')
+        getCustomerLook({
+                id: row.identityId,
+                authenticationStatusKey: 7
+              })
+        .toPromise()
+        .then(response => {
+          this. customerInfo = true
+          this.customerlist = response
+          this.customerlist.cardAddressUrl1 = this.customerlist.cardAddressUrl.split(',')[0]
+          this.customerlist.cardAddressUrl2 = this.customerlist.cardAddressUrl.split(',')[1]
+          this.customerlist.payeeAddressUrls = this.customerlist.payeeAddressUrl.split(',')
+        })
+        
       },
       customerclose(e) {
         console.log(e)
@@ -575,7 +583,7 @@ import download from '../../components/WsDownload/download'
           let index2 = 0;
           for (let i = 0; i < this.modification.length; i++) {
             getCustomerLook({
-                id: this.modification[i].identityAuthenticationInfo.id,
+                id: this.modification[i].identityId,
                 authenticationStatusKey: 7
               })
               .toPromise()
@@ -615,7 +623,7 @@ import download from '../../components/WsDownload/download'
           // console.log('批量打印凭证list',this.selectPrintList)
         } else {
           getCustomerLook({
-              id: this.rowData.identityAuthenticationInfo.id,
+              id: this.rowData.identityId,
               authenticationStatusKey: 7
             })
             .toPromise()

+ 13 - 13
src/views/houseSelfCollect/weightCheck.vue

@@ -111,7 +111,7 @@
             </el-table>
             <div style="text-align: center">
               <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
-                :current-page="currentPage" :page-size="deptCircularPage.pageSize"
+                :current-page="currentPage" page-size="100"
                 layout="total, sizes, prev, pager, next, jumper" :total="deptBudgetTotal">
               </el-pagination>
             </div>
@@ -296,18 +296,18 @@
           })
           .toPromise()
           .then((response) => {
-            for (let i = 0; i < response.records.length; i++) {
-              if (response.records[i].paymentManagement) {
-                if (response.records[i].paymentManagement.status == '待结算' && !response.records[i].paymentManagement
-                  .approveStatus) {
-                  response.records[i].allow = 1
-                } else {
-                  response.records[i].allow = 2
-                }
-              } else {
-                response.records[i].allow = 1
-              }
-            }
+            // for (let i = 0; i < response.records.length; i++) {
+            //   if (response.records[i].paymentManagement) {
+            //     if (response.records[i].paymentManagement.status == '待结算' && !response.records[i].paymentManagement
+            //       .approveStatus) {
+            //       response.records[i].allow = 1
+            //     } else {
+            //       response.records[i].allow = 2
+            //     }
+            //   } else {
+            //     response.records[i].allow = 1
+            //   }
+            // }
             this.weighingList = response.records
             this.common.commonWeighingList = response.records
             this.makeData();