Browse Source

费用记录新加参数

Qukatie 5 days ago
parent
commit
2184b9e8e6

+ 5 - 5
src/views/iosBasicData/PaymentApplication/assembly/finstlbillsitems.vue

@@ -102,13 +102,13 @@
       <template slot="reconciliationAmount" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmount }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmount }}</span>
         </el-popover>
       </template>
       <template slot="reconciliationAmountUsd" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmountUsd }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmountUsd }}</span>
         </el-popover>
       </template>
     </avue-crud>
@@ -413,9 +413,9 @@ export default {
     this.invoicelosWorkDictsfun();
   },
   methods: {
-    viewRLA(row) {
+    viewRLA(row, type) {
       this.rlaData = [];
-      getListAll({ billId: row.accBillId }).then(res => {
+      getListAll({ billId: row.accBillId, srcType: type }).then(res => {
         this.rlaData = res.data.data;
       });
     },
@@ -452,7 +452,7 @@ export default {
         }
       }
     },
-        ausdChange(row) {
+    ausdChange(row) {
       if (Number(row.amount - row.reconciliationAmountUsd) > 0) {
         if (Number(row.currentStlAmountUSD) < 0) {
           return this.$message.error("本次金额不能输入负数");

+ 4 - 4
src/views/iosBasicData/PaymentApplication/assembly/finstlbillsitems2.vue

@@ -102,13 +102,13 @@
       <template slot="reconciliationAmount" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmount }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmount }}</span>
         </el-popover>
       </template>
       <template slot="reconciliationAmountUsd" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmountUsd }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmountUsd }}</span>
         </el-popover>
       </template>
     </avue-crud>
@@ -414,9 +414,9 @@ export default {
     this.invoicelosWorkDictsfun();
   },
   methods: {
-    viewRLA(row) {
+    viewRLA(row, type) {
       this.rlaData = [];
-      getListAll({ billId: row.accBillId }).then(res => {
+      getListAll({ billId: row.accBillId, srcType: type }).then(res => {
         this.rlaData = res.data.data;
       });
     },

+ 2 - 2
src/views/iosBasicData/fininvoicesApplyfor/assembly/fininvoicesitems.vue

@@ -294,9 +294,9 @@ export default {
     this.option = await this.getColumnData(this.getColumnName(494), this.optionBack);
   },
   methods: {
-    viewRLA(row) {
+    viewRLA(row, type) {
       this.rlaData = [];
-      getListAll({ billId: row.accBillId }).then(res => {
+      getListAll({ billId: row.accBillId, srcType: type }).then(res => {
         this.rlaData = res.data.data;
       });
     },

+ 4 - 4
src/views/iosBasicData/fininvoicesApplyfor/assembly/fininvoicesitems2.vue

@@ -34,13 +34,13 @@
       <template slot="reconciliationAmount" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmount }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmount }}</span>
         </el-popover>
       </template>
       <template slot="reconciliationAmountUsd" slot-scope="{ row }">
         <el-popover trigger="click">
           <avue-crud :data="rlaData" :option="rlaOption"></avue-crud>
-          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row)">{{ row.reconciliationAmountUsd }}</span>
+          <span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewRLA(row, '对账')">{{ row.reconciliationAmountUsd }}</span>
         </el-popover>
       </template>
       <tempalte slot="currentAmountUSD" slot-scope="{ row }">
@@ -311,9 +311,9 @@ export default {
     this.option = await this.getColumnData(this.getColumnName(494), this.optionBack);
   },
   methods: {
-    viewRLA(row) {
+    viewRLA(row, type) {
       this.rlaData = [];
-      getListAll({ billId: row.accBillId }).then(res => {
+      getListAll({ billId: row.accBillId, srcType: type }).then(res => {
         this.rlaData = res.data.data;
       });
     },