feat:确认弹窗品相显示纯数字,去掉~后缀

This commit is contained in:
97694732@qq.com 2026-06-05 13:57:01 +08:00
parent 0eda46be30
commit 8adcaaf021

View File

@ -1940,6 +1940,8 @@ export default {
// MinIO // MinIO
const urlTexts = imageUrls.map(function (u, i) { return ' [' + (i + 1) + '] ' + u }).join('\n') const urlTexts = imageUrls.map(function (u, i) { return ' [' + (i + 1) + '] ' + u }).join('\n')
// ~
const conditionDisplay = (this.currentTab === 'isbn' ? this.conditionValue : this.noIsbnConditionValue).replace('~', '')
let contentLines let contentLines
if (this.currentTab === 'isbn') { if (this.currentTab === 'isbn') {
contentLines = [ contentLines = [
@ -1949,6 +1951,7 @@ export default {
'📕 书名:' + (this.bookName || '-'), '📕 书名:' + (this.bookName || '-'),
'💰 价格:' + (this.price || '-'), '💰 价格:' + (this.price || '-'),
'📊 库存:' + (this.stock ?? '-'), '📊 库存:' + (this.stock ?? '-'),
'🏅 品相:' + conditionDisplay,
'✍️ 作者:' + (this.author || '-'), '✍️ 作者:' + (this.author || '-'),
'🏢 出版社:' + (this.publisher || '-'), '🏢 出版社:' + (this.publisher || '-'),
'🏷️ 定价:' + (this.fixPrice || '-'), '🏷️ 定价:' + (this.fixPrice || '-'),
@ -1961,6 +1964,7 @@ export default {
'🆔 用户ID' + psiUserId, '🆔 用户ID' + psiUserId,
'📦 货区:' + locationText, '📦 货区:' + locationText,
'📕 书名:' + (this.noIsbnBookName || '-'), '📕 书名:' + (this.noIsbnBookName || '-'),
'🏅 品相:' + conditionDisplay,
'✍️ 作者:' + (this.noIsbnAuthor || '-'), '✍️ 作者:' + (this.noIsbnAuthor || '-'),
'🏢 出版社:' + (this.noIsbnPublisher || '-'), '🏢 出版社:' + (this.noIsbnPublisher || '-'),
'🏷️ 定价:' + (this.noIsbnOriginalPrice || '-'), '🏷️ 定价:' + (this.noIsbnOriginalPrice || '-'),