优化
This commit is contained in:
@@ -25,6 +25,7 @@ describe('WeightOcrPanel contract', () => {
|
||||
expect(source).toContain('class="weight-card__value"')
|
||||
expect(source).toContain('v-model="weightDrafts[previewResult.id].value"')
|
||||
expect(source).toContain('当前托盘皮重')
|
||||
expect(source).toContain("previewResult.palletType || '未记录类型'")
|
||||
expect(source).toContain('OCR 识别毛重')
|
||||
expect(source).toContain('确认含托盘毛重')
|
||||
expect(source).toContain('payload.adjustedWeightValue = Number(draft.value)')
|
||||
@@ -44,10 +45,12 @@ describe('WeightOcrPanel contract', () => {
|
||||
expect(source).not.toContain('<span>置信度</span>')
|
||||
expect(source).not.toContain('<span>OCR 原文</span>')
|
||||
expect(source).not.toContain('<span>托盘编码</span>')
|
||||
expect(source).not.toContain('<span>托盘类型</span>')
|
||||
expect(source).toContain('<span>托盘类型</span>')
|
||||
expect(source).not.toContain('<span>托盘容量</span>')
|
||||
expect(source).not.toContain('<span>服务端毛重</span>')
|
||||
expect(source).not.toContain('<span>服务端净重</span>')
|
||||
expect(source).not.toContain('`${option.palletCode} · ${option.palletType}`')
|
||||
expect(source).toContain("option.palletType || '未记录类型'")
|
||||
})
|
||||
|
||||
it('gates every action with the implemented permissions and editable statuses', () => {
|
||||
|
||||
Reference in New Issue
Block a user