|
@@ -492,12 +492,12 @@ export default {
|
|
|
}
|
|
|
this.subLoading = true
|
|
|
purchaseWriteSubmit({ id: this.detail.id }).then(res => {
|
|
|
- debugger
|
|
|
if (res.status == 200) {
|
|
|
if (res.data && res.data.length > 0) {
|
|
|
+ const resTips = res.data.join('、')
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: res.data.map((item, i) => { return <p>{item}暂不销售,请删除后重新提交采购单</p> }),
|
|
|
+ content: resTips + '暂不销售,请删除后重新提交采购单',
|
|
|
centered: true,
|
|
|
okText: '知道了',
|
|
|
cancelText: '取消', // 将cancelText设置为空字符串或去掉该属性可以隐藏取消按钮
|