Commit a946466d by wangzhihui

```

fix(allocation): 统一错误提示样式

- 将$notify警告提示替换为$message.error错误提示
- 保持一致的用户反馈体验

fix(transferShipment): 统一错误提示样式

- 将notice.errorTips替换为$message.error错误提示
- 保持一致的用户反馈体验
```
1 parent 859c5346
...@@ -625,10 +625,7 @@ export default { ...@@ -625,10 +625,7 @@ export default {
Promise.all([p1, p2]).then(([valid1, valid2]) => { Promise.all([p1, p2]).then(([valid1, valid2]) => {
if (valid1 && valid2) { if (valid1 && valid2) {
if (this.chooseDataList.length == 0) { if (this.chooseDataList.length == 0) {
this.$notify({ this.$message.error('请选择调拨商品')
type: 'warning',
title: '请选择调拨商品'
})
return return
} }
const data = this.$refs.allocationFormRef.formData const data = this.$refs.allocationFormRef.formData
......
...@@ -362,7 +362,7 @@ export default { ...@@ -362,7 +362,7 @@ export default {
batchShipment() { batchShipment() {
if (!this.selectedList.length) { if (!this.selectedList.length) {
// 未选择 // 未选择
this.notice.errorTips('请选择要发货的订单') this.$message.error('请选择要发货的订单')
return return
} }
const target = this.selectedList[0] const target = this.selectedList[0]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!