| | |
| | | headers: { 'Content-Type': 'application/json' } |
| | | }); |
| | | if (res.data && res.data.outMsg) { |
| | | if (res.data.outMsg.includes('重复上下刀')) { |
| | | this.$showMessage(res.data.outMsg, { type: 'error' }); |
| | | } else { |
| | | this.$showMessage(res.data.outMsg); |
| | | } |
| | | } else if (res.status === 0) { |
| | | this.$showMessage('上刀提交成功'); |
| | | } else { |
| | |
| | | headers: { 'Content-Type': 'application/json' } |
| | | }); |
| | | if (res.data && res.data.outMsg) { |
| | | if (res.data.outMsg.includes('重复上下刀')) { |
| | | this.$showMessage(res.data.outMsg, { type: 'error' }); |
| | | } else { |
| | | this.$showMessage(res.data.outMsg); |
| | | } |
| | | } else if (res.status === 0) { |
| | | this.$showMessage('下刀提交成功'); |
| | | } else { |