| | |
| | | import { handleDatetime } from '@/utils/global' |
| | | import { getCookie } from '@/utils/auth' |
| | | import { MesOrderPrintSearch1 } from '@/api/utils' |
| | | import { urlAddRandomNo, webapp_ws_ajax_run } from '@/utils/grwebapp' |
| | | import { urlAddRandomNo, webapp_urlprotocol_startup, webapp_ws_ajax_run, webapp_ws_autoupdate } from '@/utils/grwebapp' |
| | | |
| | | const SER_HZ = /^[\u4e00-\u9fa5]+$/ |
| | | export default { |
| | |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | // webapp_urlprotocol_startup() |
| | | webapp_ws_autoupdate(true) |
| | | }, |
| | | methods: { |
| | | async getMesOrderSearch() { |
| | |
| | | AddUpdateMesOrder(data).then(res => { |
| | | if (res.code === '200') { |
| | | if (this.operation !== 'add') { |
| | | // this.sendPrint() |
| | | this.sendPrint() |
| | | } |
| | | this.$message.success(this.operation === 'add' ? '添加成功!' : '派发成功!') |
| | | this.dialogVisible = false |