修改补贴提交
This commit is contained in:
@@ -43,13 +43,13 @@
|
||||
</div>
|
||||
</van-popup>
|
||||
<PopContent :content="content" :show-pop="showContentPop" @update:show-pop="showContentPop = $event" />
|
||||
<van-dialog v-model:show="showConfirm">
|
||||
<div class="mt40 text-color-theme inner10 text-center">
|
||||
<van-dialog v-model:show="showConfirm" confirmButtonColor="#f84803">
|
||||
<div class="mt40 text-color-theme inner10 text-center font-26">
|
||||
<div>补贴名额有限,抓紧时间领取吧!</div>
|
||||
<div class="mt10">有任何疑问可添加车管家的微信进行咨询~</div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<vue-qrcode class="qrcode" value="https://example.com" :margin="0"/>
|
||||
<vue-qrcode class="qrcode" value="https://example.com"/>
|
||||
</div>
|
||||
</van-dialog>
|
||||
|
||||
|
||||
@@ -207,9 +207,9 @@ const getMobile = async (couponId) => {
|
||||
* 获取门店列表
|
||||
* @param {number} cityId - 城市ID
|
||||
*/
|
||||
const getStoreList = async (cityId) => {
|
||||
const getStoreList = async (cityId,couponId) => {
|
||||
try {
|
||||
const response = await api.get('/auto/biz', { cityId });
|
||||
const response = await api.get('/auto/biz', { cityId ,couponId});
|
||||
if (response.code === 200) {
|
||||
return response.data;
|
||||
} else {
|
||||
@@ -480,7 +480,7 @@ const showModelPicker = () => (modelPickerVisible.value = true);
|
||||
const loadStoresByCity = async (cityId) => {
|
||||
if (!cityId) return;
|
||||
|
||||
const storeData = await getStoreList(cityId);
|
||||
const storeData = await getStoreList(cityId,couponId.value);
|
||||
if (storeData && storeData.list) {
|
||||
storeColumns.value = storeData.list.map(store => ({
|
||||
text: store.name,
|
||||
@@ -579,15 +579,16 @@ const onSubmit = async (values) => {
|
||||
|
||||
// 显示确认弹窗
|
||||
try {
|
||||
let message = '确定要提交审核资料吗?提交后将无法修改。';
|
||||
let message = '确定要提交审核资料吗?\n提交后将无法修改。';
|
||||
if(subsidyId.value){
|
||||
message = '确定要修改审核资料吗?';
|
||||
}
|
||||
await showConfirmDialog({
|
||||
title: '确认提交',
|
||||
message: message,
|
||||
confirmButtonText: '确定提交',
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
confirmButtonColor: '#f84803'
|
||||
});
|
||||
|
||||
// 用户确认后开始提交
|
||||
|
||||
@@ -233,8 +233,9 @@ const onSubmit = async (values) => {
|
||||
await showConfirmDialog({
|
||||
title: '确定要提交吗?',
|
||||
message: '',
|
||||
confirmButtonText: '确定提交',
|
||||
confirmButtonText: '提交',
|
||||
cancelButtonText: '取消',
|
||||
confirmButtonColor: '#f84803'
|
||||
});
|
||||
|
||||
// 用户确认后开始提交
|
||||
@@ -245,7 +246,7 @@ const onSubmit = async (values) => {
|
||||
if(subsidyId.value>0){
|
||||
message = "您的补贴将在1个工作日内到账\n请您注意查收\n";
|
||||
}
|
||||
message += "若信息有误,请联系客服进行修改";
|
||||
message += "若需修改信息,请联系客服";
|
||||
showDialog({
|
||||
title: '绑定成功',
|
||||
message: message,
|
||||
|
||||
@@ -172,9 +172,9 @@ function handleShowStorePop(val) {
|
||||
}
|
||||
|
||||
const handleShowStores = (item) => {
|
||||
// cur_coupons.value = item.coupons
|
||||
// cur_coupon_id.value = item.couponId
|
||||
// showStorePop.value = true
|
||||
cur_coupons.value = item.coupons
|
||||
cur_coupon_id.value = item.couponId
|
||||
showStorePop.value = true
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user