瀏覽代碼

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

zhongtianhaoyuan 3 年之前
父節點
當前提交
d303f3c786
共有 4 個文件被更改,包括 7 次插入7 次删除
  1. 2 2
      pageD/myRelease/buyEdit.vue
  2. 2 2
      pageD/myRelease/buyGrain.vue
  3. 1 1
      pageD/myRelease/sellEdit.vue
  4. 2 2
      pageD/myRelease/sellGrain.vue

+ 2 - 2
pageD/myRelease/buyEdit.vue

@@ -501,11 +501,11 @@
 						}
 					}
 				}else if(this.deptList.procurementPlanType == '期货'){
-					if (!this.deptList.basisPrice) {
+					if (!String(this.deptList.basisPrice)) {
 						this.$api.msg('基差不能为空')
 						return
 					}
-					if (this.deptList.basisPrice>10000||this.deptList.basisPrice<1) {
+					if (this.deptList.basisPrice>10000||this.deptList.basisPrice<0) {
 						this.$api.msg('基差输入错误')
 						return
 					}

+ 2 - 2
pageD/myRelease/buyGrain.vue

@@ -465,11 +465,11 @@
 						}
 					}
 				} else if (this.deptList.procurementPlanType == '期货') {
-					if (!this.deptList.basisPrice) {
+					if (!String(this.deptList.basisPrice)) {
 						this.$api.msg('基差(元/吨)不能为空')
 						return
 					}
-					if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 1) {
+					if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 0) {
 						this.$api.msg('基差输入错误')
 						return
 					}

+ 1 - 1
pageD/myRelease/sellEdit.vue

@@ -497,7 +497,7 @@
 						}
 					}
 				} else if (this.deptList.salePlanType == '期货') {
-					if (!this.deptList.basisPrice) {
+					if (!String(this.deptList.basisPrice)) {
 						this.$api.msg('基差(元/吨)不能为空')
 						return
 					}

+ 2 - 2
pageD/myRelease/sellGrain.vue

@@ -497,11 +497,11 @@
 						}
 					}
 				} else if (this.deptList.salePlanType == '期货') {
-					if (!this.deptList.basisPrice) {
+					if (!String(this.deptList.basisPrice)) {
 						this.$api.msg('基差(元/吨)不能为空')
 						return
 					}
-					if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 1) {
+					if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 0) {
 						this.$api.msg('基差输入错误')
 						return
 					}