Commit bb712e5a by 张立顺

合并代码

1 parent c89263ad
......@@ -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.merchantId}})</span>
v-if="accountSetForm.singlePartnerMerchant">{{ accountSetForm.singlePartnerMerchant.merchantName || filterMerchantName(accountSecondSetForm.singlePartnerMerchantId) }}(商户号:{{accountSetForm.singlePartnerMerchant.merchantId|| accountSecondSetForm.singlePartnerMerchantId}})</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)
......
......@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!