添加合格图章
This commit is contained in:
@@ -774,8 +774,8 @@ class QualityCheckMeasureLine(models.Model):
|
||||
|
||||
# 判定结果
|
||||
measure_result = fields.Selection([
|
||||
('OK', 'OK'),
|
||||
('NG', 'NG')
|
||||
('OK', '合格'),
|
||||
('NG', '不合格')
|
||||
], string='判定', default='OK')
|
||||
|
||||
remark = fields.Char('备注')
|
||||
|
||||
@@ -27,7 +27,7 @@ patch(ListRenderer.prototype, 'custom_measure_line_tree_patch', {
|
||||
owl.onRendered(() => {
|
||||
setTimeout(() => {
|
||||
const $dom = $(this.__owl__?.bdom?.el)
|
||||
if(!$dom || $dom.length) return
|
||||
if(!$dom || !$dom.length) return
|
||||
const $thead = $dom.find('thead').find('th');
|
||||
if(!this.props.list.records || this.props.list.records.length == 0) return
|
||||
const $total_qty = this.props.list.records[0].data.column_nums;
|
||||
|
||||
Reference in New Issue
Block a user