|
|
@@ -173,10 +173,10 @@
|
|
|
</div>
|
|
|
</DkPanel>
|
|
|
</DkCollapse>
|
|
|
- <!-- 订单收款-->
|
|
|
+ <!-- 订单付款-->
|
|
|
<DkCollapse @on-change="changeCollapse" ref="collapse" v-if="this.tabsModel ==='purPay'">
|
|
|
<!--商品信息-->
|
|
|
- <DkPanel prop="goodsInformation">
|
|
|
+ <DkPanel prop="BillInformation">
|
|
|
<div id="pur-pay" ref="pur-pay" slot="content">
|
|
|
<EditTable v-if="purPayFlag"
|
|
|
ref="purReturnable"
|
|
|
@@ -382,7 +382,24 @@ export default {
|
|
|
],
|
|
|
|
|
|
purPayData:[],//订单收款
|
|
|
- purPayColumns:[],
|
|
|
+ purPayColumns:[
|
|
|
+ {
|
|
|
+ field: 'intoNo',
|
|
|
+ type: 'disabled',
|
|
|
+ },//入库单号
|
|
|
+ {
|
|
|
+ field: 'amtPayableHandle',
|
|
|
+ type: 'disabled',
|
|
|
+ },//核销金额
|
|
|
+ {
|
|
|
+ field: 'amtWaive',
|
|
|
+ type: 'disabled',
|
|
|
+ },//优惠金额
|
|
|
+ {
|
|
|
+ field: 'accDate',
|
|
|
+ type: 'disabled',
|
|
|
+ },//账务日期
|
|
|
+ ],
|
|
|
|
|
|
purNo: null,//采购订单号
|
|
|
purEntryVOList: [],//入库
|
|
|
@@ -411,6 +428,7 @@ export default {
|
|
|
tabsClick(val) {
|
|
|
this.purEntryFlag = false
|
|
|
this.purReturnFlag = false
|
|
|
+ this.purPayFlag = false
|
|
|
//如果切换的tab存在就去根据条件查询
|
|
|
if (val) {
|
|
|
this.totalTab = val
|
|
|
@@ -419,6 +437,7 @@ export default {
|
|
|
this.purFlag = true;
|
|
|
this.purEntryFlag = false;
|
|
|
this.purReturnFlag = false;
|
|
|
+ this.purPayFlag = false;
|
|
|
}, 100)
|
|
|
}
|
|
|
else if(val == 'purEnter'){
|
|
|
@@ -426,6 +445,7 @@ export default {
|
|
|
this.purFlag = false;
|
|
|
this.purEntryFlag = true;
|
|
|
this.purReturnFlag = false;
|
|
|
+ this.purPayFlag = false;
|
|
|
}, 100)
|
|
|
}
|
|
|
else if(val == 'purReturn'){
|
|
|
@@ -433,6 +453,15 @@ export default {
|
|
|
this.purFlag = false;
|
|
|
this.purEntryFlag = false;
|
|
|
this.purReturnFlag = true;
|
|
|
+ this.purPayFlag= false;
|
|
|
+ }, 100)
|
|
|
+ }
|
|
|
+ else if(val == 'purPay'){
|
|
|
+ setTimeout(() => {
|
|
|
+ this.purFlag = false;
|
|
|
+ this.purEntryFlag = false;
|
|
|
+ this.purReturnFlag = false;
|
|
|
+ this.purPayFlag= true;
|
|
|
}, 100)
|
|
|
}
|
|
|
|