Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 bb712e5a
authored
Jun 27, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合并代码
1 parent
c89263ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
src/views/systemConfig/merchant/merchantStep/stepOne.vue
vue.config.js
src/views/systemConfig/merchant/merchantStep/stepOne.vue
View file @
bb712e5
...
@@ -433,7 +433,7 @@
...
@@ -433,7 +433,7 @@
class=
"p-l-30 el-item targetObj"
>
class=
"p-l-30 el-item targetObj"
>
<span
class=
"title-target-obj"
>
目标分账对象:
</span>
<span
class=
"title-target-obj"
>
目标分账对象:
</span>
<span
<span
v-if=
"accountSetForm.singlePartnerMerchant"
>
{{
accountSetForm
.
singlePartnerMerchant
.
merchantName
}}
(商户号:
{{
accountSetForm
.
singlePartnerMerchant
.
m
erchantId
}}
)
</span>
v-if=
"accountSetForm.singlePartnerMerchant"
>
{{
accountSetForm
.
singlePartnerMerchant
.
merchantName
||
filterMerchantName
(
accountSecondSetForm
.
singlePartnerMerchantId
)
}}
(商户号:
{{
accountSetForm
.
singlePartnerMerchant
.
merchantId
||
accountSecondSetForm
.
singlePartnerM
erchantId
}}
)
</span>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -594,6 +594,13 @@ export default {
...
@@ -594,6 +594,13 @@ export default {
...
mapActions
({
...
mapActions
({
get
:
'd2admin/base/get'
get
:
'd2admin/base/get'
}),
}),
filterMerchantName
(
id
)
{
if
(
id
)
{
return
this
.
form
.
partnerMerchants
.
find
((
item
)
=>
{
return
item
.
merchantId
==
id
}).
merchantName
}
},
handleInput
(
newValue
,
name
,
type
)
{
handleInput
(
newValue
,
name
,
type
)
{
newValue
=
newValue
.
replace
(
/
[^\d
.
]
/g
,
''
)
// 清除“数字”和“.”以外的字符
newValue
=
newValue
.
replace
(
/
[^\d
.
]
/g
,
''
)
// 清除“数字”和“.”以外的字符
// console.log(newValue)
// console.log(newValue)
...
...
vue.config.js
View file @
bb712e5
...
@@ -129,6 +129,7 @@ module.exports = {
...
@@ -129,6 +129,7 @@ module.exports = {
// config.plugins = [...config.plugins, ...Plugins]
// config.plugins = [...config.plugins, ...Plugins]
// sentry 配置
// sentry 配置
process
.
env
.
NODE_ENV
===
'production'
&&
Object
.
assign
(
config
,
{
Object
.
assign
(
config
,
{
plugins
:
[
plugins
:
[
...
config
.
plugins
,
...
config
.
plugins
,
...
...
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