refactor: 重构SimpleReceiptIn界面,增加历史记录和自动完成功能 fix: 修复报表参数处理和SQL解码问题 perf: 优化WCS接口调用和库存计算逻辑 style: 清理无用代码和调整格式 chore: 更新数据库连接配置和调试模式设置
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
@model HHWMS.Web.ContainerListVM
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
<wt:searchpanel vm="@Model" reset-btn="true">
|
|
<wt:row items-per-row="ItemsPerRowEnum.Three">
|
|
<wt:combobox field="Searcher.ZoneId" items="Searcher.AllZones" empty-text="@Localizer["Sys.All"]" />
|
|
<wt:textbox field="Searcher.Code"/>
|
|
<wt:combobox field="Searcher.Type" items="ContainerType"/>
|
|
<wt:combobox field="Searcher.IsLock"/>
|
|
<wt:combobox field="Searcher.Status" items="ContainerStatus"/>
|
|
<wt:textbox field="Searcher.LocationCode"/>
|
|
<wt:textbox field="Searcher.Length"/>
|
|
<wt:textbox field="Searcher.Width"/>
|
|
<wt:textbox field="Searcher.Height"/>
|
|
</wt:row>
|
|
</wt:searchpanel>
|
|
<wt:grid vm="@Model" url="/configs/Container/Search"/>
|
|
|
|
<script>
|
|
let template =
|
|
{"panels":[{"index":0,"height":30,"width":60,"paperHeader":0,"paperFooter":85.03937007874016,"printElements":[{"options":{"left":10,"top":9,"height":55,"width":145,"title":"code","testData":"C0006","field":"code","fontSize":12,"textAlign":"center","lineHeight":12,"textType":"barcode"},"printElementType":{"type":"text"}}],"paperNumberLeft":140,"paperNumberTop":63,"paperNumberDisabled":true}]}
|
|
|
|
let printData = [];
|
|
|
|
function print(ids, datas) {
|
|
datas.forEach(function (value, index, arr) {
|
|
printData.push({code: value.Code})
|
|
});
|
|
|
|
hiprint.init();
|
|
var hiprintTemplate = new hiprint.PrintTemplate({
|
|
template: template
|
|
});
|
|
hiprintTemplate.print(printData);
|
|
printData = [];
|
|
}
|
|
</script>
|