fix:product/save的barcode直接取表单值this.noIsbnIsbn
This commit is contained in:
parent
9a1df9db9d
commit
8f1f02af6d
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user