| | |
| | | }, |
| | | combConfirm(type) { |
| | | if (this.isSubmitting || this.barcode === '') return; |
| | | // 检查托盘码和暂存位编码是否相同 |
| | | if (this.barcode && this.sourceSite && this.barcode.trim() === this.sourceSite.trim()) { |
| | | this.messageText = "托盘码和暂存位编码不能相同" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | this.msgType = type |
| | | this.title = '确认呼叫' |
| | | this.content = '确认呼叫?' |
| | |
| | | }, |
| | | combConfirm(type) { |
| | | if (this.isSubmitting || this.barcode === '' || this.sourceSite === '') return; |
| | | // 检查托盘码和暂存位编码是否相同 |
| | | if (this.barcode && this.sourceSite && this.barcode.trim() === this.sourceSite.trim()) { |
| | | this.messageText = "托盘码和暂存位编码不能相同" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | this.msgType = type |
| | | this.title = '确认呼叫' |
| | | this.content = '确认呼叫?' |
| | |
| | | }, |
| | | combConfirm(type) { |
| | | if (this.isSubmitting || this.barcode === '' || this.sourceSite === '') return; |
| | | // 检查托盘码和暂存位编码是否相同 |
| | | if (this.barcode && this.sourceSite && this.barcode.trim() === this.sourceSite.trim()) { |
| | | this.messageText = "托盘码和暂存位编码不能相同" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | this.msgType = type |
| | | this.title = '确认呼叫' |
| | | this.content = '确认呼叫?' |