From 8f1f02af6d37a0c12f8298b2c741a80029503c92 Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Thu, 25 Jun 2026 15:21:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:product/save=E7=9A=84barcode=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E5=8F=96=E8=A1=A8=E5=8D=95=E5=80=BCthis.noIsbnIsbn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 59d70d0..716db6c 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -2167,7 +2167,7 @@ export default { // syncBook 成功后保存商品到 product 表,获取真实商品ID var syncData = respData.data || {} var bookInfoId = syncData.id || '' - var barcode = this.currentTab === 'isbn' ? (this.isbn || '') : this.getNoIsbnIsbnValue() + var barcode = this.currentTab === 'isbn' ? (this.isbn || '') : (this.noIsbnIsbn || '') var productName = this.currentTab === 'isbn' ? (this.bookName || '') : (this.noIsbnBookName || '') var appearanceValue = parseInt(this.currentTab === 'isbn' ? this.conditionValue : this.noIsbnConditionValue) || 0 var productPrice = this.currentTab === 'isbn' @@ -2317,7 +2317,7 @@ export default { // syncBook 成功后保存商品到 product 表,获取真实商品ID var syncData = respData.data || {} - var barcode = this.getNoIsbnIsbnValue() + var barcode = this.noIsbnIsbn || '' var productName = this.noIsbnBookName || '' var appearanceValue = parseInt(this.noIsbnConditionValue) || 0 var productPrice = this.noIsbnOriginalPrice ? String(Math.round(parseFloat(this.noIsbnOriginalPrice) * 100)) : '0'