Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6df6306ef0 | ||
|
|
57049f17b0 |
No files matched your search
@@ -157,14 +157,15 @@ describe('buildResearchLedgerRows', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
describe('buildCustomerServiceLedgerRows', () => {
|
describe('buildCustomerServiceLedgerRows', () => {
|
||||||
it('keeps identity numbers as text columns', () => {
|
it('fills protocol-number column with sample code', () => {
|
||||||
const [row] = buildCustomerServiceLedgerRows([
|
const [row] = buildCustomerServiceLedgerRows([
|
||||||
{
|
{
|
||||||
labStorageCode: 'B0000002',
|
labStorageCode: 'B0000002',
|
||||||
protocolStatus: 'sxz',
|
protocolStatus: 'sxz',
|
||||||
smsSendDate: '20250908',
|
smsSendDate: '20250908',
|
||||||
smsSendStatus: '已发',
|
smsSendStatus: '已发',
|
||||||
protocolNo: 'ZKZX34000852',
|
sampleCode: 'ZKZX34000852',
|
||||||
|
protocolNo: 'PROTO-SHOULD-NOT-EXPORT',
|
||||||
motherName: '高居巧',
|
motherName: '高居巧',
|
||||||
motherPhone: '17860507206',
|
motherPhone: '17860507206',
|
||||||
motherIdCard: '370911199712254424',
|
motherIdCard: '370911199712254424',
|
||||||
|
|||||||
@@ -492,7 +492,7 @@ export function buildCustomerServiceLedgerRows(rows: Row[]): string[][] {
|
|||||||
String(index + 1),
|
String(index + 1),
|
||||||
formatLedgerDate(row.smsSendDate),
|
formatLedgerDate(row.smsSendDate),
|
||||||
text(row.smsSendStatus),
|
text(row.smsSendStatus),
|
||||||
text(row.protocolNo),
|
text(row.sampleCode),
|
||||||
text(row.motherName),
|
text(row.motherName),
|
||||||
text(row.motherPhone),
|
text(row.motherPhone),
|
||||||
text(row.motherIdCard),
|
text(row.motherIdCard),
|
||||||
|
|||||||
Reference in new issue
Block a user