谢杰标 2 년 전
부모
커밋
7557a0957a

+ 3 - 1
src/views/financed/accountsPayable/businessCommission/index.vue

@@ -100,11 +100,13 @@
       @search="search(3)"
     />
     <!-- 订单列表 -->
-    <dislogOrderList
+    <dislog-order-list
+      divideModel="2"
       :info="activeOrderInfo"
       :dialogVisible.sync="orderDialogVisible"
     />
     <dislog-divide-pay
+      type="2"
       :dialogVisible.sync="examineDialogVisible"
       @search="search"
       :info="activeOrderInfo"

+ 9 - 1
src/views/financed/accountsPayable/components/dislogDividePay.vue

@@ -52,7 +52,11 @@
       </template>
     </BaseDialog>
     <!-- 订单列表 -->
-    <dislogOrderList :info="info" :dialogVisible.sync="orderDialogVisible" />
+    <dislogOrderList
+      :divideModel="type"
+      :info="info"
+      :dialogVisible.sync="orderDialogVisible"
+    />
   </div>
 </template>
 
@@ -71,6 +75,10 @@ export default {
         return {};
       },
     },
+    type: {
+      type: String,
+      default: "1",
+    },
   },
   data() {
     return {

+ 4 - 5
src/views/financed/accountsPayable/components/dislogOrderList.vue

@@ -196,7 +196,6 @@ export default {
           prop: "orderType",
           scope: "type",
           hidden: true,
-          // width: 100,
           values: {
             1: "完单分成",
             2: "退款扣除",
@@ -206,21 +205,21 @@ export default {
           label: "订单金额",
           prop: "orderPrice",
           hidden: true,
-          // width: 100,
           scope: "formatPrice",
         },
         {
           label: "税前佣金",
           prop: "pretaxBrokerage",
           hidden: true,
-          // width: 100,
           scope: "formatPrice",
         },
         {
           label: "应付分成",
-          prop: "payMoney",
+          prop:
+            this.divideModel == "1"
+              ? "divideCompanyMoney"
+              : "divideSellerMoney",
           hidden: true,
-          // width: 100,
           scope: "formatPrice",
         },
       ],

+ 1 - 1
src/views/financed/accountsPayable/institutionDivide/index.vue

@@ -103,7 +103,7 @@
       @search="search(3)"
     />
     <!-- 订单列表 -->
-    <dislogOrderList
+    <dislog-order-list
       :info="activeOrderInfo"
       @search="search"
       :dialogVisible.sync="orderDialogVisible"