Commit 84a8eef3 by yuzhenWang

申请工单增加回显字段

parent 5b109410
......@@ -6,7 +6,7 @@
type="primary"
@click="goBack"
>
返回
重新选择模板
</el-button>
<el-card class="box-card">
<div slot="header" class="clearfix">
......@@ -273,18 +273,16 @@ export default {
column.list.forEach((item) => {
if (item.model === 'customerId' && 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) {
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