|
@@ -15,6 +15,7 @@
|
|
|
<a-form-item v-show="false" >
|
|
|
<a-input v-decorator="['id']" type="hidden"/>
|
|
|
<a-input v-decorator="['sbId']" type="hidden"/>
|
|
|
+ <a-input v-decorator="['sbPartId']" type="hidden"/>
|
|
|
<a-input v-decorator="['repairId']" type="hidden"/>
|
|
|
</a-form-item>
|
|
|
<a-row class="form-row" :gutter="BaseTool.Constant.row.gutter">
|
|
@@ -45,7 +46,7 @@
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<a-row class="form-row" :gutter="BaseTool.Constant.row.gutter">
|
|
|
- <a-col :lg="24" :md="24" :sm="24">
|
|
|
+ <a-col :lg="12" :md="24" :sm="24">
|
|
|
<a-form-item
|
|
|
label="故障部位"
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
@@ -53,9 +54,9 @@
|
|
|
>
|
|
|
<a-input
|
|
|
disabled
|
|
|
- style="width: 80%"
|
|
|
+ style="width: 70%"
|
|
|
v-decorator="['sbPartName']"/>
|
|
|
- <a-button type="primary" style="width: 20%" @click="handlePartSelect">选择</a-button>
|
|
|
+ <a-button type="primary" style="width: 30%" @click="handlePartSelect">选择</a-button>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
@@ -346,9 +347,8 @@ export default {
|
|
|
const { form: { setFieldsValue } } = this
|
|
|
this.$nextTick(() => {
|
|
|
setFieldsValue(Object.assign({
|
|
|
- 'partId': key,
|
|
|
- 'partName': row.name,
|
|
|
- 'partNo': row.no
|
|
|
+ 'sbPartId': key,
|
|
|
+ 'sbPartName': row.name
|
|
|
}))
|
|
|
})
|
|
|
}
|