Commit 38411541 by 李伟康

```

fix(equity): 调用权益订单添加接口时增加异步参数

在调用 dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.add 接口时,
新增第三个参数 true 来支持异步处理,确保订单添加操作能够正确执行。
```
1 parent b3a57259
...@@ -243,6 +243,6 @@ module.exports = { ...@@ -243,6 +243,6 @@ module.exports = {
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.add', method: 'dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.add',
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) }, true)
}, },
} }
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
externalData: { externalData: {
handler (val) { handler (val) {
let { imgObj } = val let { imgObj } = val
if (Object.keys(this.imgObj).length) return
this.imgObj = { this.imgObj = {
retrofitInvoice: imgObj.retrofitInvoice || '', retrofitInvoice: imgObj.retrofitInvoice || '',
retrofit: imgObj.retrofit || '' retrofit: imgObj.retrofit || ''
......
...@@ -195,6 +195,7 @@ export default { ...@@ -195,6 +195,7 @@ export default {
externalData: { externalData: {
handler (val) { handler (val) {
let { imgObj } = val let { imgObj } = val
if(Object.keys(this.imgObj).length) return
this.imgObj = { this.imgObj = {
invoice: imgObj.invoice || '', invoice: imgObj.invoice || '',
driveFront: imgObj.driveFront || '', driveFront: imgObj.driveFront || '',
......
...@@ -465,7 +465,7 @@ const EQUITY_FORM_LIST = [ ...@@ -465,7 +465,7 @@ const EQUITY_FORM_LIST = [
}, },
{ {
label: '座位数', label: '座位数',
value: 'seatesNum', value: 'seat',
type: 'select', type: 'select',
key: 'seat', key: 'seat',
}, },
...@@ -619,7 +619,7 @@ const EQUITY_FORM_TITLE_LIST = [ ...@@ -619,7 +619,7 @@ const EQUITY_FORM_TITLE_LIST = [
] ]
const EQUITY_POPUP_ENUM = { const EQUITY_POPUP_ENUM = {
18: { 18: {
value: 'seatesNum', value: 'seat',
key: 'seat' key: 'seat'
}, },
21: { 21: {
...@@ -709,7 +709,7 @@ const EQUITY_FORM_RULE = { ...@@ -709,7 +709,7 @@ const EQUITY_FORM_RULE = {
} }
} }
], ],
seatesNum: [{ required: true, message: '座位数不能为空' }], seat: [{ required: true, message: '座位数不能为空' }],
engineNo: [ engineNo: [
{ required: true, message: '发动机号不能为空' }, { required: true, message: '发动机号不能为空' },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!