|
@@ -197,9 +197,9 @@ export default {
|
|
|
},
|
|
|
//关联收款单
|
|
|
handleAssociated(){
|
|
|
- let snList,bookSnList=[];
|
|
|
- snList.push(data.accountReceiptSn)
|
|
|
- bookSnList.push(data.bookSn)
|
|
|
+ let snList=[],bookSnList=[];
|
|
|
+ snList.push(this.detail.accountReceiptSn)
|
|
|
+ bookSnList.push(this.detail.bookSn)
|
|
|
let ajax_data={
|
|
|
snList:snList,
|
|
|
bookSnList:bookSnList
|
|
@@ -207,7 +207,11 @@ export default {
|
|
|
this.associatedLoading = true
|
|
|
settleReceiptBookBatch(ajax_data).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.handleCommonCancel();
|
|
|
+ this.$message.success(res.message)
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.handleCommonCancel();
|
|
|
+ },800)
|
|
|
+
|
|
|
}
|
|
|
this.associatedLoading = false
|
|
|
})
|