瀏覽代碼

前端gjy

gjy 3 年之前
父節點
當前提交
d0a8a64ff1
共有 3 個文件被更改,包括 9 次插入5 次删除
  1. 1 1
      pageB/contract/contract.vue
  2. 6 2
      pageD/myRelease/buyEdit.vue
  3. 2 2
      pageD/warehousings/warehousings.vue

+ 1 - 1
pageB/contract/contract.vue

@@ -62,7 +62,7 @@
 				<view class='shade-content-item'>
 				<view class='shade-content-item'>
 					<view class="titles">请于以下时间段进行点价操作:</view>
 					<view class="titles">请于以下时间段进行点价操作:</view>
 					<view class="timeslot">11:30 ~ 12:30</view>
 					<view class="timeslot">11:30 ~ 12:30</view>
-					<view class="timeslot">15:20 ~ 20:00</view>
+					<view class="timeslot">15:30 ~ 20:00</view>
 					<view class="timeslot">23:00 ~ 08:00</view>
 					<view class="timeslot">23:00 ~ 08:00</view>
 				</view>
 				</view>
 				<view class="cancel" @click='shadestatus=false'>知道了</view>
 				<view class="cancel" @click='shadestatus=false'>知道了</view>

+ 6 - 2
pageD/myRelease/buyEdit.vue

@@ -299,6 +299,10 @@
 						if(this.deptList.outputPrivate&&this.deptList.outputCity){
 						if(this.deptList.outputPrivate&&this.deptList.outputCity){
 							this.region1=this.deptList.outputPrivate+'-'+this.deptList.outputCity
 							this.region1=this.deptList.outputPrivate+'-'+this.deptList.outputCity
 						}
 						}
+						if(this.deptList.procurementPlanType == '期货'){
+							let number = this.deptList.basisPrice
+							this.deptList.basisPrice = Math.abs(number)
+						}
 						this.region=this.deptList.receivePrivate+'-'+this.deptList.receiveCity+'-'+this.deptList.receiveArea
 						this.region=this.deptList.receivePrivate+'-'+this.deptList.receiveCity+'-'+this.deptList.receiveArea
 						if(this.deptList.procurementPlanTypeKey==2){
 						if(this.deptList.procurementPlanTypeKey==2){
 							this.typesIndex=1
 							this.typesIndex=1
@@ -586,8 +590,8 @@
 				}
 				}
 				this.insertProcurementPlanInfo = this.deptList
 				this.insertProcurementPlanInfo = this.deptList
 				if(this.deptList.procurementPlanType == '期货'){
 				if(this.deptList.procurementPlanType == '期货'){
-								this.insertProcurementPlanInfo.basisPrice=-this.insertProcurementPlanInfo.basisPrice
-					}
+					this.insertProcurementPlanInfo.basisPrice=-this.insertProcurementPlanInfo.basisPrice
+				}
 		         this.insertProcurementPlanInfo.commonId = this.userInfo.id
 		         this.insertProcurementPlanInfo.commonId = this.userInfo.id
 				 this.insertProcurementPlanInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
 				 this.insertProcurementPlanInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
 				 uni.showModal({
 				 uni.showModal({

+ 2 - 2
pageD/warehousings/warehousings.vue

@@ -418,7 +418,7 @@ import upload from '@/components/upload.vue';
 						return
 						return
 					}
 					}
 				}
 				}
-				if(this.list.bulkDensity&&this.list.bulkDensity<1||this.list.bulkDensity&&this.list.bulkDensity>40){
+				if(this.list.bulkDensity&&this.list.bulkDensity<500||this.list.bulkDensity&&this.list.bulkDensity>1000){
 					this.$api.msg('容重输入错误')
 					this.$api.msg('容重输入错误')
 					return
 					return
 				}
 				}
@@ -576,7 +576,7 @@ import upload from '@/components/upload.vue';
 						return
 						return
 					}
 					}
 				}
 				}
-				if(this.list.bulkDensity&&this.list.bulkDensity<1||this.list.bulkDensity&&this.list.bulkDensity>40){
+				if(this.list.bulkDensity&&this.list.bulkDensity<500||this.list.bulkDensity&&this.list.bulkDensity>1000){
 					this.$api.msg('容重输入错误')
 					this.$api.msg('容重输入错误')
 					return
 					return
 				}
 				}