feat(addRechargeCard): 充值提货卡不走签呈

This commit is contained in:
woody 2025-05-20 14:38:29 +08:00
parent bc0b62e7f5
commit 5d6876145f
1 changed files with 34 additions and 11 deletions

View File

@ -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