diff --git a/src/pages/mes/PalletChange/index.vue b/src/pages/mes/PalletChange/index.vue index 3060f26..2155860 100644 --- a/src/pages/mes/PalletChange/index.vue +++ b/src/pages/mes/PalletChange/index.vue @@ -13,6 +13,7 @@ rfid: + 查询 @@ -127,6 +128,11 @@ export default class PalletChange extends BasePage { } } } + stationNos.map((item) => ({ + label: item.equipmentName, + value: item.equipmentCode, + ...item, + })); this.oldstationNos = stationNos; } generateGUID() { @@ -164,7 +170,7 @@ export default class PalletChange extends BasePage { // productionState: this.productCodeList.value, }; await this.model.palletInforUpdate(params); - if (model.SubmitCode == 10) { + if (model.SubmitCode == 200) { this.uni.showToast({ title: '成功' }); this.Clear(); } @@ -176,6 +182,7 @@ export default class PalletChange extends BasePage { this.productCodeList = {}; this.productCodeTypeList = {}; this.shouciFocus = false; + this.isshow = false; this.$nextTick(() => { this.shouciFocus = true; }); @@ -196,6 +203,16 @@ export default class PalletChange extends BasePage { await this.model.getAllEquipmentsle(params); this.DictList = model.seleDictList; } + scanCodeOne() { + uni.scanCode({ + scanType: ['barCode'], + success: function (res) { + console.log('条码类型:' + res.scanType); + console.log('条码内容:' + res.result); + this.orderNo = res.result; + }, + }); + } }