Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4aace73c
authored
Oct 23, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.2.0-1030' of
http://192.168.3.233:8090/saas/scrm-micro-poi…
…nts into SAAS+V5.2.0-1030
2 parents
77df31f6
623ecf2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/views/storeCredit/add.vue
src/views/storeCredit/add.vue
View file @
4aace73
...
@@ -364,18 +364,19 @@ export default {
...
@@ -364,18 +364,19 @@ export default {
}
}
}
}
}
,
}
,
async
created() {
created() {
/** loginpath:标识系统
/** loginpath:标识系统
* 门店版:/login
* 门店版:/login
* 1、默认带出商户,“选择商户”按钮置灰
* 1、默认带出商户,“选择商户”按钮置灰
* 2、导入充值人群,去掉“管理层”
* 2、导入充值人群,去掉“管理层”
* 运营版:/oss
* 运营版:/oss
*/
*/
if
(this.$globalState.session.loginpath == '/login') {
if
(this.$globalState.session.loginpath == '/login') {
this.baseData.personTypeList.splice(1, 1)
this.baseData.personTypeList.splice(1, 1)
this.configForm.merchantId = this.$globalState.session.merchantId
this.configForm.merchantId = this.$globalState.session.merchantId
this.configForm.merchantName = this.$globalState.session.merchantName
this.configForm.merchantName = this.$globalState.session.merchantName
const res = await this.$apis.points.getMerchantCharge({ merchantId: this.configForm.merchantId
}
)
this.loading = true
this.$apis.points.getMerchantCharge({ merchantId: this.configForm.merchantId
}
).then(res => {
if (res) {
if (res) {
this.totalFormData.map(e => {
this.totalFormData.map(e => {
if (['gasCardServiceCharge', 'passageServiceCharge'].includes(e.name)) {
if (['gasCardServiceCharge', 'passageServiceCharge'].includes(e.name)) {
...
@@ -385,6 +386,9 @@ export default {
...
@@ -385,6 +386,9 @@ export default {
}
}
}
)
}
)
}
}
}
).finally(() => {
this.loading = false
}
)
}
}
}
,
}
,
mounted() {
mounted() {
...
@@ -436,7 +440,7 @@ export default {
...
@@ -436,7 +440,7 @@ export default {
handleConfirm() {
handleConfirm() {
const { disabled, id
}
= this.pageObject
const { disabled, id
}
= this.pageObject
if (disabled) return this.$router.go(-1)
if (disabled) return this.$router.go(-1)
if
(this.loading) {
if
(this.loading) {
return true
return true
}
}
this.$refs.fromRef.$refs.formRef.validate(async valid => {
this.$refs.fromRef.$refs.formRef.validate(async valid => {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment