|
@@ -574,7 +574,8 @@ export default {
|
|
|
},
|
|
|
// 生成采购
|
|
|
saveSell(row) {
|
|
|
- this.$confirm(row.createPurchase == 1? "已经生成过采购单,是否继续生成?": "是否生成采购单?", {
|
|
|
+ if ((Number(row.settlmentAmount) < Number(row.debitAmount)) && row.specialCheckStatus != 3) return this.$message.error('收款未收齐,禁止生成采购单');
|
|
|
+ this.$confirm("是否生成采购单?", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|