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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
14 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 @@
class=
"p-l-30 el-item targetObj"
>
<span
class=
"title-target-obj"
>
目标分账对象:
</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>
</div>
...
...
@@ -594,6 +594,13 @@ export default {
...
mapActions
({
get
:
'd2admin/base/get'
}),
filterMerchantName
(
id
)
{
if
(
id
)
{
return
this
.
form
.
partnerMerchants
.
find
((
item
)
=>
{
return
item
.
merchantId
==
id
}).
merchantName
}
},
handleInput
(
newValue
,
name
,
type
)
{
newValue
=
newValue
.
replace
(
/
[^\d
.
]
/g
,
''
)
// 清除“数字”和“.”以外的字符
// console.log(newValue)
...
...
vue.config.js
View file @
bb712e5
...
...
@@ -129,19 +129,20 @@ module.exports = {
// config.plugins = [...config.plugins, ...Plugins]
// sentry 配置
Object
.
assign
(
config
,
{
plugins
:
[
...
config
.
plugins
,
new
SentryWebpackPlugin
({
// webpack specific configuration
release
:
'0.0.1'
,
include
:
'./dist'
,
// 需要上传到sentry服务器的资源目录,会自动匹配js 以及map文件
ignore
:
[
'node_modules'
,
'vue.config.js'
],
// 忽略文件目录,当然我们在inlcude中制定了文件路径,这个忽略目录可以不加
configFile
:
'.sentryclirc'
,
urlPrefix
:
'~/dj-carlife-web/'
})
]
})
process
.
env
.
NODE_ENV
===
'production'
&&
Object
.
assign
(
config
,
{
plugins
:
[
...
config
.
plugins
,
new
SentryWebpackPlugin
({
// webpack specific configuration
release
:
'0.0.1'
,
include
:
'./dist'
,
// 需要上传到sentry服务器的资源目录,会自动匹配js 以及map文件
ignore
:
[
'node_modules'
,
'vue.config.js'
],
// 忽略文件目录,当然我们在inlcude中制定了文件路径,这个忽略目录可以不加
configFile
:
'.sentryclirc'
,
urlPrefix
:
'~/dj-carlife-web/'
})
]
})
},
// 默认设置: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-service/lib/config/base.js
...
...
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