feat: 手动进仓增加扫码和进仓成功语音
This commit is contained in:
@@ -125,6 +125,7 @@
|
||||
import CommonNavbar from '@/components/common-navbar/index';
|
||||
import SearchSelectPopup from '@/components/storefabric/SearchSelectPopup.vue';
|
||||
import scanMixin from '@/common/scanMixin.js';
|
||||
import util from '@/common/util.js';
|
||||
import { formatWeightKg } from '@/common/storeFabricBusinessOut.js';
|
||||
|
||||
// 坯布等级字典 id(与后台字典配置一致)
|
||||
@@ -361,6 +362,7 @@ export default {
|
||||
};
|
||||
this.weightKg = formatDisplayWeightKg(data.inspection_weight);
|
||||
this.scanCode = this.detail.fabric_piece_code;
|
||||
util.playSpeak('扫码成功');
|
||||
},
|
||||
async submitInWarehouse() {
|
||||
const fabricPieceCode = String(this.detail.fabric_piece_code || this.scanCode || '').trim();
|
||||
@@ -411,6 +413,7 @@ export default {
|
||||
}
|
||||
}
|
||||
const volumeText = res && res.volume_number != null ? `,卷号 ${res.volume_number}` : '';
|
||||
util.playSpeak('进仓成功');
|
||||
this.$u.toast(`进仓成功${volumeText}`);
|
||||
this.resetForNextScan();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user