|
@@ -33,7 +33,7 @@
|
|
|
|
|
|
<script>
|
|
|
import option from './config/mainLists.json'
|
|
|
-import { getListOrder } from "@/api/financialManagement/paymentRequest";
|
|
|
+import {getListOrder, orderListBySettlement} from "@/api/financialManagement/paymentRequest";
|
|
|
|
|
|
export default {
|
|
|
name: "index",
|
|
@@ -155,13 +155,24 @@ export default {
|
|
|
params.type = "CMY"
|
|
|
}
|
|
|
params.flag = this.flag
|
|
|
- getListOrder(page.currentPage, page.pageSize, params).then(res => {
|
|
|
- console.log(res,155)
|
|
|
+ if (this.params.bsType == 'XS') {
|
|
|
+ params.settlementType = 'd'
|
|
|
+ }else {
|
|
|
+ params.settlementType = 'c'
|
|
|
+ }
|
|
|
+ orderListBySettlement(page.currentPage, page.pageSize, params).then(res => {
|
|
|
this.data = res.data.data.records
|
|
|
this.page.total = res.data.data.total
|
|
|
}).finally(() => {
|
|
|
this.loading = false;
|
|
|
})
|
|
|
+ // getListOrder(page.currentPage, page.pageSize, params).then(res => {
|
|
|
+ // console.log(res,155)
|
|
|
+ // this.data = res.data.data.records
|
|
|
+ // this.page.total = res.data.data.total
|
|
|
+ // }).finally(() => {
|
|
|
+ // this.loading = false;
|
|
|
+ // })
|
|
|
},
|
|
|
importProMent() {
|
|
|
this.$emit('importProMent', this.goodsListSave);
|