|
|
@@ -312,6 +312,8 @@ export default {
|
|
|
this.title = type == 'add' ? '新增' : type == 'edit' ? '报工' : '详情';
|
|
|
this.type = type;
|
|
|
if (this.type != 'add') {
|
|
|
+ row.accessory=row.accessory||[]
|
|
|
+
|
|
|
this.form = JSON.parse(JSON.stringify(row));
|
|
|
if (this.form.groupId) {
|
|
|
this.getUserList({ groupId: this.form.groupId });
|