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