From 571fac9296e8d7f6172e772a91bccaa966818d31 Mon Sep 17 00:00:00 2001 From: "97694732@qq.com" Date: Sat, 6 Jun 2026 11:05:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=A0ISBN=E4=B8=8A=E4=BC=A0=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=A3=85=E8=AE=A2=E5=AD=97=E6=AE=B5(=E4=B8=8B?= =?UTF-8?q?=E6=8B=89+=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 7dfc22d..67bb016 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -385,6 +385,20 @@ + + + 装订 + + + + + {{ item }} + + + + + + 开本 @@ -869,6 +883,7 @@ export default { noIsbnAuthor: '', noIsbnPublisher: '', noIsbnFormat: '', + noIsbnBinding: '', noIsbnOriginalPrice: '', noIsbnWordCount: '', noIsbnIsbn: '', @@ -886,9 +901,13 @@ export default { noIsbnPublisherOptions: [], noIsbnPublisherDropdownVisible: false, noIsbnFormatDropdownVisible: false, - + noIsbnBindingDropdownVisible: false, + // 开本选项(无ISBN专用) noIsbnFormatOptions: ['2', '4', '6', '8', '12', '16', '18', '20', '24', '32', '36', '40', '42', '48', '50', '60', '64', '72', '大16', '大32', '其他'], + + // 装订选项(无ISBN专用) + noIsbnBindingOptions: ['平装', '精装', '特殊装订', '古典装订', '其他'], // 分类(从API加载) noIsbnCategoryData: [], @@ -2074,7 +2093,7 @@ export default { this.isbn = '' this.bookName = '' this.price = '' - this.stock = '' + this.stock = 1 this.author = '' this.publisher = '' this.fixPrice = '' @@ -2084,13 +2103,15 @@ export default { this.noIsbnPhotoList = [] this.noIsbnBookName = '' this.noIsbnPrice = '' - this.noIsbnStock = '' + this.noIsbnStock = 1 this.noIsbnAuthor = '' this.noIsbnPublisher = '' this.noIsbnOriginalPrice = '' this.noIsbnIsbn = '' this.noIsbnUnifyIsbn = '' this.noIsbnPrintTime = '' + this.noIsbnFormat = '' + this.noIsbnBinding = '' this.noIsbnProductList = [] } } catch (e) { @@ -2379,6 +2400,11 @@ export default { this.noIsbnFormatDropdownVisible = false }, + selectNoIsbnBinding(item) { + this.noIsbnBinding = item + this.noIsbnBindingDropdownVisible = false + }, + // 登录 - 接入孔夫子真实登录 handleLogin() { if (!this.loginAccount) {