|
@@ -498,6 +498,14 @@ const submitChangeOrder = (index: number) => {
|
|
|
const data = Object.assign({}, formList.value[index], {
|
|
|
id: list.value[index].id,
|
|
|
})
|
|
|
+ if (/gi_/i.test(data.product_sku)) {
|
|
|
+ ElNotification({
|
|
|
+ title: '注意',
|
|
|
+ message: '请选择正确的SKU进行转单',
|
|
|
+ duration: 5000,
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
console.log(data, 'data')
|
|
|
onChangeOrderClick(data)
|
|
|
})
|