diff --git a/mobile-oa-h5/src/market/list-presenter.test.js b/mobile-oa-h5/src/market/list-presenter.test.js index a1e70012..d3e7509c 100644 --- a/mobile-oa-h5/src/market/list-presenter.test.js +++ b/mobile-oa-h5/src/market/list-presenter.test.js @@ -270,12 +270,12 @@ test('sample-coded list cards show sample status and a void reason affordance', }).fields.find((field) => field.label === '样本状态').value, '已入库' ) - assert.equal( - buildMarketCard('payment-chase', 'specialist', { - sampleCode: 'S-1', sampleStatus: 'jcz' - }).fields.find((field) => field.label === '样本状态').value, - '检测中' - ) + const detecting = buildMarketCard('payment-chase', 'specialist', { + sampleCode: 'S-1', sampleStatus: 'jcz' + }).fields.find((field) => field.label === '样本状态') + assert.equal(detecting.value, '检测中') + assert.equal(detecting.helpTitle, undefined) + assert.equal(detecting.helpText, undefined) const voided = buildMarketCard('payment', 'specialist', { motherName: '作废客户', diff --git a/web-admin/src/components/business/sample-status-tag/index.vue b/web-admin/src/components/business/sample-status-tag/index.vue index c20ddff3..93424642 100644 --- a/web-admin/src/components/business/sample-status-tag/index.vue +++ b/web-admin/src/components/business/sample-status-tag/index.vue @@ -1,8 +1,8 @@ - +