|
@@ -105,15 +105,16 @@
|
|
<input disabled placeholder="请填写发票费用" placeholder-style="font-size: 12px;" name="input" @input='someprice' v-model="purchaseOrder.invoiceFee"></input>
|
|
<input disabled placeholder="请填写发票费用" placeholder-style="font-size: 12px;" name="input" @input='someprice' v-model="purchaseOrder.invoiceFee"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="purchaseOrder.salePlanType=='期货'" class="c-row b-b align-start">
|
|
|
|
|
|
+ <!-- <view v-if="purchaseOrder.salePlanType=='期货'" class="c-row b-b align-start">
|
|
<view class="title">包装费(元/吨)</view>
|
|
<view class="title">包装费(元/吨)</view>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
<input placeholder="请填写包装费" name="input" type="number" placeholder-style="font-size: 12px;" @input='someprice' v-model="purchaseOrder.packingFee"></input>
|
|
<input placeholder="请填写包装费" name="input" type="number" placeholder-style="font-size: 12px;" @input='someprice' v-model="purchaseOrder.packingFee"></input>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
<view v-if="purchaseOrder.salePlanType=='期货'" class=" align-start ">
|
|
<view v-if="purchaseOrder.salePlanType=='期货'" class=" align-start ">
|
|
<view class="titles">结算价格</view>
|
|
<view class="titles">结算价格</view>
|
|
- <text class="textA">结算价格=点价+基差+发票费用+包装费</text>
|
|
|
|
|
|
+ <text class="textA">结算价格=点价+基差+发票费用</text>
|
|
|
|
+ <!-- <text class="textA">结算价格=点价+基差+发票费用+包装费</text> -->
|
|
<text style="font-size: 18px;color: #FD714F;margin-left: 25px;">¥{{purchaseOrder.settlementPrice}}</text>
|
|
<text style="font-size: 18px;color: #FD714F;margin-left: 25px;">¥{{purchaseOrder.settlementPrice}}</text>
|
|
<!-- <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>
|
|
@@ -294,14 +295,14 @@
|
|
if(this.purchaseOrder.pointPrice.split(".")[1].length>2){
|
|
if(this.purchaseOrder.pointPrice.split(".")[1].length>2){
|
|
this.$api.msg('点价输入错误')
|
|
this.$api.msg('点价输入错误')
|
|
return
|
|
return
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+ // this.purchaseOrder.packingFee=-this.purchaseOrder.packingFee
|
|
|
|
+ // if(this.purchaseOrder.packingFee>0||this.purchaseOrder.packingFee<-2000){
|
|
|
|
+ // this.$api.msg('包装费输入错误')
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
- this.purchaseOrder.packingFee=-this.purchaseOrder.packingFee
|
|
|
|
- if(this.purchaseOrder.packingFee>0||this.purchaseOrder.packingFee<-2000){
|
|
|
|
- this.$api.msg('包装费输入错误')
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
if(!this.purchaseOrder.customer){
|
|
if(!this.purchaseOrder.customer){
|
|
if(this.goods.customerTypeFlag==1){
|
|
if(this.goods.customerTypeFlag==1){
|
|
this.purchaseOrder.customer=this.goods.customerName
|
|
this.purchaseOrder.customer=this.goods.customerName
|