|
|
|
@ -704,15 +704,12 @@ export default {
|
|
|
|
|
this.$set(this.form.expenseClaimTrips[index], 'isOpen', false)
|
|
|
|
|
},
|
|
|
|
|
handlePoShow(index) {
|
|
|
|
|
// if (this.disabled) return
|
|
|
|
|
if (this.form.expenseClaimTrips[index].tripPartners.length) {
|
|
|
|
|
this.$set(this.form.expenseClaimTrips[index], 'type', 0)
|
|
|
|
|
this.$set(this.form.expenseClaimTrips[index], 'isOpen', true)
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
this.$fm('请先添加同行人!')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
handlePoCancel(index) {
|
|
|
|
|
this.$set(this.form.expenseClaimTrips[index], 'isOpen', false)
|
|
|
|
@ -822,6 +819,7 @@ export default {
|
|
|
|
|
disabled: item.status != 2 ? true : false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
console.log('...', this.expenseApplyList);
|
|
|
|
|
resolve()
|
|
|
|
|
this.$loading(false)
|
|
|
|
|
})
|
|
|
|
|