Browse Source

【修改】其他零售单-默认直调数量

莫绍宝 2 năm trước cách đây
mục cha
commit
491eafdc81
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/supply/retail/components/retail_detail.vue

+ 1 - 1
src/views/supply/retail/components/retail_detail.vue

@@ -487,7 +487,7 @@ export default {
       this.$refs.deliverForm.validate((valid) => {
         if (valid) {
           for(let i=0; i<this.goodsList.length; i++) {
-            if(!this.goodsList[i].adjustNum && this.goodsList[i].isDirectTransfer) {
+            if(this.goodsList[i].adjustNum === '' && this.goodsList[i].isDirectTransfer) {
               this.$errorMsg('请输入直调数量');
               return;
             }