fix:原料批次打签时把unit也传过去

This commit is contained in:
shijing 2026-08-03 16:56:00 +08:00
parent 0e4703c0c0
commit 4dc35d254d
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ export default {
let params = {}; let params = {};
params.tid = row.id; params.tid = row.id;
params.label_template_name = '库存标签模板'; params.label_template_name = '库存标签模板';
params.extra_data={count:row.count}; params.extra_data={count:row.count,unit:row.material_.unit};
that.$API.cm.labelmat.fromMb.req(params).then((res) => { that.$API.cm.labelmat.fromMb.req(params).then((res) => {
let obj = {}; let obj = {};
obj.printer_commands = res.commands; obj.printer_commands = res.commands;