zhangyuewww 3 years ago
parent
commit
524e78731a
2 changed files with 7 additions and 10 deletions
  1. 0 3
      pageA/product/business_buy.vue
  2. 7 7
      pageA/product/business_sale.vue

+ 0 - 3
pageA/product/business_buy.vue

@@ -421,9 +421,6 @@
 				buyerPhoneInput(e){
 					this.buyerPhone = e.detail.value
 				},
-				unitPriceInput(e){
-					this.unitPrice = e.detail.value
-				},
 				addressInput(e){
 					this.address = e.detail.value
 				},

+ 7 - 7
pageA/product/business_sale.vue

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