|
@@ -279,8 +279,10 @@
|
|
this.deptList.packingType != null || this.deptList.freightPayer != null) {
|
|
this.deptList.packingType != null || this.deptList.freightPayer != null) {
|
|
this.checked = false
|
|
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.region1=this.deptList.outputPrivate+'-'+this.deptList.outputCity
|
|
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){
|
|
@@ -558,8 +560,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({
|