|
@@ -558,7 +558,7 @@ export default {
|
|
|
},
|
|
|
// 生成采购
|
|
|
saveSell(row) {
|
|
|
- this.$confirm(row.createPurchase == 0? "是否生成采购单?": "已经生成个采购单,是否继续生成?", {
|
|
|
+ this.$confirm(row.createPurchase == 1? "已经生成过采购单,是否继续生成?": "是否生成采购单?", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
@@ -566,6 +566,7 @@ export default {
|
|
|
saveSell(row.id).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.$message.success("生成成功");
|
|
|
+ this.onLoad(this.page, this.search)
|
|
|
}
|
|
|
})
|
|
|
})
|