lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
34e588aa3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: '库存不足,确认添加为急件吗?',