容器编码打印,入库页面编写

This commit is contained in:
Mac mini git server 2025-05-22 13:29:30 +08:00
parent e90e0db019
commit 541fb5df6e
10 changed files with 432 additions and 362 deletions

View File

@ -31,6 +31,8 @@ namespace HHWMS.Web
this.MakeStandardAction("Container", GridActionStandardTypesEnum.Import, Localizer["Sys.Import"], "configs", dialogWidth: 800),
this.MakeStandardAction("Container", GridActionStandardTypesEnum.ExportExcel, Localizer["Sys.Export"], "configs"),
this.MakeAction("Container","AddContainer",Localizer["Container.AddContainer"],Localizer["Container.AddContainer"],GridActionParameterTypesEnum.NoId,"configs"),
this.MakeAction("Container","Print",Localizer["Sys.Print"],"",GridActionParameterTypesEnum.MultiIds,"configs")
.SetShowDialog(false).SetOnClickScript("print"),
};
}

View File

@ -37,7 +37,7 @@ namespace HHWMS.Web
return new List<GridColumn<Location_View>>{
this.MakeGridHeader(x => x.Name_view),
this.MakeGridHeader(x => x.Code),
this.MakeGridHeader(x => x.Type),
this.MakeGridHeader(x => x.Type).SetHide(),
this.MakeGridHeader(x => x.Status),
this.MakeGridHeader(x => x.ContainerCode),
this.MakeGridHeader(x => x.RoadWay),

View File

@ -3,11 +3,11 @@
<wt:form vm="@Model">
<wt:row items-per-row="ItemsPerRowEnum.Two">
<wt:textbox field="Entity.Type" />
<wt:textbox field="Num" />
<wt:textbox field="Entity.Length" />
<wt:textbox field="Entity.Width" />
<wt:textbox field="Entity.Height" />
<wt:combobox field="Entity.Type" items="ContainerType" />
<wt:textbox field="Num" />
<wt:textbox field="Entity.Length" />
<wt:textbox field="Entity.Width" />
<wt:textbox field="Entity.Height" />
</wt:row>
<wt:row align="AlignEnum.Right">
<wt:submitbutton />

View File

@ -2,15 +2,62 @@
@inject IStringLocalizer<Program> Localizer;
<wt:searchpanel vm="@Model" reset-btn="true">
<wt:row items-per-row="ItemsPerRowEnum.Three">
<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:row items-per-row="ItemsPerRowEnum.Three">
<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": 60,
"width": 100,
"paperHeader": 43.5,
"paperFooter": 170.07874015748033,
"printElements": [{
"options": {
"left": 18,
"top": 25.5,
"height": 106.5,
"width": 246,
"title": "code",
"testData": "",
"field": "code",
"fontSize": 18,
"textAlign": "center",
"lineHeight": 24,
"textType": "barcode"
}, "printElementType": {"type": "text"}
}],
"paperNumberLeft": 258,
"paperNumberTop": 144,
"paperNumberDisabled": true
}]
};
let printData = [];
function print(ids, datas) {
console.log(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>

View File

@ -36,10 +36,10 @@ namespace HHWMS.Web
this.MakeGridHeader(x => x.ContainerCode),
this.MakeGridHeader(x => x.LocationCode),
this.MakeGridHeader(x => x.MaterialCode),
this.MakeGridHeader(x => x.MaterialType),
this.MakeGridHeader(x => x.MaterialType).SetHide(),
this.MakeGridHeader(x => x.MaterialName),
this.MakeGridHeader(x => x.MaterialSpec).SetHide(),
this.MakeGridHeader(x => x.MaterialUnit),
this.MakeGridHeader(x => x.MaterialSpec),
this.MakeGridHeader(x => x.MaterialUnit).SetHide(),
this.MakeGridHeader(x => x.Batch),
this.MakeGridHeader(x => x.Lot).SetHide(),
this.MakeGridHeader(x => x.ManufactureDate).SetHide(),

View File

@ -1,11 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Mvc;
using System.Collections.Generic;
namespace HHWMS.Web.Controllers
{
[Area("receipt")]
[ActionDescription("盘料操作")]
[ActionDescription("入库操作")]
public partial class ReceiptInController : BaseController
{
private readonly IUnitWork _unitWork;
@ -24,5 +25,78 @@ namespace HHWMS.Web.Controllers
}
#endregion Index
#region API Methods
[HttpPost]
public IActionResult GetOperators()
{
// TODO: 从数据库获取操作员列表
var operators = new List<object>
{
new { value = "1", label = "张三" },
new { value = "2", label = "李四" }
};
return Json(new { Code = 200, Data = operators });
}
[HttpPost]
public IActionResult GetProcesses()
{
// TODO: 从数据库获取工序列表
var processes = new List<object>
{
new { value = "1", label = "工序1" },
new { value = "2", label = "工序2" }
};
return Json(new { Code = 200, Data = processes });
}
[HttpPost]
public IActionResult GetOperatorInfo()
{
// TODO: 获取当前登录用户信息
return Json(new { Code = 200, Data = "当前操作员:张三" });
}
[HttpPost]
public IActionResult GetOrdersByMaterial(string materialCode)
{
// TODO: 根据物料码查询相关生产订单
var orders = new List<object>
{
new { value = "1", label = "生产订单1" },
new { value = "2", label = "生产订单2" }
};
return Json(new { Code = 200, Data = orders });
}
[HttpPost]
public IActionResult SubmitReceipt([FromBody] ReceiptInModel model)
{
try
{
// TODO: 实现入库逻辑
return Json(new { Code = 200, Msg = "入库成功" });
}
catch (System.Exception ex)
{
return Json(new { Code = 500, Msg = ex.Message });
}
}
#endregion API Methods
}
}
public class ReceiptInModel
{
public string PalletCode { get; set; }
public string MaterialCode { get; set; }
public string OrderId { get; set; }
public string OperatorId { get; set; }
public string ProcessId { get; set; }
public int Quantity { get; set; }
public bool IsQualified { get; set; }
public string OperatorInfo { get; set; }
}
}

