瀏覽代碼

返利互转列表详情增加发起方、接收放名称

zhouhao 2 年之前
父節點
當前提交
c17fad5e82
共有 1 個文件被更改,包括 28 次插入0 次删除
  1. 28 0
      src/views/finance/components/change_list-detail.vue

+ 28 - 0
src/views/finance/components/change_list-detail.vue

@@ -111,6 +111,30 @@
           ></el-table-column>
           <el-table-column
             align="left"
+            label="发起方经销商名称"
+            prop="customerName"
+            min-width="260"
+            show-overflow-tooltip
+          >
+            <template slot-scope="scope">
+              <CopyButton :copyText="scope.row.customerName" />
+              <span>{{ scope.row.customerName }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            align="left"
+            label="接收方经销商名称"
+            prop="receiverCustomerName"
+            min-width="260"
+            show-overflow-tooltip
+          >
+            <template slot-scope="scope">
+              <CopyButton :copyText="scope.row.receiverCustomerName" />
+              <span>{{ scope.row.receiverCustomerName }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            align="left"
             label="备注"
             prop="remark"
             min-width="160"
@@ -141,11 +165,15 @@ export default {
     this.dataList = [
       {
         customerWalletName: this.detailList.initiatorCustomerWalletName,
+        customerName:this.detailList.customerName,
+        receiverCustomerName:this.detailList.receiverCustomerName,
         remark: this.detailList.initiatorRemark,
         amount: -this.detailList.initiatorAmount
       },
       {
         customerWalletName: this.detailList.receiverCustomerWalletName,
+        customerName:this.detailList.customerName,
+        receiverCustomerName:this.detailList.receiverCustomerName,
         remark: this.detailList.receiverRemark,
         amount: this.detailList.amount,
         allowanceAmount: this.detailList.allowanceAmount