物料批次补充完整
This commit is contained in:
@ -10,6 +10,10 @@
|
|||||||
<label>物料名称:</label>
|
<label>物料名称:</label>
|
||||||
<text>{{fixedInfo.matName}}</text>
|
<text>{{fixedInfo.matName}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="info-item">
|
||||||
|
<label>物料批次:</label>
|
||||||
|
<text>{{fixedInfo.matBatch}}</text>
|
||||||
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<label>物料规格:</label>
|
<label>物料规格:</label>
|
||||||
<text>{{fixedInfo.matSpec}}</text>
|
<text>{{fixedInfo.matSpec}}</text>
|
||||||
@ -147,6 +151,7 @@
|
|||||||
matCode: '示例名称',
|
matCode: '示例名称',
|
||||||
matName: '这是一段示例描述',
|
matName: '这是一段示例描述',
|
||||||
matSpec: '',
|
matSpec: '',
|
||||||
|
matBatch: '',
|
||||||
matQty: 0,
|
matQty: 0,
|
||||||
stocktakingQty: 0,
|
stocktakingQty: 0,
|
||||||
});
|
});
|
||||||
@ -158,6 +163,7 @@
|
|||||||
fixedInfo.value.matName = info.matName;
|
fixedInfo.value.matName = info.matName;
|
||||||
fixedInfo.value.matCode = info.matCode;
|
fixedInfo.value.matCode = info.matCode;
|
||||||
fixedInfo.value.matSpec = info.matSpec;
|
fixedInfo.value.matSpec = info.matSpec;
|
||||||
|
fixedInfo.value.matBatch = info.matBatch;
|
||||||
fixedInfo.value.matQty = info.matQty;
|
fixedInfo.value.matQty = info.matQty;
|
||||||
|
|
||||||
inputValue.value = fixedInfo.value.matQty;
|
inputValue.value = fixedInfo.value.matQty;
|
||||||
@ -339,7 +345,8 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//货架送回区域是否选择
|
//货架送回区域是否选择
|
||||||
if (this.shelfAreaOptions[this.selectedShelfAreaIndex].locationAreaName == '请先扫货架码' || this.shelfAreaOptions[this.selectedShelfAreaIndex].locationAreaName == '请选择') {
|
if (this.shelfAreaOptions[this.selectedShelfAreaIndex].locationAreaName == '请先扫货架码' || this
|
||||||
|
.shelfAreaOptions[this.selectedShelfAreaIndex].locationAreaName == '请选择') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请选择货架送回区域!',
|
title: '请选择货架送回区域!',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
@ -362,7 +369,8 @@
|
|||||||
"shelfCode": this.shelfCode,
|
"shelfCode": this.shelfCode,
|
||||||
|
|
||||||
"destinationLocationAreaId": this.shelfAreaOptions[this.selectedShelfAreaIndex].id,
|
"destinationLocationAreaId": this.shelfAreaOptions[this.selectedShelfAreaIndex].id,
|
||||||
"destinationLocationAreaName": this.shelfAreaOptions[this.selectedShelfAreaIndex].locationAreaName,
|
"destinationLocationAreaName": this.shelfAreaOptions[this.selectedShelfAreaIndex]
|
||||||
|
.locationAreaName,
|
||||||
|
|
||||||
"ShelfTypeStr": this.shelfTypeOptions[this.selectedShelfTypeIndex].text,
|
"ShelfTypeStr": this.shelfTypeOptions[this.selectedShelfTypeIndex].text,
|
||||||
|
|
||||||
@ -382,7 +390,7 @@
|
|||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1500
|
duration: 1500
|
||||||
});
|
});
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
<label>物料名称:</label>
|
<label>物料名称:</label>
|
||||||
<text>{{fixedInfo.matName}}</text>
|
<text>{{fixedInfo.matName}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="info-item">
|
||||||
|
<label>物料批次:</label>
|
||||||
|
<text>{{fixedInfo.matBatch}}</text>
|
||||||
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<label>物料规格:</label>
|
<label>物料规格:</label>
|
||||||
<text>{{fixedInfo.matSpec}}</text>
|
<text>{{fixedInfo.matSpec}}</text>
|
||||||
@ -130,6 +134,7 @@
|
|||||||
infoId: 0,
|
infoId: 0,
|
||||||
matCode: '示例名称',
|
matCode: '示例名称',
|
||||||
matName: '这是一段示例描述',
|
matName: '这是一段示例描述',
|
||||||
|
matBatch:'',
|
||||||
matSpec: '',
|
matSpec: '',
|
||||||
matQty: 0,
|
matQty: 0,
|
||||||
stocktakingQty: 0,
|
stocktakingQty: 0,
|
||||||
@ -141,6 +146,7 @@
|
|||||||
|
|
||||||
fixedInfo.value.matName = info.matName;
|
fixedInfo.value.matName = info.matName;
|
||||||
fixedInfo.value.matCode = info.matCode;
|
fixedInfo.value.matCode = info.matCode;
|
||||||
|
fixedInfo.value.matBatch = info.matBatch;
|
||||||
fixedInfo.value.matSpec = info.matSpec;
|
fixedInfo.value.matSpec = info.matSpec;
|
||||||
fixedInfo.value.matQty = info.matQty;
|
fixedInfo.value.matQty = info.matQty;
|
||||||
fixedInfo.value.stocktakingQty = info.stocktakingQty;
|
fixedInfo.value.stocktakingQty = info.stocktakingQty;
|
||||||
|
@ -3563,6 +3563,7 @@ if (uni.restoreGlobal) {
|
|||||||
infoId: 0,
|
infoId: 0,
|
||||||
matCode: "示例名称",
|
matCode: "示例名称",
|
||||||
matName: "这是一段示例描述",
|
matName: "这是一段示例描述",
|
||||||
|
matBatch: "",
|
||||||
matSpec: "",
|
matSpec: "",
|
||||||
matQty: 0,
|
matQty: 0,
|
||||||
stocktakingQty: 0
|
stocktakingQty: 0
|
||||||
@ -3573,6 +3574,7 @@ if (uni.restoreGlobal) {
|
|||||||
fixedInfo.infoId = info.id;
|
fixedInfo.infoId = info.id;
|
||||||
fixedInfo.value.matName = info.matName;
|
fixedInfo.value.matName = info.matName;
|
||||||
fixedInfo.value.matCode = info.matCode;
|
fixedInfo.value.matCode = info.matCode;
|
||||||
|
fixedInfo.value.matBatch = info.matBatch;
|
||||||
fixedInfo.value.matSpec = info.matSpec;
|
fixedInfo.value.matSpec = info.matSpec;
|
||||||
fixedInfo.value.matQty = info.matQty;
|
fixedInfo.value.matQty = info.matQty;
|
||||||
fixedInfo.value.stocktakingQty = info.stocktakingQty;
|
fixedInfo.value.stocktakingQty = info.stocktakingQty;
|
||||||
@ -3686,10 +3688,10 @@ if (uni.restoreGlobal) {
|
|||||||
this.userName = getConfig("userName", "admin");
|
this.userName = getConfig("userName", "admin");
|
||||||
const self = this;
|
const self = this;
|
||||||
recive(function(res) {
|
recive(function(res) {
|
||||||
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:285", "Success:" + res.data);
|
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:291", "Success:" + res.data);
|
||||||
self.analysisScanCode(res.data);
|
self.analysisScanCode(res.data);
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:288", "Error:", JSON.stringify(err));
|
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:294", "Error:", JSON.stringify(err));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -3703,11 +3705,11 @@ if (uni.restoreGlobal) {
|
|||||||
cameraScanCode() {
|
cameraScanCode() {
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:302", "扫码结果:", res.result);
|
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:308", "扫码结果:", res.result);
|
||||||
this.analysisScanCode(res.result);
|
this.analysisScanCode(res.result);
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
formatAppLog("error", "at pages/stockTaking/stockTaking.vue:306", "扫码失败:", err);
|
formatAppLog("error", "at pages/stockTaking/stockTaking.vue:312", "扫码失败:", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -3776,7 +3778,7 @@ if (uni.restoreGlobal) {
|
|||||||
this.clear();
|
this.clear();
|
||||||
},
|
},
|
||||||
complete: (event) => {
|
complete: (event) => {
|
||||||
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:385", "请求完成", event);
|
formatAppLog("log", "at pages/stockTaking/stockTaking.vue:391", "请求完成", event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -3840,6 +3842,16 @@ if (uni.restoreGlobal) {
|
|||||||
/* TEXT */
|
/* TEXT */
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
|
vue.createElementVNode("view", { class: "info-item" }, [
|
||||||
|
vue.createElementVNode("label", null, "物料批次:"),
|
||||||
|
vue.createElementVNode(
|
||||||
|
"text",
|
||||||
|
null,
|
||||||
|
vue.toDisplayString($setup.fixedInfo.matBatch),
|
||||||
|
1
|
||||||
|
/* TEXT */
|
||||||
|
)
|
||||||
|
]),
|
||||||
vue.createElementVNode("view", { class: "info-item" }, [
|
vue.createElementVNode("view", { class: "info-item" }, [
|
||||||
vue.createElementVNode("label", null, "物料规格:"),
|
vue.createElementVNode("label", null, "物料规格:"),
|
||||||
vue.createElementVNode(
|
vue.createElementVNode(
|
||||||
@ -4895,6 +4907,7 @@ if (uni.restoreGlobal) {
|
|||||||
matCode: "示例名称",
|
matCode: "示例名称",
|
||||||
matName: "这是一段示例描述",
|
matName: "这是一段示例描述",
|
||||||
matSpec: "",
|
matSpec: "",
|
||||||
|
matBatch: "",
|
||||||
matQty: 0,
|
matQty: 0,
|
||||||
stocktakingQty: 0
|
stocktakingQty: 0
|
||||||
});
|
});
|
||||||
@ -4902,10 +4915,11 @@ if (uni.restoreGlobal) {
|
|||||||
const inputValue = vue.ref("");
|
const inputValue = vue.ref("");
|
||||||
const showPopup = (info) => {
|
const showPopup = (info) => {
|
||||||
fixedInfo.infoId = info.id;
|
fixedInfo.infoId = info.id;
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:157", fixedInfo.infoId);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:162", fixedInfo.infoId);
|
||||||
fixedInfo.value.matName = info.matName;
|
fixedInfo.value.matName = info.matName;
|
||||||
fixedInfo.value.matCode = info.matCode;
|
fixedInfo.value.matCode = info.matCode;
|
||||||
fixedInfo.value.matSpec = info.matSpec;
|
fixedInfo.value.matSpec = info.matSpec;
|
||||||
|
fixedInfo.value.matBatch = info.matBatch;
|
||||||
fixedInfo.value.matQty = info.matQty;
|
fixedInfo.value.matQty = info.matQty;
|
||||||
inputValue.value = fixedInfo.value.matQty;
|
inputValue.value = fixedInfo.value.matQty;
|
||||||
popup.value.open();
|
popup.value.open();
|
||||||
@ -5040,10 +5054,10 @@ if (uni.restoreGlobal) {
|
|||||||
this.userName = getConfig("userName", "admin");
|
this.userName = getConfig("userName", "admin");
|
||||||
const self = this;
|
const self = this;
|
||||||
recive(function(res) {
|
recive(function(res) {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:311", "Success:" + res.data);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:317", "Success:" + res.data);
|
||||||
self.analysisScanCode(res.data);
|
self.analysisScanCode(res.data);
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:314", "Error:", JSON.stringify(err));
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:320", "Error:", JSON.stringify(err));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -5127,7 +5141,7 @@ if (uni.restoreGlobal) {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
complete: (event) => {
|
complete: (event) => {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:417", "请求完成", event);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:425", "请求完成", event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -5135,11 +5149,11 @@ if (uni.restoreGlobal) {
|
|||||||
cameraScanCode() {
|
cameraScanCode() {
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:425", "扫码结果:", res.result);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:433", "扫码结果:", res.result);
|
||||||
this.analysisScanCode(res.result);
|
this.analysisScanCode(res.result);
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
formatAppLog("error", "at pages/productionLineCallOut/productionLineCallOut.vue:429", "扫码失败:", err);
|
formatAppLog("error", "at pages/productionLineCallOut/productionLineCallOut.vue:437", "扫码失败:", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -5211,7 +5225,7 @@ if (uni.restoreGlobal) {
|
|||||||
this.clear();
|
this.clear();
|
||||||
},
|
},
|
||||||
complete: (event) => {
|
complete: (event) => {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:516", "请求完成", event);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:524", "请求完成", event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -5286,7 +5300,7 @@ if (uni.restoreGlobal) {
|
|||||||
this.clear();
|
this.clear();
|
||||||
},
|
},
|
||||||
complete: (event) => {
|
complete: (event) => {
|
||||||
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:599", "请求完成", event);
|
formatAppLog("log", "at pages/productionLineCallOut/productionLineCallOut.vue:607", "请求完成", event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -5350,6 +5364,16 @@ if (uni.restoreGlobal) {
|
|||||||
/* TEXT */
|
/* TEXT */
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
|
vue.createElementVNode("view", { class: "info-item" }, [
|
||||||
|
vue.createElementVNode("label", null, "物料批次:"),
|
||||||
|
vue.createElementVNode(
|
||||||
|
"text",
|
||||||
|
null,
|
||||||
|
vue.toDisplayString($setup.fixedInfo.matBatch),
|
||||||
|
1
|
||||||
|
/* TEXT */
|
||||||
|
)
|
||||||
|
]),
|
||||||
vue.createElementVNode("view", { class: "info-item" }, [
|
vue.createElementVNode("view", { class: "info-item" }, [
|
||||||
vue.createElementVNode("label", null, "物料规格:"),
|
vue.createElementVNode("label", null, "物料规格:"),
|
||||||
vue.createElementVNode(
|
vue.createElementVNode(
|
||||||
|
Reference in New Issue
Block a user