|
|
|
@ -2010,6 +2010,15 @@ export default { |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
let formList = []; |
|
|
|
|
if(this.needBackMoney) { |
|
|
|
|
const cash = this.cashboxGoodsShelf2 |
|
|
|
|
const val = [] |
|
|
|
|
cash.map(e => { |
|
|
|
|
if (e.num) { |
|
|
|
|
const unit = e.name.replace(/\d*/, '') // 货币单位 |
|
|
|
|
const count = e.name.replace(/\D/, '') |
|
|
|
|
val.push((unit === '元' ? count : '0.' + count) + '-' + e.num) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.tipsDialog = true |
|
|
|
|
// {"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,40", "type": "1"} |
|
|
|
|
let params= { |
|
|
|
@ -2018,9 +2027,9 @@ export default { |
|
|
|
|
{ |
|
|
|
|
"answerId":565, |
|
|
|
|
"emptyOne": "104", |
|
|
|
|
"emptyTwo": this.backMoneyTotal + '', |
|
|
|
|
"emptyTwo": val.join(), |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,1,"+565, |
|
|
|
|
"type": "3" |
|
|
|
|
"type": "6" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
projectId:+projectId, |
|
|
|
|