优化平板扫码绑定托盘的渲染形式以及按钮位置
This commit is contained in:
@@ -98,9 +98,8 @@ export class CodeField extends Component {
|
|||||||
}]);
|
}]);
|
||||||
console.log(updatetrayRecord)
|
console.log(updatetrayRecord)
|
||||||
});
|
});
|
||||||
this.props.update(records[0].code, records[0].tray_id);
|
this.props.update(records[0].code);
|
||||||
location.replace(location.href)
|
$('.o_form_button_save').click();
|
||||||
// location.reload()
|
|
||||||
} else {
|
} else {
|
||||||
if (records[0].state === '占用') {
|
if (records[0].state === '占用') {
|
||||||
console.log('此托盘已占用,请检查')
|
console.log('此托盘已占用,请检查')
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
aria-label="Scan barcode"
|
aria-label="Scan barcode"
|
||||||
title="Scan barcode"
|
title="Scan barcode"
|
||||||
data-tooltip="Scan barcode"
|
data-tooltip="Scan barcode"
|
||||||
style="position: absolute !important;"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user