|
@@ -631,9 +631,9 @@ export default {
|
|
goods_out_qty: '',
|
|
goods_out_qty: '',
|
|
goods_std: '',
|
|
goods_std: '',
|
|
check_status: '',
|
|
check_status: '',
|
|
- check_user: '',
|
|
|
|
|
|
+ check_user: '默认质检人',
|
|
create_time: '',
|
|
create_time: '',
|
|
- note: ''
|
|
|
|
|
|
+ note: '无'
|
|
},
|
|
},
|
|
activeSearchField: '',
|
|
activeSearchField: '',
|
|
activeSearchLabel: '',
|
|
activeSearchLabel: '',
|
|
@@ -694,6 +694,8 @@ export default {
|
|
},
|
|
},
|
|
handleEditRow (row) {
|
|
handleEditRow (row) {
|
|
this.editForm = { ...row } // 复制当前行的数据到表单
|
|
this.editForm = { ...row } // 复制当前行的数据到表单
|
|
|
|
+ this.editForm.note = this.editForm.note || '无' // 防止note为空
|
|
|
|
+ this.editForm.check_user = this.editForm.check_user || '默认质检人' // 防止check_user为空
|
|
console.log(this.editForm)
|
|
console.log(this.editForm)
|
|
this.editDialog = true // 打开对话框
|
|
this.editDialog = true // 打开对话框
|
|
},
|
|
},
|