|
@@ -55,7 +55,7 @@
|
|
<view class="title">销售单价(元/吨)</view>
|
|
<view class="title">销售单价(元/吨)</view>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
<view class="picker">
|
|
<view class="picker">
|
|
- <text>{{purchaseOrder.salePrice}}</text>
|
|
|
|
|
|
+ <text>{{purchaseOrder.unitPrice}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -142,7 +142,7 @@
|
|
memo:'',
|
|
memo:'',
|
|
buyer:'',
|
|
buyer:'',
|
|
buyerPhone:'',
|
|
buyerPhone:'',
|
|
- salePrice:0,
|
|
|
|
|
|
+ unitPrice:0,
|
|
address:'',
|
|
address:'',
|
|
count:0,
|
|
count:0,
|
|
province:'',
|
|
province:'',
|
|
@@ -182,7 +182,7 @@
|
|
memo:'',
|
|
memo:'',
|
|
buyer:'',
|
|
buyer:'',
|
|
buyerPhone:'',
|
|
buyerPhone:'',
|
|
- salePrice:0,
|
|
|
|
|
|
+ unitPrice:0,
|
|
address:'',
|
|
address:'',
|
|
count:0,
|
|
count:0,
|
|
id:0,
|
|
id:0,
|
|
@@ -224,7 +224,7 @@
|
|
this.purchaseOrder.buyer = options.buyer
|
|
this.purchaseOrder.buyer = options.buyer
|
|
this.purchaseOrder.customer = options.customerName
|
|
this.purchaseOrder.customer = options.customerName
|
|
this.purchaseOrder.basis = options.basisPrice
|
|
this.purchaseOrder.basis = options.basisPrice
|
|
- this.purchaseOrder.salePrice = options.salePrice
|
|
|
|
|
|
+ this.purchaseOrder.unitPrice = options.unitPrice
|
|
this.purchaseOrder.receiveWarehouse = options.receiveWarehouse
|
|
this.purchaseOrder.receiveWarehouse = options.receiveWarehouse
|
|
this.purchaseOrder.settlementPrice = options.basisPrice
|
|
this.purchaseOrder.settlementPrice = options.basisPrice
|
|
this.purchaseOrder.salePlanType = options.salePlanType
|
|
this.purchaseOrder.salePlanType = options.salePlanType
|
|
@@ -257,7 +257,7 @@
|
|
url: `/pageA/product/Identity_switching?goodsName=${this.purchaseOrder.goodsName}
|
|
url: `/pageA/product/Identity_switching?goodsName=${this.purchaseOrder.goodsName}
|
|
&receivePrivate=${this.purchaseOrder.receivePrivate}&receiveCity=${this.purchaseOrder.receiveCity}
|
|
&receivePrivate=${this.purchaseOrder.receivePrivate}&receiveCity=${this.purchaseOrder.receiveCity}
|
|
&receiveArea=${this.purchaseOrder.receiveArea}&minimumVolume=${this.purchaseOrder.minimumVolume}
|
|
&receiveArea=${this.purchaseOrder.receiveArea}&minimumVolume=${this.purchaseOrder.minimumVolume}
|
|
- &buyer=${this.purchaseOrder.buyer}&basisPrice=${this.purchaseOrder.basis}&salePrice=${this.purchaseOrder.salePrice}
|
|
|
|
|
|
+ &buyer=${this.purchaseOrder.buyer}&basisPrice=${this.purchaseOrder.basis}&unitPrice=${this.purchaseOrder.unitPrice}
|
|
&receiveWarehouse=${this.purchaseOrder.receiveWarehouse}&salePlanType=${this.purchaseOrder.salePlanType}
|
|
&receiveWarehouse=${this.purchaseOrder.receiveWarehouse}&salePlanType=${this.purchaseOrder.salePlanType}
|
|
&salePlanNo=${this.purchaseOrder.salePlan}`
|
|
&salePlanNo=${this.purchaseOrder.salePlan}`
|
|
})
|
|
})
|
|
@@ -311,8 +311,8 @@
|
|
var that=this
|
|
var that=this
|
|
this.purchaseOrder.commonId=that.userInfo.id
|
|
this.purchaseOrder.commonId=that.userInfo.id
|
|
this.purchaseOrder.pcFlag=0
|
|
this.purchaseOrder.pcFlag=0
|
|
- if(this.purchaseOrder.procurementPlanType == "期货"){
|
|
|
|
- this.purchaseOrder.salePrice = this.purchaseOrder.settlementPrice
|
|
|
|
|
|
+ if(this.purchaseOrder.salePlanType == "期货"){
|
|
|
|
+ this.purchaseOrder.unitPrice = this.purchaseOrder.settlementPrice
|
|
}
|
|
}
|
|
uni.showModal({
|
|
uni.showModal({
|
|
content: '订单提交后将发送给卖方,是否确定提交?',
|
|
content: '订单提交后将发送给卖方,是否确定提交?',
|