Browse Source

bug 修复

lilei 3 years ago
parent
commit
8aac402516
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/salesManagement/salesQuery/edit.vue

+ 2 - 2
src/views/salesManagement/salesQuery/edit.vue

@@ -453,7 +453,7 @@ export default {
       }
       // 库存不足时
       if (row.currentQty < row.salesNums) {
-        this.$confirm({
+        _this.$confirm({
           title: '提示',
           content: '库存不足,确认添加为急件吗?',
           centered: true,
@@ -461,7 +461,7 @@ export default {
           onOk () {
             if (row.putCost > row.salePrice) {
               // 销售价低于成本价
-              this.$confirm({
+              _this.$confirm({
                 title: '提示',
                 content: '售价低于成本价,确认要添加吗?',
                 centered: true,