Browse Source

完善出纳款项确认--增加当前登录用户sid

zhanglei
yunuo970428 2 years ago
parent
commit
bf181ae1fb
  1. 14
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmationInfo.vue

14
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmationInfo.vue

@ -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')
}
})

Loading…
Cancel
Save