|
@@ -2498,12 +2498,14 @@ export default {
|
|
getAction('/ctop/materialInfo/getDetail', {
|
|
getAction('/ctop/materialInfo/getDetail', {
|
|
materialId: item.id,
|
|
materialId: item.id,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
- this.formPerson.setFieldsValue({
|
|
|
|
- clipId: res.ascription.clipId,
|
|
|
|
- planId: res.ascription.planId,
|
|
|
|
- shotId: res.ascription.shotId,
|
|
|
|
- })
|
|
|
|
this.code = item.code
|
|
this.code = item.code
|
|
|
|
+ if (res.ascription) {
|
|
|
|
+ this.formPerson.setFieldsValue({
|
|
|
|
+ clipId: res.ascription.clipId,
|
|
|
|
+ planId: res.ascription.planId,
|
|
|
|
+ shotId: res.ascription.shotId,
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
edit(item, status, editStatus) {
|
|
edit(item, status, editStatus) {
|