diff --git a/src/views/PurchasingCenter/OfflineContractRequestFund/index.vue b/src/views/PurchasingCenter/OfflineContractRequestFund/index.vue
index 2f86c6a1..de006264 100644
--- a/src/views/PurchasingCenter/OfflineContractRequestFund/index.vue
+++ b/src/views/PurchasingCenter/OfflineContractRequestFund/index.vue
@@ -187,7 +187,7 @@
:value="item.value"/>
查询
-
+
@@ -433,12 +433,17 @@ export default {
return sums
},
searchTable01() { // 查询待请款
+ this.tableData01 = []
if (this.supplierValue) {
this.contractGroup = []
let check
this.supplierValue ? check = 1 : check = 0
searchOfflineContract(check, this.supplierValue).then(response => {
- this.tableData01 = response.data
+ response.data.map(data => {
+ if (Number(data.离线合同状态) === 2) {
+ this.tableData01.push(data)
+ }
+ })
this.tableData01.map(v => {
this.$set(v, '请款金额', 0)
v.请款金额 = v.合同总额 - v.已付金额
diff --git a/src/views/PurchasingCenter/SetPayPlan/index.vue b/src/views/PurchasingCenter/SetPayPlan/index.vue
index c4642ee5..b0a58f73 100644
--- a/src/views/PurchasingCenter/SetPayPlan/index.vue
+++ b/src/views/PurchasingCenter/SetPayPlan/index.vue
@@ -193,9 +193,13 @@ export default {
this.pageCurrent1 = val
this.searchTable1()
},
- searchPlan(row) {
+ searchPlan(row, expandedRows) {
this.form1.采购合同流水号 = row.采购合同流水号
searchTable01(row.采购合同流水号).then(response => {
+ if (expandedRows.length > 1) {
+ this.expands = []
+ expandedRows.shift()
+ }
this.tableData01 = response.data
this.expands.indexOf(row.采购合同流水号) === -1 ? this.expands.push(row.采购合同流水号) : this.expands = []
})