|
@@ -11,6 +11,7 @@
|
|
|
|
|
|
<a-form-item v-show="false" >
|
|
|
<a-input v-decorator="['id']" type="hidden"/>
|
|
|
+ <a-input v-decorator="['sbId']" type="hidden"/>
|
|
|
</a-form-item>
|
|
|
|
|
|
<row-list :col="2">
|
|
@@ -121,6 +122,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
base (record, mainForm = {}) {
|
|
|
+ console.log(mainForm)
|
|
|
this.visible = true
|
|
|
// 如果是空标识添加
|
|
|
const { form: { setFieldsValue } } = this
|
|
@@ -129,7 +131,8 @@ export default {
|
|
|
if (mainForm != null && mainForm.id != null) {
|
|
|
this.$nextTick(() => {
|
|
|
setFieldsValue({
|
|
|
- id: mainForm.id
|
|
|
+ id: mainForm.id,
|
|
|
+ sbId: mainForm.sbId
|
|
|
})
|
|
|
})
|
|
|
}
|
|
@@ -170,6 +173,7 @@ export default {
|
|
|
this.confirmLoading = false
|
|
|
return
|
|
|
}
|
|
|
+ console.log(values)
|
|
|
values.type = 2
|
|
|
if (this.BaseTool.String.isBlank(values.id)) {
|
|
|
addRepairApplicationForm(values)
|