Commit 074afdb7 by yuzhenWang

Merge branch 'feature-0530wyz-完成工单需求' into 'dev'

申请工单增加回显字段

See merge request !6
parents f12daa90 84a8eef3
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
type="primary" type="primary"
@click="goBack" @click="goBack"
> >
返回 重新选择模板
</el-button> </el-button>
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
...@@ -273,18 +273,16 @@ export default { ...@@ -273,18 +273,16 @@ export default {
column.list.forEach((item) => { column.list.forEach((item) => {
if (item.model === 'customerId' && defaultVal.customerId) { if (item.model === 'customerId' && defaultVal.customerId) {
item.options.defaultValue = Number(defaultVal.customerId) item.options.defaultValue = Number(defaultVal.customerId)
} else if (item.model === 'orderId' && defaultVal.orderId) {
item.options.defaultValue = defaultVal.orderId
} }
// else if (item.model === 'customerPhone') {
// item.options.defaultValue = defaultVal.customerPhone
// }
}) })
}) })
} else if (field.model === 'customerId' && defaultVal.customerId) { } else if (field.model === 'customerId' && defaultVal.customerId) {
field.options.defaultValue = Number(defaultVal.customerId) field.options.defaultValue = Number(defaultVal.customerId)
} else if (field.model === 'orderId' && defaultVal.orderId) {
field.options.defaultValue = defaultVal.orderId
} }
// else if (field.model === 'customerPhone') {
// field.options.defaultValue = defaultVal.customerPhone
// }
}) })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment