|
@@ -8521,12 +8521,18 @@ export default {
|
|
},
|
|
},
|
|
detailedApproval(command) {
|
|
detailedApproval(command) {
|
|
if (command === 'QH') {
|
|
if (command === 'QH') {
|
|
- deliveryDetails(this.form.fId).then(res => {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
- this.msgSuccess('请核成功')
|
|
|
|
- this.$set(this.form, 'fItemstatus', 4)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ this.$confirm("是否发起明细请核?", "提示", {
|
|
|
|
+ confirmButtonText: "确认",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning",
|
|
|
|
+ }).then(() => {
|
|
|
|
+ deliveryDetails(this.form.fId).then(res => {
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
+ this.msgSuccess('请核成功')
|
|
|
|
+ this.$set(this.form, 'fItemstatus', 4)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ });
|
|
} else if (command === 'CK') {
|
|
} else if (command === 'CK') {
|
|
this.addOrUpdateVisible = true
|
|
this.addOrUpdateVisible = true
|
|
let actId = '180'
|
|
let actId = '180'
|
|
@@ -8539,19 +8545,25 @@ export default {
|
|
this.$refs.ApprovalComments.init(this.form.fId, 'f_itemstatus', 180)
|
|
this.$refs.ApprovalComments.init(this.form.fId, 'f_itemstatus', 180)
|
|
})
|
|
})
|
|
} else if (command === 'CX') {
|
|
} else if (command === 'CX') {
|
|
- let data = {
|
|
|
|
- actId: 180,
|
|
|
|
- billId: this.form.fId,
|
|
|
|
- id: this.form.fId,
|
|
|
|
- fidStatus: 'f_itemstatus'
|
|
|
|
- }
|
|
|
|
- revokeTwo(data).then((data) => {
|
|
|
|
- if (data.code === 200) {
|
|
|
|
- this.browseStatus = false
|
|
|
|
- this.msgSuccess('撤销成功')
|
|
|
|
- this.$set(this.form, 'fItemstatus', 2)
|
|
|
|
|
|
+ this.$confirm("是否撤销审批?", "提示", {
|
|
|
|
+ confirmButtonText: "确认",
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
+ type: "warning",
|
|
|
|
+ }).then(() => {
|
|
|
|
+ let data = {
|
|
|
|
+ actId: 180,
|
|
|
|
+ billId: this.form.fId,
|
|
|
|
+ id: this.form.fId,
|
|
|
|
+ fidStatus: 'f_itemstatus'
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ revokeTwo(data).then((data) => {
|
|
|
|
+ if (data.code === 200) {
|
|
|
|
+ this.browseStatus = false
|
|
|
|
+ this.msgSuccess('撤销成功')
|
|
|
|
+ this.$set(this.form, 'fItemstatus', 2)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleCommand(command) {
|
|
handleCommand(command) {
|