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 * as api_s from '@/api/financial.js'
|
||||||
import topBar from '@/components/topBar'
|
import topBar from '@/components/topBar'
|
||||||
import { pickDetail } from '@/api/manage'
|
import { pickDetail } from '@/api/manage'
|
||||||
|
import * as man from '@/api/manage'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
topBar
|
topBar
|
||||||
|
@ -663,11 +664,21 @@ export default {
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$router.push({
|
const params = {
|
||||||
path: 'rechargeQc',
|
detailList: dataList,
|
||||||
query: {
|
signType: 0, // 普通件,急件,密件
|
||||||
data: JSON.stringify(dataList),
|
remark: '', // 备注
|
||||||
approvalBusiness: 700
|
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({
|
const params = {
|
||||||
path: 'rechargeQc',
|
detailList: dataList
|
||||||
query: {
|
}
|
||||||
data: JSON.stringify(dataList),
|
man.rechargeDel(params).then((res) => {
|
||||||
approvalBusiness: 701,
|
if (res.code === 200) {
|
||||||
type: this.deled
|
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) {
|
getPage(allData) {
|
||||||
this.allData = allData
|
this.allData = allData
|
||||||
|
|
Loading…
Reference in New Issue