feat(addRechargeCard): 充值提货卡不走签呈
This commit is contained in:
parent
bc0b62e7f5
commit
5d6876145f
|
@ -411,6 +411,7 @@ import * as apis from '@/api/product.js'
|
|||
import * as api_s from '@/api/financial.js'
|
||||
import topBar from '@/components/topBar'
|
||||
import { pickDetail } from '@/api/manage'
|
||||
import * as man from '@/api/manage'
|
||||
export default {
|
||||
components: {
|
||||
topBar
|
||||
|
@ -663,11 +664,21 @@ export default {
|
|||
type: 'warning'
|
||||
})
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: 'rechargeQc',
|
||||
query: {
|
||||
data: JSON.stringify(dataList),
|
||||
approvalBusiness: 700
|
||||
const params = {
|
||||
detailList: dataList,
|
||||
signType: 0, // 普通件,急件,密件
|
||||
remark: '', // 备注
|
||||
fileList: [], // 附件[]
|
||||
userIdList: [], // 审批流程[]
|
||||
sendIdList: [] // 审批流程[]
|
||||
}
|
||||
man.rechargeConfirm(params).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.$message({
|
||||
message: res.msg,
|
||||
type: 'success'
|
||||
})
|
||||
this.$router.go(-1)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -685,14 +696,26 @@ export default {
|
|||
}
|
||||
)
|
||||
})
|
||||
this.$router.push({
|
||||
path: 'rechargeQc',
|
||||
query: {
|
||||
data: JSON.stringify(dataList),
|
||||
approvalBusiness: 701,
|
||||
type: this.deled
|
||||
const params = {
|
||||
detailList: dataList
|
||||
}
|
||||
man.rechargeDel(params).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.$message({
|
||||
message: res.msg,
|
||||
type: 'success'
|
||||
})
|
||||
this.$router.go(-1)
|
||||
}
|
||||
})
|
||||
// this.$router.push({
|
||||
// path: 'rechargeQc',
|
||||
// query: {
|
||||
// data: JSON.stringify(dataList),
|
||||
// approvalBusiness: 701,
|
||||
// type: this.deled
|
||||
// }
|
||||
// })
|
||||
},
|
||||
getPage(allData) {
|
||||
this.allData = allData
|
||||
|
|
Loading…
Reference in New Issue