|
@@ -115,15 +115,9 @@ export default {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data && res.data.length) {
|
|
|
this.$info({
|
|
|
- title: '提示',
|
|
|
+ title: '以下产品库存不足',
|
|
|
centered: true,
|
|
|
- content: (h) => {
|
|
|
- const content = []
|
|
|
- res.data.map(item => {
|
|
|
- content.push(h('div', item))
|
|
|
- })
|
|
|
- return h('div', content)
|
|
|
- }
|
|
|
+ content: res.data.toString()
|
|
|
})
|
|
|
} else {
|
|
|
this.$emit('creatOk')
|