|
|
|
@ -1011,6 +1011,7 @@ export default {
|
|
|
|
|
if (this.firstFlag && this.saveNeedNumber === null) {
|
|
|
|
|
this.getList(this.searchData)
|
|
|
|
|
}
|
|
|
|
|
this.setInBookingDetailsSave(false)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1022,7 +1023,7 @@ export default {
|
|
|
|
|
this.onresize()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
...mapActions(['setBookingList', 'setBookingGridOptions']),
|
|
|
|
|
...mapActions(['setBookingList', 'setBookingGridOptions', 'setInBookingDetailsSave']),
|
|
|
|
|
createdInit() {
|
|
|
|
|
this.showColumns = JSON.parse(JSON.stringify(initData.columns))
|
|
|
|
|
this.formAllData = JSON.parse(JSON.stringify(initData.condAllData))
|
|
|
|
@ -1410,11 +1411,15 @@ export default {
|
|
|
|
|
this.$message.warning('请先选择')
|
|
|
|
|
return false
|
|
|
|
|
} else {
|
|
|
|
|
const data = {
|
|
|
|
|
ids: arr.join(',')
|
|
|
|
|
}
|
|
|
|
|
let str = ''
|
|
|
|
|
arr.forEach((item, index) => {
|
|
|
|
|
str += 'Ids=' + item
|
|
|
|
|
if (index != arr.length - 1) {
|
|
|
|
|
str += '&'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.refshYZloading = true
|
|
|
|
|
RefreshBillTrace(data).then(res => {
|
|
|
|
|
RefreshBillTrace(str).then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.refshYZloading = false
|
|
|
|
|
this.$message.success('操作成功')
|
|
|
|
@ -1426,11 +1431,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
handleRefshYZOnce(row, rowIndex) {
|
|
|
|
|
const data = {
|
|
|
|
|
ids: row.id
|
|
|
|
|
}
|
|
|
|
|
row.refshYzitemLoad = true
|
|
|
|
|
RefreshBillTrace(data).then(res => {
|
|
|
|
|
RefreshBillTrace('ids=' + row.id).then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
PageDataByBooking({ id: row.id }).then(ress => {
|
|
|
|
|
const item = ress.data.items[0]
|
|
|
|
|