|
|
@ -269,9 +269,8 @@ export default { |
|
|
|
this.receiptNumber = row.billNo |
|
|
|
this.viewTitle = '认款详情' |
|
|
|
fetchDetailBySid(row.sid).then(resp => { |
|
|
|
if (resp.code === '200') { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj = resp.data |
|
|
|
this.formobj.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
if (this.formobj.paymentVoucherAppendixs.length > 0) { |
|
|
|
this.formobj.paymentVoucherAppendixs.forEach((e) => { |
|
|
|
this.list1.push({ |
|
|
@ -294,14 +293,9 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
handAffirm() { |
|
|
|
cashierConfirm({ sid: this.sid }).then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
message: '确认成功', |
|
|
|
type: 'success' |
|
|
|
} |
|
|
|
) |
|
|
|
cashierConfirm({ sid: this.sid, userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.$message({ showClose: true, message: '确认成功', type: 'success' }) |
|
|
|
this.handleReturn('true') |
|
|
|
} |
|
|
|
}) |
|
|
|