zhangyuewww 3 lat temu
rodzic
commit
de3d0187b5
2 zmienionych plików z 7 dodań i 5 usunięć
  1. 1 1
      pageB/contract/contract.vue
  2. 6 4
      pageD/myRelease/buyEdit.vue

+ 1 - 1
pageB/contract/contract.vue

@@ -62,7 +62,7 @@
 				<view class='shade-content-item'>
 					<view class="titles">请于以下时间段进行点价操作:</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>
 				<view class="cancel" @click='shadestatus=false'>知道了</view>

+ 6 - 4
pageD/myRelease/buyEdit.vue

@@ -279,8 +279,10 @@
 							this.deptList.packingType != null || this.deptList.freightPayer != null) {
 							this.checked = false
 						}
-						 let number = this.deptList.basisPrice
-						this.deptList.basisPrice = Math.abs(number)
+						if(this.deptList.procurementPlanType == '期货'){
+							let number = this.deptList.basisPrice
+							this.deptList.basisPrice = Math.abs(number)
+						}
 						this.region1=this.deptList.outputPrivate+'-'+this.deptList.outputCity
 						this.region=this.deptList.receivePrivate+'-'+this.deptList.receiveCity+'-'+this.deptList.receiveArea
 						if(this.deptList.procurementPlanTypeKey==2){
@@ -558,8 +560,8 @@
 				}
 				this.insertProcurementPlanInfo = this.deptList
 				if(this.deptList.procurementPlanType == '期货'){
-								this.insertProcurementPlanInfo.basisPrice=-this.insertProcurementPlanInfo.basisPrice
-					}
+					this.insertProcurementPlanInfo.basisPrice=-this.insertProcurementPlanInfo.basisPrice
+				}
 		         this.insertProcurementPlanInfo.commonId = this.userInfo.id
 				 this.insertProcurementPlanInfo.compId = "2710b21efc1e4393930c5dc800010dc4"
 				 uni.showModal({