Browse Source

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

zhangyuewww 3 năm trước cách đây
mục cha
commit
c92b4f0bf8
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      pageD/myRelease/buyEdit.vue

+ 4 - 4
pageD/myRelease/buyEdit.vue

@@ -446,16 +446,16 @@
 					return
 					return
 				}
 				}
 				if(this.deptList.procurementPlanType == '现货'){
 				if(this.deptList.procurementPlanType == '现货'){
-					if (!this.deptList.unitPrice) {
+					if (!this.deptList.procurementPrice) {
 						this.$api.msg('单价不能为空')
 						this.$api.msg('单价不能为空')
 						return
 						return
 					}
 					}
-					if (this.deptList.unitPrice>100000||this.deptList.unitPrice<1) {
+					if (this.deptList.procurementPrice>100000||this.deptList.procurementPrice<1) {
 						this.$api.msg('单价输入错误')
 						this.$api.msg('单价输入错误')
 						return
 						return
 					}
 					}
-					if (this.deptList.unitPrice.indexOf('.')!=-1) {
-						if(this.deptList.unitPrice.split('.')[1].length>2){
+					if (this.deptList.procurementPrice.indexOf('.')!=-1) {
+						if(this.deptList.procurementPrice.split('.')[1].length>2){
 							this.$api.msg('单价输入错误')
 							this.$api.msg('单价输入错误')
 							return
 							return
 						}
 						}