Commit bb712e5a by 张立顺

合并代码

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