优化平板扫码绑定托盘的渲染形式以及按钮位置

This commit is contained in:
mgw
2023-04-26 17:35:03 +08:00
parent 4c75417f2a
commit 69aa731990
2 changed files with 2 additions and 4 deletions

View File

@@ -98,9 +98,8 @@ export class CodeField extends Component {
}]);
console.log(updatetrayRecord)
});
this.props.update(records[0].code, records[0].tray_id);
location.replace(location.href)
// location.reload()
this.props.update(records[0].code);
$('.o_form_button_save').click();
} else {
if (records[0].state === '占用') {
console.log('此托盘已占用,请检查')

View File

@@ -12,7 +12,6 @@
aria-label="Scan barcode"
title="Scan barcode"
data-tooltip="Scan barcode"
style="position: absolute !important;"
/>
</div>