lilei 3 år sedan
förälder
incheckning
34e588aa3c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/salesManagement/salesQuery/edit.vue

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

@@ -242,7 +242,7 @@ export default {
         //  校验库存
         stockByProductSn({ productSn: record.productSn }).then(res => {
           if (res.status == 200 && res.data) {
-            if (res.data.currentStockQty && val > res.data.currentStockQty) {
+            if (res.data.currentStockQty != undefined && val > res.data.currentStockQty) {
               this.$confirm({
                 title: '提示',
                 content: '库存不足,确认添加为急件吗?',