feat(组件): 增强物料选择组件功能并优化样式
- 为ProductSelect、MaterialSelect和RawMaterialSelect组件添加多选支持 - 优化el-select组件样式,调整高度和标签显示宽度 - 在QRCode组件中添加内容变化监听自动生成二维码 - 在标签预览组件中添加qrcodeRecordId字段 - 在基础面板中添加物料多选查询和状态筛选功能
This commit is contained in:
@@ -22,6 +22,16 @@ export default {
|
||||
qrcode: null
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
content: {
|
||||
handler(newVal, oldVal) {
|
||||
if (newVal !== oldVal) {
|
||||
this.generateQRCode();
|
||||
}
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.generateQRCode();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user