diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index 42103c7d..88cb6449 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -501,7 +501,9 @@ function transformData(data: any) { throw new Error('sst, sd, and all dnn are required fields'); } - let sstSd = item.sd ? item.sst + '-' + item.sd.padStart(6, '0') : item.sst; + let sstSd = item.sd + ? item.sst + '-' + item.sd.padStart(6, '0') + : item.sst + '-'; let smallRowData = item.smallRows .map((smallRow: any) => { let parts = [smallRow.dnn];