View File

@ -22,8 +22,6 @@ namespace HHWMS.Web
return new List<GridAction>
{
this.MakeStandardAction("ReceiptHeader", GridActionStandardTypesEnum.Create, Localizer["Sys.Create"],"receipt", dialogWidth: 800),
this.MakeAction("ReceiptHeader","Count",Localizer["ReceiptHeader.Count"],Localizer["ReceiptHeader.Count"],GridActionParameterTypesEnum.SingleId,"receipt")
.SetShowInRow().SetHideOnToolBar().SetButtonClass("layui-btn-Warm").SetSize(1200,500),
this.MakeStandardAction("ReceiptHeader", GridActionStandardTypesEnum.Edit, Localizer["Sys.Edit"], "receipt", dialogWidth: 800),
this.MakeStandardAction("ReceiptHeader", GridActionStandardTypesEnum.Delete, Localizer["Sys.Delete"], "receipt", dialogWidth: 800),
this.MakeStandardAction("ReceiptHeader", GridActionStandardTypesEnum.Details, Localizer["Sys.Details"], "receipt", dialogWidth: 800),

View File

@ -1,342 +1,297 @@
<el-row id="plapp" :gutter="20">
<el-col :span="6">
<el-card class="box-card" :span="8">
<el-select v-model="value" clearable filterable placeholder="请选择单据" size="big" style="width:100%"
@@change="changeselect" @@clear="clearReceipt">
<el-option v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<div id="plapp">
<a-row :gutter="20">
<a-col :span="24">
<a-card class="general-card">
<a-form :model="form" :rules="rules" ref="formRef" auto-label-width>
<a-form-item label="托盘码" field="palletCode">
<a-input v-model="form.palletCode" @@change="scanPallet" ref="palletCodeRef" placeholder="请扫描托盘码" @@keydown.enter.prevent="focusNext('materialCodeRef')" />
</a-form-item>
<a-form-item label="物料码" field="materialCode">
<a-input v-model="form.materialCode" @@change="scanMaterial" ref="materialCodeRef" placeholder="请扫描物料码" @@keydown.enter.prevent="focusNext('quantityInput')" />
</a-form-item>
<el-table :data="tableData" height="700" border
style="width: 100%">
<el-table-column prop="name"
label="唯一码"
align="center">
</el-table-column>
</el-table>
</el-card>
</el-col>
<el-col :span="18">
<el-card class="box-card" :span="16">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="单据名称">
<el-input v-model="form.code" readonly></el-input>
</el-form-item>
<el-form-item label="周转箱编码" prop="boxCode">
<el-input v-model="form.boxCode" @@change="scanBox" ref="boxCode"></el-input>
</el-form-item>
<el-form-item label="料盘尺寸" prop="size">
<el-select v-model="form.size" placeholder="请选择料盘尺寸" style="width:100%" @@change="changeSize" clearable>
<el-option v-for="item in form.boxSize"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="唯一码" prop="uniqueCode">
<el-input v-model="form.uniqueCode" @@change="scanUniqueCode" ref="uniqueCode"></el-input>
</el-form-item>
<el-table :data="bindingData"
ref="tableData"
height="450" border
style="width: 100%">
<el-table-column fixed="left"
label="操作"
width="120"
align="center">
<template slot-scope="scope">
<el-button @@click.native.prevent="deleteRow(scope.$index, bindingData)"
type="text"
size="small">
移除
</el-button>
</template>
</el-table-column>
<el-table-column label="入库单编码" align="center" prop="receiptCode" v-if="false"></el-table-column>
<el-table-column label="周转箱" align="center" prop="boxCode"></el-table-column>
<el-table-column label="索引" align="center" prop="index"></el-table-column>
<el-table-column label="唯一码" align="center" prop="uniqueCode"></el-table-column>
<el-table-column label="料盘尺寸" align="center" prop="size" :formatter="sizeFormatter"></el-table-column>
</el-table>
<el-form-item style="float:right">
<el-button type="primary" @@click="onSubmit">绑定入库</el-button>
<el-button @@click="resetForm('form')">重置</el-button>
@* <el-button type="primary" @@click="inOperation">启动入库</el-button> *@
</el-form-item>
</el-form>
</el-card>
</el-col>
</el-row>
<a-form-item label="生产订单" field="orderId">
<a-select v-model="form.orderId" placeholder="请选择生产订单" @@change="handleOrderChange" ref="orderSelect">
<a-option v-for="item in orderOptions"
:key="item.value"
:value="item.value">
{{ item.label }}
</a-option>
</a-select>
</a-form-item>
<a-form-item label="当前工序" field="processId">
<a-select v-model="form.processId" placeholder="请选择工序" ref="processSelect">
<a-option v-for="item in processOptions"
:key="item.value"
:value="item.value">
{{ item.label }}
</a-option>
</a-select>
</a-form-item>
<a-form-item label="入库数量" field="quantity">
<a-input-number v-model="form.quantity" :min="1" :precision="0" ref="quantityInput" />
</a-form-item>
<a-form-item label="是否合格" field="isQualified">
<a-switch v-model="form.isQualified" ref="isQualifiedSwitch" />
</a-form-item>
<a-form-item label="操作员工" field="operatorId">
<a-select v-model="form.operatorId" placeholder="请选择操作员工" ref="operatorSelect">
<a-option v-for="item in operatorOptions"
:key="item.value"
:value="item.value">
{{ item.label }}
</a-option>
</a-select>
</a-form-item>
<a-form-item label="检验员信息" field="operatorInfo">
<a-input v-model="form.operatorInfo" placeholder="请输入检验员信息" />
</a-form-item>
<a-form-item>
<a-space>
<a-button type="primary" @@click="submitForm" :loading="loading">上架入库</a-button>
<a-button @@click="resetForm">重置</a-button>
</a-space>
</a-form-item>
</a-form>
</a-card>
</a-col>
</a-row>
</div>
<script>
var app = new Vue({
el: '#plapp',
data() {
var validatePass = (rule, value, callback) => {
if (value === '') {
callback(new Error('请输入工位编码'));
}
else if (value == 'L01' || value == 'L02') {
callback();
} else {
callback(new Error('请输入正确工位编码'));
const { createApp, reactive, ref, onMounted, nextTick } = Vue;
const { Message } = ArcoVue;
const app = createApp({
setup() {
const formRef = ref(null);
const palletCodeRef = ref(null);
const materialCodeRef = ref(null);
const orderSelect = ref(null);
const processSelect = ref(null);
const operatorSelect = ref(null);
const quantityInput = ref(null);
const isQualifiedSwitch = ref(null);
const loading = ref(false);
const form = reactive({
palletCode: '',
materialCode: '',
orderId: '',
operatorId: '',
processId: '',
quantity: 1,
isQualified: true,
operatorInfo: ''
});
const orderOptions = ref([]);
const operatorOptions = ref([]);
const processOptions = ref([]);
const rules = {
palletCode: [
{ required: true, message: '请输入托盘码', trigger: ['change', 'blur'] }
],
materialCode: [
{ required: true, message: '请输入物料码', trigger: ['change', 'blur'] }
],
orderId: [
{ required: true, message: '请选择生产订单', trigger: ['change', 'blur'] }
],
operatorId: [
{ required: true, message: '请选择操作员工', trigger: ['change', 'blur'] }
],
processId: [
{ required: true, message: '请选择工序', trigger: ['change', 'blur'] }
],
quantity: [
{ required: true, type: 'number', message: '请输入数量', trigger: ['change', 'blur'] }
],
operatorInfo: [
{ required: true, message: '请输入检验员信息', trigger: ['change', 'blur'] }
]
};
// 加载操作员列表
const loadOperators = () => {
$.ajax({
type: "post",
dataType: "json",
url: "/receipt/ReceiptIn/GetOperators",
success: (json) => {
operatorOptions.value = json.Data;
}
});
};
// 加载工序列表
const loadProcesses = () => {
$.ajax({
type: "post",
dataType: "json",
url: "/receipt/ReceiptIn/GetProcesses",
success: (json) => {
processOptions.value = json.Data;
}
});
};
// 加载当前操作员信息
const loadOperatorInfo = () => {
$.ajax({
type: "post",
dataType: "json",
url: "/receipt/ReceiptIn/GetOperatorInfo",
success: (json) => {
form.operatorInfo = json.Data;
}
});
};
// 扫描托盘码
const scanPallet = () => {
if (!form.palletCode) return;
// TODO: 实现托盘码验证逻辑
};
// 扫描物料码
const scanMaterial = () => {
if (!form.materialCode) return;
$.ajax({
type: "post",
dataType: "json",
data: { materialCode: form.materialCode },
url: "/receipt/ReceiptIn/GetOrdersByMaterial",
success: (json) => {
orderOptions.value = json.Data;
}
});
};
// 生产订单变更
const handleOrderChange = () => {
loadProcesses();
};
// 提交表单
const submitForm = () => {
formRef.value.validate((errors) => {
if (!errors) {
loading.value = true;
$.ajax({
type: "post",
dataType: "json",
contentType: "application/json",
data: JSON.stringify(form),
url: "/receipt/ReceiptIn/SubmitReceipt",
success: (json) => {
if (json.Code == 200) {
Message.success('入库成功!');
resetForm();
} else {
Message.error(json.Msg || '入库失败!');
}
},
error: (xhr, status, error) => {
Message.error('提交失败:' + error);
},
complete: () => {
loading.value = false;
}
});
} else {
Message.error('请填写所有必填项!');
}
});
};
// 重置表单
const resetForm = () => {
formRef.value.resetFields();
orderOptions.value = [];
processOptions.value = [];
setTimeout(() => {
if (palletCodeRef.value) {
palletCodeRef.value.focus();
}
}, 100);
};
// 焦点跳转到下一个输入框
const focusNext = (nextRef) => {
const refMap = {
materialCodeRef: materialCodeRef,
quantityInput: quantityInput
};
const nextElement = refMap[nextRef];
if (nextElement?.value) {
// 先让当前元素失去焦点
if (document.activeElement) {
document.activeElement.blur();
}
// 使用 nextTick 确保 DOM 更新完成
nextTick(() => {
if (nextElement.value.$el) {
// 处理 Input 组件
const input = nextElement.value.$el.querySelector('input');
if (input) {
input.focus();
}
} else {
// 处理基础组件
nextElement.value.focus();
}
});
}
};
return {
form: {
code: '',
boxCode: '',
boxSize: [],
size: '',
uniqueCode: ''
},
options: [],
value: '',
tableData: [],
bindingData: [],
dataIndex: [],
rules: {
boxCode: [
{ validator: validatePass, trigger: 'blur' }
]
}
}
},
mounted: function () {
// 获取所有单据编码
$.ajax({
type: "post",
dataType: "json",
data: {},
url: "/receipt/ReceiptIn/SelectReceiptCode",
success: function (json) {
app.options = json.Data;
},
error: function (json) {
alert("加载失败");
}
// 生命周期钩子
onMounted(() => {
loadOperators();
loadOperatorInfo();
// 页面加载时自动聚焦第一个输入框
setTimeout(() => {
if (palletCodeRef.value) {
palletCodeRef.value.focus();
}
}, 100);
});
},
methods: {
sizeFormatter(row) {
return row.size + 'mm';
},
//绑定单据
onSubmit() {
var _this = this;
// 提交已绑定数据
$.ajax({
type: "post",
dataType: "json",
data: { data: _this.bindingData },
url: "/receipt/ReceiptIn/BindingData",
success: function (json) {
if (json.Code == 200) {
_this.$message({
message: '入库成功!',
type: 'success'
});
_this.resetForm('form');
}
else {
_this.$message({
message: '入库失败!',
type: 'warning'
});
}
},
error: function (json) {
_this.$message({
message: '入库失败!',
type: 'error'
});
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
this.form.boxSize = [];
this.bindingData = [];
},
clearReceipt() {
this.tableData = [];
},
// 选择单据后,查询明细
changeselect(data) {
var _this = this;
_this.form.code = data;
// 调用后台方法,查询单据明细数据
if (data != "") {
$.ajax({
type: "post",
dataType: "json",
data: { Code: data },
url: "/receipt/ReceiptIn/SelectReceipt",
success: function (json) {
_this.tableData = json.Data;
// 对比待绑定列表,删除在其表内的明细
_this.bindingData.forEach(function (item) {
_this.tableData.forEach(function (value, index, arr) {
if (value.name == item.uniqueCode) {
arr.splice(index, 1);
}
});
})
},
error: function (json) {
_this.$message({
message: '加载单据明细失败!',
type: 'error'
});
}
});
}
},
// 扫描周转箱
scanBox(Box) {
var _this = this;
_this.form.size = '';
_this.form.boxSize = [];
if (this.form.code == '') {
this.$message({
message: '请先选择单据!',
type: 'warning'
});
return;
}
$.ajax({
type: "post",
dataType: "json",
data: { boxCode: Box },
url: "/receipt/ReceiptIn/ScanBox",
success: function (json) {
if (json.Code != 200) {
_this.$message({
message: "扫描失败!" + json.Msg,
type: "warning",
duration: "10000",
});
_this.form.boxCode = "";
return false;
}
else {
_this.$message({
message: "扫描成功!",
type: "success",
duration: "10000",
});
_this.$refs.uniqueCode.focus();
if (Box == "L02") {
_this.form.boxSize = [{ label: "24mm", value: "24" }, { label: "16mm", value: "16" }, { label: "10mm", value: "10" }]
_this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];
}
else if (Box == "L01") {
_this.form.boxSize = [{ label: "8mm", value: "8" }];
_this.form.size = _this.form.boxSize[0].value;
_this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
}
else {
_this.$message({
message: '输入周转箱编码不正确!',
type: 'warning'
});
return;
}
}
},
error: function (json) {
_this.$message({
message: "扫描失败!",
type: "error",
duration: "10000",
});
return;
},
});
// 重新扫描箱号后,待绑定列表清空
_this.bindingData = [];
_this.changeselect(_this.value);
// _this.$refs.uniqueCode.focus();
},
// 选择尺寸后
changeSize() {
this.$refs.uniqueCode.focus();
},
// 扫描唯一码
scanUniqueCode(data) {
if (this.form.code == '') {
this.$message({
message: '请先选择单据!',
type: 'warning'
});
return;
}
if (this.dataIndex.length == 0) {
this.$message({
message: '该周转箱已放满!',
type: 'warning'
});
this.form.uniqueCode = '';
return;
}
if (this.form.boxCode == '' || this.form.size == '') {
this.$message({
message: '请先输入周转箱编码并选择料盘尺寸!',
type: 'warning'
});
this.form.uniqueCode = '';
return;
}
var isExit = this.tableData.findIndex(function (value, index, arr) {
return value.name == data;
})
if (isExit == -1) {
this.$message({
message: '唯一码' + data + '不正确!',
type: 'warning'
});
this.form.uniqueCode = '';
return;
}
// 1.明细减少
this.tableData.forEach(function (item, index, arr) {
if (item.name == data) {
arr.splice(index, 1);
}
});
// 2.已扫描增加
this.bindingData.push({
receiptCode: this.form.code,
boxCode: this.form.boxCode,
index: this.dataIndex.shift(),
uniqueCode: data,
size: this.form.size
})
this.form.uniqueCode = '';
this.$nextTick(() => {
this.$refs.tableData.bodyWrapper.scrollTop = this.$refs.tableData.bodyWrapper.scrollHeight
})
},
// 删除已绑定行
deleteRow(index, rows) {
if (this.form.code == rows[index].receiptCode) {
this.tableData.push({ name: rows[index].uniqueCode });
}
this.dataIndex.unshift(rows[index].index);
rows.splice(index, 1);
}
return {
formRef,
palletCodeRef,
materialCodeRef,
orderSelect,
processSelect,
operatorSelect,
quantityInput,
isQualifiedSwitch,
form,
loading,
orderOptions,
operatorOptions,
processOptions,
rules,
scanPallet,
scanMaterial,
handleOrderChange,
submitForm,
resetForm,
focusNext
};
}
});
</script>
app.use(ArcoVue);
app.mount('#plapp');
</script>

View File

@ -19,14 +19,7 @@ namespace HHWMS.Web
return new List<GridAction>
{
this.MakeAction("ShipmentHeader","StartOut",Localizer["ShipmentHeader.StartOut"],"",GridActionParameterTypesEnum.SingleId,"shipment"),
this.MakeAction("ShipmentHeader","Analyse",Localizer["ShipmentHeader.Analyse"],Localizer["ShipmentHeader.Analyse"],GridActionParameterTypesEnum.SingleId,"shipment")
.SetShowInRow().SetHideOnToolBar().SetButtonClass("layui-btn-Warm").SetMax(),
this.MakeAction("ShipmentHeader","PickRoute",Localizer["ShipmentHeader.PickRoute"],Localizer["ShipmentHeader.PickRoute"],GridActionParameterTypesEnum.SingleId,"shipment")
.SetShowInRow().SetHideOnToolBar().SetButtonClass("layui-btn-Warm").SetMax(),
this.MakeAction("ShipmentHeader","ShelfInv",Localizer["ShipmentHeader.ShelfInv"],Localizer["ShipmentHeader.ShelfInv"],GridActionParameterTypesEnum.SingleId,"shipment")
.SetShowInRow().SetHideOnToolBar().SetButtonClass("layui-btn-Warm").SetSize(1200,800),
this.MakeStandardAction("ShipmentHeader", GridActionStandardTypesEnum.Create, Localizer["Sys.Create"],"shipment", dialogWidth: 800),
this.MakeStandardAction("ShipmentHeader", GridActionStandardTypesEnum.Edit, Localizer["Sys.Edit"], "shipment", dialogWidth: 800),
this.MakeStandardAction("ShipmentHeader", GridActionStandardTypesEnum.Delete, Localizer["Sys.Delete"], "shipment", dialogWidth: 800),

View File

@ -47,6 +47,7 @@
<script src="/hiprint/hiprint.bundle.js"></script>
<script src="/hiprint/plugins/qrcode.js"></script>
<script src="/hiprint/plugins/jquery.minicolors.min.js"></script>
<script src="/hiprint/plugins/JsBarcode.all.min.js"></script>
<script src="/hiprint/plugins/jquery.hiwprint.js"></script>
<script src="/hiprint/plugins/jquery.jqprint-0.3.js"></script>
<script>