谢杰标 %!s(int64=2) %!d(string=hai) anos
pai
achega
67b3ed93de
Modificáronse 1 ficheiros con 9 adicións e 8 borrados
  1. 9 8
      src/views/financed/arap/index.vue

+ 9 - 8
src/views/financed/arap/index.vue

@@ -347,8 +347,8 @@ export default {
         {
           label: "预收时间",
           hidden: true,
-          scope: "solt",
-          soltName: "predictPayTime",
+          prop: "predictReceiveTime",
+          scope: "aTimeList",
         },
         {
           label: "剩余天数",
@@ -604,7 +604,7 @@ export default {
       remarkDialogVisible: false,
       examineDialogVisible: false,
       badBillDialogVisible: false,
-      type: 3,
+      type: 0,
       activeOrderInfo: {},
       roleList: [],
       countInfo: {},
@@ -723,6 +723,10 @@ export default {
             e.id = e.id + 100086;
             e.billType = e.orderType + 5;
             e.monthTime = this.parseTime(e.orderTime, "{y}-{m}-{d}");
+            if (this.type == 3 || this.type == 2) {
+              e.divideCompanyMoney =
+                this.type == 2 ? e.divideSellerMoney : e.brokerage;
+            }
           });
           resolve(res.data);
         })
@@ -735,11 +739,8 @@ export default {
       let { payStatus, oId } = row;
       let { label, property } = column;
       if (oId) {
-        if (property == "payMoney") {
-          property = this.type == 3 ? "brokerage" : "divideCompanyMoney";
-        } else {
-          property = this.type == 2 ? "divideSellerMoney" : "divideMoney";
-        }
+        property =
+          property == "payMoney" ? "divideCompanyMoney" : "divideMoney";
         payStatus = payStatus != 3 ? 0 : 1;
       } else {
         payStatus = payStatus != 1 ? 0 : 1;