fix: 调整收货与移库语音提示文案
This commit is contained in:
parent
183cc2ebea
commit
39543305a3
@ -539,6 +539,7 @@
|
|||||||
},
|
},
|
||||||
// 处理添加明细事件 - 从detail-container组件接收
|
// 处理添加明细事件 - 从detail-container组件接收
|
||||||
async handleAddDetail() {
|
async handleAddDetail() {
|
||||||
|
this.speakMessage('添加成功');
|
||||||
try {
|
try {
|
||||||
const result = await this.$http('storage.receiving.addDetail', {
|
const result = await this.$http('storage.receiving.addDetail', {
|
||||||
receiving_id: this.receivingId
|
receiving_id: this.receivingId
|
||||||
|
|||||||
@ -771,7 +771,9 @@
|
|||||||
timestamp: Date.now(),
|
timestamp: Date.now(),
|
||||||
storageId: storageId ? Number(storageId) : null
|
storageId: storageId ? Number(storageId) : null
|
||||||
});
|
});
|
||||||
this.showToastMessage(res.message || '移库成功', 'success');
|
this.showToastMessage('移库完成', 'success', {
|
||||||
|
speakText: '移库完成'
|
||||||
|
});
|
||||||
const pages = typeof getCurrentPages === 'function' ? getCurrentPages() : [];
|
const pages = typeof getCurrentPages === 'function' ? getCurrentPages() : [];
|
||||||
if (Array.isArray(pages) && pages.length > 1) {
|
if (Array.isArray(pages) && pages.length > 1) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user