Browse Source

盘点去掉校验

Qukatie 17 hours ago
parent
commit
4aab4a8991

+ 0 - 10
src/views/tirePartsMall/salesManagement/Inventory/components/viewArea.vue

@@ -13,7 +13,6 @@
           :filterable="true"
           @selectChange="dicChange('dot', $event)"
         ></dic-select>
-        <el-tag type="danger" style="margin-left: 10px;">出库数量:{{ qtyMax }}</el-tag>
       </div>
 
       <avue-crud
@@ -120,15 +119,6 @@ export default {
         }
       }
     },
-    qtyChange(row) {
-      let sum = 0;
-      for (let item of this.data) {
-        sum += Number(item.quantity);
-      }
-      if (sum > this.qtyMax) {
-        return this.$message.error("总数量不能超过" + this.qtyMax);
-      }
-    },
     onLoad() {
       let obj = {
         shipId: this.form.id,