fix:改为在书号字段检测10位ISBN并自动填入ISBN字段
This commit is contained in:
parent
c6d0064c64
commit
cb589cc07e
@ -1239,13 +1239,15 @@ export default {
|
||||
noIsbnPrintTime() {
|
||||
this.syncNoIsbnPrintTimeIndexes()
|
||||
},
|
||||
noIsbnIsbn(val) {
|
||||
// 检测10位ISBN自动转为13位
|
||||
noIsbnUnifyIsbn(val) {
|
||||
// 10位书号(ISBN-10)自动转为13位ISBN填入ISBN字段
|
||||
var result = this.convertIsbn10To13(val)
|
||||
if (result && result !== val) {
|
||||
if (result && result !== val.replace(/[-\s]/g, '')) {
|
||||
if (!this.noIsbnIsbn) {
|
||||
this.noIsbnIsbn = result
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// 页面显示时处理连拍返回的照片
|
||||
|
||||
Loading…
Reference in New Issue
Block a user