条码打印
This commit is contained in:
@@ -249,11 +249,11 @@ const loadMore = () => {
|
||||
}
|
||||
|
||||
/**
|
||||
* 打开标签预览与打印(与材料详情一致:图内编码为 MaterialCode)
|
||||
* 打开标签预览与打印(与材料详情一致:图内编码为 BarCode)
|
||||
* @param {object} item
|
||||
*/
|
||||
const handlePrint = (item) => {
|
||||
const code = item.MaterialCode || ''
|
||||
const code = item.BarCode || ''
|
||||
if (!code) {
|
||||
uni.showToast({ title: '缺少材料编码', icon: 'none' })
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user