This commit is contained in:
霍尔 committed 2023-10-16 20:33:44 +08:00
1 parent c494b7b1ef
commit 523dee5e38
15 files changed
+304 -128

No files matched your search

@@ -197,17 +197,17 @@
}
},
// 扫描周转箱
scanBox(data) {
scanBox(Box) {
var _this = this;
_this.form.size = '';
_this.form.boxSize = [];
if (data == "L02") {
_this.form.boxSize = [{ label: "8mm", value: "8" }]
_this.form.size = _this.form.boxSize[0].value;
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 (data == "L01") {
_this.form.boxSize = [{ label: "10mm", value: "10" }, { label: "16mm", value: "16" }, { label: "24mm", value: "24" }];
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 {
@@ -217,12 +217,14 @@
});
return;
}
console.log(Box);
$.ajax({
type: "post",
dataType: "json",
data: { boxCode: data },
data: { boxCode: Box },
url: "/receipt/ReceiptIn/ScanBox",
success: function (json) {
console.log(json);
if (json.Code != 200) {
_this.$message({
message: "扫描失败!" + json.Msg,