修改111
This commit is contained in:
@@ -96,8 +96,8 @@
|
||||
<view class="zd-checkbox zd-checkbox_i" :class="{'zd-checkbox_active': el.checked}"></view>
|
||||
</view>
|
||||
</td>
|
||||
<td v-if="id !== 'CGRKD'" class="underline fontcol1" @tap="showPop(1, e, el)">{{el.wlbm}}</td>
|
||||
<td v-if="id === 'CGRKD'" class="fontcol1">{{el.wlbm}}</td>
|
||||
<td class="underline fontcol1" @tap="showPop(1, e, el)">{{el.wlbm}}</td>
|
||||
<!-- <td v-if="id === 'CGRKD'" class="fontcol1">{{el.wlbm}}</td> -->
|
||||
<td>{{el.wlmc}}</td>
|
||||
<td>{{el.gzhbm}}</td>
|
||||
<td>{{el.ckmc}}</td>
|
||||
@@ -573,10 +573,13 @@
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillSync(type)
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
if (res) {
|
||||
this._easOutInBillPage()
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
@@ -589,6 +592,21 @@
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '是否确认删除?',
|
||||
cancelColor: '#fff',
|
||||
confirmColor: '#fff',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
this.__easOutInBillDelete()
|
||||
} else if (res.cancel) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
async __easOutInBillDelete () {
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillDelete(type, this.checkData)
|
||||
|
||||
Reference in New Issue
Block a user