|
@@ -115,7 +115,7 @@
|
|
<view class="titles">结算价格</view>
|
|
<view class="titles">结算价格</view>
|
|
<text class="textA">结算价格=点价+基差+发票费用+包装费</text>
|
|
<text class="textA">结算价格=点价+基差+发票费用+包装费</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <text >{{purchaseOrder.settlementPrice}}</text>
|
|
|
|
|
|
+ <text style="font-size: 18px;color: #FD714F;margin-left: 120rpx;">¥{{purchaseOrder.settlementPrice}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- <input placeholder="请填写 例:袋装XX斤/散装" name="input" @input='packingInput' v-model="purchaseOrder.settlementPrice"></input> -->
|
|
<!-- <input placeholder="请填写 例:袋装XX斤/散装" name="input" @input='packingInput' v-model="purchaseOrder.settlementPrice"></input> -->
|
|
</view>
|
|
</view>
|
|
@@ -229,7 +229,7 @@
|
|
this.purchaseOrder.settlementPrice = options.basisPrice
|
|
this.purchaseOrder.settlementPrice = options.basisPrice
|
|
this.purchaseOrder.salePlanType = options.salePlanType
|
|
this.purchaseOrder.salePlanType = options.salePlanType
|
|
this.purchaseOrder.salePlan=options.salePlan
|
|
this.purchaseOrder.salePlan=options.salePlan
|
|
- this.purchaseOrder.baggingNotes=options.baggingNotes
|
|
|
|
|
|
+ // this.purchaseOrder.baggingNotes=options.baggingNotes
|
|
this.purchaseOrder.sendWarehouse = options.sendWarehouse
|
|
this.purchaseOrder.sendWarehouse = options.sendWarehouse
|
|
this.purchaseOrder.compId=options.compId
|
|
this.purchaseOrder.compId=options.compId
|
|
},
|
|
},
|
|
@@ -241,10 +241,10 @@
|
|
if(res.data.code==200){
|
|
if(res.data.code==200){
|
|
this.goods=res.data.data
|
|
this.goods=res.data.data
|
|
if(this.goods.customerTypeFlag==1){
|
|
if(this.goods.customerTypeFlag==1){
|
|
- this.purchaseOrder.invoiceFee=-20
|
|
|
|
|
|
+ // this.purchaseOrder.invoiceFee=-20
|
|
this.purchaseOrder.settlementPrice = Number(this.purchaseOrder.basis)+Number(this.purchaseOrder.invoiceFee)
|
|
this.purchaseOrder.settlementPrice = Number(this.purchaseOrder.basis)+Number(this.purchaseOrder.invoiceFee)
|
|
}else{
|
|
}else{
|
|
- this.purchaseOrder.invoiceFee=0
|
|
|
|
|
|
+ // this.purchaseOrder.invoiceFee=0
|
|
this.purchaseOrder.settlementPrice = Number(this.purchaseOrder.basis)+Number(this.purchaseOrder.invoiceFee)
|
|
this.purchaseOrder.settlementPrice = Number(this.purchaseOrder.basis)+Number(this.purchaseOrder.invoiceFee)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -380,11 +380,11 @@
|
|
this.invoiceIndex = e.detail.value
|
|
this.invoiceIndex = e.detail.value
|
|
this.purchaseOrder.typeKey=e.detail.value+1
|
|
this.purchaseOrder.typeKey=e.detail.value+1
|
|
this.purchaseOrder.type = this.invoiceType[this.invoiceIndex];
|
|
this.purchaseOrder.type = this.invoiceType[this.invoiceIndex];
|
|
- if(this.invoiceIndex == 0){
|
|
|
|
- if(this.goods.customerTypeFlag==1){
|
|
|
|
- this.purchaseOrder.invoiceFee=-20
|
|
|
|
- }else{
|
|
|
|
- this.purchaseOrder.invoiceFee=0
|
|
|
|
|
|
+ if(this.invoiceIndex == 1){
|
|
|
|
+ if(this.purchaseOrder.goodsName=='玉米'){
|
|
|
|
+ this.purchaseOrder.invoiceFee=10
|
|
|
|
+ }else if(this.purchaseOrder.goodsName=='大豆'){
|
|
|
|
+ this.purchaseOrder.invoiceFee=20
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|