|
@@ -299,6 +299,10 @@
|
|
|
if(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
|
|
|
if(this.deptList.procurementPlanTypeKey==2){
|
|
|
this.typesIndex=1
|
|
@@ -586,8 +590,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({
|