|
@@ -2297,7 +2297,29 @@ export default {
|
|
|
// })
|
|
|
// }
|
|
|
if (this.$refs.tableRef.selection.length == 1) {
|
|
|
- this.splitOrder()
|
|
|
+ this.$confirm(
|
|
|
+ `尊敬的用户${getCookie(
|
|
|
+ 'loginName'
|
|
|
+ )},系统温馨提示您进行拆分操作前,请确认所拆分的订单将不会在金蝶进行提交,审核等操作!`,
|
|
|
+ '提醒',
|
|
|
+ {
|
|
|
+ confirmButtonText: '我已确认',
|
|
|
+ cancelButtonText: '我再想想',
|
|
|
+ center: true,
|
|
|
+ type: 'warning'
|
|
|
+ }
|
|
|
+ )
|
|
|
+ .then(() => {
|
|
|
+ this.splitOrder()
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ duration: '2500',
|
|
|
+ message: '操作取消',
|
|
|
+ offset: '250'
|
|
|
+ })
|
|
|
+ })
|
|
|
} else if (this.$refs.tableRef.selection.length > 1) {
|
|
|
this.$confirm(
|
|
|
`尊敬的用户${getCookie(
|