zhangle 5 месяцев назад
Родитель
Сommit
0c78420a61

+ 1 - 1
crmeb_src/mer_uniapp/components/BaseMoney.vue

@@ -2,7 +2,7 @@
 	<view :class="{ line: line, weight: weight, 'font-color': !incolor}"
 	<view :class="{ line: line, weight: weight, 'font-color': !incolor}"
 		:style="{color: '#' + incolor,fontWeight: fontWeight, display:(discount || inline) ? 'inline-block' : 'block' }"
 		:style="{color: '#' + incolor,fontWeight: fontWeight, display:(discount || inline) ? 'inline-block' : 'block' }"
 		class="base-money semiBold line-heightOne">
 		class="base-money semiBold line-heightOne">
-		<text v-if="!discount" class="symbol" :style="{'font-size': symbolSize +'rpx'}"></text><text class="integer line-heightOne"
+		<text v-if="!discount" class="symbol" :style="{'font-size': symbolSize +'rpx'}">{{$store.getters.priceUnit}}</text><text class="integer line-heightOne"
 			:style="{'font-size': integerSize +'rpx'}">{{ integer }}</text>
 			:style="{'font-size': integerSize +'rpx'}">{{ integer }}</text>
 		<text v-if="digits && decimal != '00' && decimal != '0'" class="decimal"
 		<text v-if="digits && decimal != '00' && decimal != '0'" class="decimal"
 			:style="{'font-size': decimalSize +'rpx'}">.{{ decimal }}</text>
 			:style="{'font-size': decimalSize +'rpx'}">.{{ decimal }}</text>

+ 7 - 2
crmeb_src/mer_uniapp/components/orderGoods/index.vue

@@ -37,7 +37,7 @@
 						<!-- 其他价格 -->
 						<!-- 其他价格 -->
 						<view v-else class='acea-row justify-between' style="align-items: baseline;">
 						<view v-else class='acea-row justify-between' style="align-items: baseline;">
 							<view v-show="item.price || item.productPrice" class="acea-row">
 							<view v-show="item.price || item.productPrice" class="acea-row">
-								<view class='money line-heightOne regular'>{{item.price || item.productPrice}}</view>
+								<view class='money line-heightOne regular'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(item.price || item.productPrice)}}</view>
 							</view>
 							</view>
 							<view
 							<view
 								v-if="(item.deliveryMethod == 1 || !orderInfo.takeTheirSwitch) && !jump && Number(item.productType)==0"
 								v-if="(item.deliveryMethod == 1 || !orderInfo.takeTheirSwitch) && !jump && Number(item.productType)==0"
@@ -82,7 +82,9 @@
 	} from "@/enums/productEnums";
 	} from "@/enums/productEnums";
 	import PointsPrice from '@/components/PointsPrice.vue';
 	import PointsPrice from '@/components/PointsPrice.vue';
   import {handleSetClipboard} from "../../libs/order";
   import {handleSetClipboard} from "../../libs/order";
-	/**
+  import { rmbToLgns } from "@/utils";
+
+  /**
 	 * 积分商品推荐样式
 	 * 积分商品推荐样式
 	 */
 	 */
 	const hotPointsStyle = {
 	const hotPointsStyle = {
@@ -168,6 +170,9 @@
 			}
 			}
 		},
 		},
 		methods: {
 		methods: {
+      rmbToLgnsHandle(rmb){
+        return rmbToLgns(rmb)
+      },
       handleSetClipboard,
       handleSetClipboard,
 			// 普通商品、虚拟(开启可申请退款开关)、视频号可申请退款
 			// 普通商品、虚拟(开启可申请退款开关)、视频号可申请退款
 			isRefund(item) {
 			isRefund(item) {

+ 2 - 2
crmeb_src/mer_uniapp/components/svipPrice.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="acea-row items-baseline">
 	<view class="acea-row items-baseline">
 		<view :class="priceColor.color?'':'x-money'" class="mr-12 acea-row items-baseline relative" :style="svipPriceStyle.topStyle?[svipPriceStyle.topStyle,priceColor]:[priceColor]">
 		<view :class="priceColor.color?'':'x-money'" class="mr-12 acea-row items-baseline relative" :style="svipPriceStyle.topStyle?[svipPriceStyle.topStyle,priceColor]:[priceColor]">
-			<view class="f-s-26">sL</view>
+			<view class="f-s-26">{{$store.getters.priceUnit}}</view>
 			<view v-if="productPrice.groupPrice" class='tui-skeleton-rect semiBold' :style="[svipIconStyle.price]">{{productPrice.groupPrice}}</view>
 			<view v-if="productPrice.groupPrice" class='tui-skeleton-rect semiBold' :style="[svipIconStyle.price]">{{productPrice.groupPrice}}</view>
 			<view v-else class='tui-skeleton-rect semiBold' :style="[svipIconStyle.price]">{{rmbToLgnsHandle(userIsPaidMember && productPrice.isPaidMember?productPrice.vipPrice:productPrice.price)}}</view>
 			<view v-else class='tui-skeleton-rect semiBold' :style="[svipIconStyle.price]">{{rmbToLgnsHandle(userIsPaidMember && productPrice.isPaidMember?productPrice.vipPrice:productPrice.price)}}</view>
 		</view>
 		</view>
@@ -11,7 +11,7 @@
 		
 		
 		<view v-if="!userIsPaidMember && paidMemberPriceDisplay==='all' && productPrice.isPaidMember&&!productPrice.groupPrice" class="svip-price acea-row row-middle" :style="[svipPriceStyle.svipBox]">
 		<view v-if="!userIsPaidMember && paidMemberPriceDisplay==='all' && productPrice.isPaidMember&&!productPrice.groupPrice" class="svip-price acea-row row-middle" :style="[svipPriceStyle.svipBox]">
 			<view class="icon pl-10 acea-row row-middle" :style="[svipPriceStyle.icon]">SVIP</view>
 			<view class="icon pl-10 acea-row row-middle" :style="[svipPriceStyle.icon]">SVIP</view>
-			<view class="price ml-6 semiBold" :style="[svipPriceStyle.svipPrice]">¥{{productPrice.vipPrice}}</view>
+			<view class="price ml-6 semiBold" :style="[svipPriceStyle.svipPrice]">{{$store.getters.priceUnit}}{{rmbToLgnsHandle(productPrice.vipPrice)}}</view>
 		</view>
 		</view>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
crmeb_src/mer_uniapp/pages/goods/goods_details/index.vue

@@ -317,7 +317,7 @@
 												height="204rpx"></easy-loadimage>
 												height="204rpx"></easy-loadimage>
 										</view>
 										</view>
 										<view class="name line2 mt-20 h-74 lh-38rpx">{{ val.name }}</view>
 										<view class="name line2 mt-20 h-74 lh-38rpx">{{ val.name }}</view>
-										<view class="money theme_price regular">sL{{ rmbToLgnsHandle(val.price) }}</view>
+										<view class="money theme_price regular">{{$store.getters.priceUnit}}{{ rmbToLgnsHandle(val.price) }}</view>
 									</view>
 									</view>
 								</view>
 								</view>
 							</view>
 							</view>

+ 16 - 10
crmeb_src/mer_uniapp/pages/goods/order_confirm/index.vue

@@ -125,12 +125,12 @@
 						class='item acea-row row-between-wrapper'>
 						class='item acea-row row-between-wrapper'>
 						<view>快递费用</view>
 						<view>快递费用</view>
 						<view v-if='!item.freightFee || item.freightFee == 0' class="noCoupon">免运费</view>
 						<view v-if='!item.freightFee || item.freightFee == 0' class="noCoupon">免运费</view>
-						<view v-else class='money'>{{item.freightFee || 0}}</view>
+						<view v-else class='money'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(item.freightFee || 0)}}</view>
 					</view>
 					</view>
 					<view v-show="item.svipDiscountPrice != 0&&orderInfoVo.type!=2"
 					<view v-show="item.svipDiscountPrice != 0&&orderInfoVo.type!=2"
 						class='item acea-row row-between-wrapper'>
 						class='item acea-row row-between-wrapper'>
 						<view>会员优惠</view>
 						<view>会员优惠</view>
-						<view class='money'>-{{item.svipDiscountPrice || 0}}</view>
+						<view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(item.svipDiscountPrice || 0)}}</view>
 					</view>
 					</view>
 					<view v-if="isProductType" class='item acea-row row-between-wrapper'>
 					<view v-if="isProductType" class='item acea-row row-between-wrapper'>
 						<view>店铺优惠</view>
 						<view>店铺优惠</view>
@@ -138,7 +138,7 @@
 							@tap='couponTap(item.merCouponUserList,item.merId, index)'>
 							@tap='couponTap(item.merCouponUserList,item.merId, index)'>
 							<view class='discount acea-row row-between-wrapper'>
 							<view class='discount acea-row row-between-wrapper'>
 								<text
 								<text
-									class="couponTitle line1">{{item.couponFee==0?`有${item.merCouponUserList.length}张优惠券可选`:`-¥${item.couponFee}`}}</text>
+									class="couponTitle line1">{{item.couponFee==0?`有${item.merCouponUserList.length}张优惠券可选`:`-${$store.getters.priceUnit}${rmbToLgnsHandle(item.couponFee)}`}}</text>
 								<text class='iconfont text-bbb icon-ic_rightarrow ml-4'></text>
 								<text class='iconfont text-bbb icon-ic_rightarrow ml-4'></text>
 							</view>
 							</view>
 						</view>
 						</view>
@@ -159,20 +159,20 @@
         <view v-show="secondType !== ProductTypeEnum.Integral" class='moneyList borRadius14'>
         <view v-show="secondType !== ProductTypeEnum.Integral" class='moneyList borRadius14'>
           <view class='item acea-row row-between-wrapper'>
           <view class='item acea-row row-between-wrapper'>
             <view>商品总价</view>
             <view>商品总价</view>
-            <view class='money'>{{orderInfoVo.proTotalFee || 0}}</view>
+            <view class='money'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.proTotalFee || 0)}}</view>
           </view>
           </view>
           <view class='item acea-row row-between-wrapper' v-if="parseInt(orderInfoVo.freightFee) > 0">
           <view class='item acea-row row-between-wrapper' v-if="parseInt(orderInfoVo.freightFee) > 0">
             <view>运费:</view>
             <view>运费:</view>
-            <view class='money'>+{{orderInfoVo.freightFee || 0}}</view>
+            <view class='money'>+{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.freightFee || 0)}}</view>
           </view>
           </view>
           <view v-show="orderInfoVo.svipDiscountPrice != 0 &&orderInfoVo.type!=2"
           <view v-show="orderInfoVo.svipDiscountPrice != 0 &&orderInfoVo.type!=2"
                 class='item acea-row row-between-wrapper'>
                 class='item acea-row row-between-wrapper'>
             <view>会员优惠</view>
             <view>会员优惠</view>
-            <view class='money'>-{{orderInfoVo.svipDiscountPrice || 0}}</view>
+            <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.svipDiscountPrice || 0)}}</view>
           </view>
           </view>
           <view class='item acea-row row-between-wrapper' v-if="parseInt(merCouponFee) > 0 && isProductType">
           <view class='item acea-row row-between-wrapper' v-if="parseInt(merCouponFee) > 0 && isProductType">
             <view>店铺优惠</view>
             <view>店铺优惠</view>
-            <view class='money'>-{{merCouponFee}}</view>
+            <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(merCouponFee)}}</view>
           </view>
           </view>
           <view v-if="isProductType" class='item acea-row row-between-wrapper'>
           <view v-if="isProductType" class='item acea-row row-between-wrapper'>
             <view>平台优惠</view>
             <view>平台优惠</view>
@@ -180,7 +180,7 @@
                   class='discount acea-row row-between-wrapper'
                   class='discount acea-row row-between-wrapper'
                   @tap='couponTap(orderInfoVo.platCouponUserList,0)'>
                   @tap='couponTap(orderInfoVo.platCouponUserList,0)'>
               <text
               <text
-                  class="couponTitle line1">{{platCouponFee==0?`有${orderInfoVo.platCouponUserList.length}张优惠券可选`:`-¥${platCouponFee}`}}</text>
+                  class="couponTitle line1">{{platCouponFee==0?`有${orderInfoVo.platCouponUserList.length}张优惠券可选`:`-${$store.getters.priceUnit}${rmbToLgnsHandle(platCouponFee)}`}}</text>
               <text class='text-bbb iconfont icon-ic_rightarrow ml-4'></text>
               <text class='text-bbb iconfont icon-ic_rightarrow ml-4'></text>
             </view>
             </view>
             <view v-else class="noCoupon">暂无优惠券</view>
             <view v-else class="noCoupon">暂无优惠券</view>
@@ -202,7 +202,7 @@
 
 
           <view class='item acea-row row-between-wrapper' v-if="Number(orderInfoVo.deductionPrice) > 0">
           <view class='item acea-row row-between-wrapper' v-if="Number(orderInfoVo.deductionPrice) > 0">
             <view>抵扣金额</view>
             <view>抵扣金额</view>
-            <view class='money'>-{{orderInfoVo.deductionPrice || 0}}</view>
+            <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.deductionPrice || 0)}}</view>
           </view>
           </view>
 
 
         </view>
         </view>
@@ -214,7 +214,7 @@
 					<PointsPrice v-if="orderInfoVo.secondType === ProductTypeEnum.Integral" :pointsPrice="orderInfoVo"
 					<PointsPrice v-if="orderInfoVo.secondType === ProductTypeEnum.Integral" :pointsPrice="orderInfoVo"
 						:pointsGoodsStyle="hotPointsStyle"></PointsPrice>
 						:pointsGoodsStyle="hotPointsStyle"></PointsPrice>
 					<!-- 其他价格 -->
 					<!-- 其他价格 -->
-					<text v-else class='price_color f-s-38 regular line-heightOne'>{{orderInfoVo.payFee || 0}}</text>
+					<text v-else class='price_color f-s-38 regular line-heightOne'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.payFee || 0)}}</text>
 				</view>
 				</view>
 				<view class='settlement' style='z-index:100' @tap="SubOrder">
 				<view class='settlement' style='z-index:100' @tap="SubOrder">
 					{{secondType === ProductTypeEnum.Integral?"确认兑换":"立即下单"}}
 					{{secondType === ProductTypeEnum.Integral?"确认兑换":"立即下单"}}
@@ -284,6 +284,9 @@
 		ProductMarketingTypeEnum
 		ProductMarketingTypeEnum
 	} from "../../../enums/productEnums";
 	} from "../../../enums/productEnums";
 	import orderPay from "@/mixins/OrderPay.js";
 	import orderPay from "@/mixins/OrderPay.js";
+	import {
+		rmbToLgns
+	} from '@/utils/index.js'
 	let app = getApp();
 	let app = getApp();
 	/**
 	/**
 	 * 积分商品推荐样式
 	 * 积分商品推荐样式
@@ -423,6 +426,9 @@
 			this.textareaStatus = true;
 			this.textareaStatus = true;
 		},
 		},
 		methods: {
 		methods: {
+			rmbToLgnsHandle(rmb){
+				return rmbToLgns(rmb)
+			},
       //滚动
       //滚动
       touchStart() {
       touchStart() {
         // #ifdef MP || APP
         // #ifdef MP || APP

+ 12 - 8
crmeb_src/mer_uniapp/pages/goods/order_details/index.vue

@@ -243,30 +243,30 @@
 						<PointsPrice v-if="secondType === ProductTypeEnum.Integral" :pointsPrice="pointsPrice"
 						<PointsPrice v-if="secondType === ProductTypeEnum.Integral" :pointsPrice="pointsPrice"
 							:pointsGoodsStyle="hotPointsStyle"></PointsPrice>
 							:pointsGoodsStyle="hotPointsStyle"></PointsPrice>
 						<!-- 其他价格 -->
 						<!-- 其他价格 -->
-						<view v-else class='conter'>{{orderInfo.proTotalPrice || 0}}</view>
+						<view v-else class='conter'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.proTotalPrice || 0)}}</view>
 					</view>
 					</view>
 					<view class='item acea-row row-between' v-if="orderInfo.payPostage > 0">
 					<view class='item acea-row row-between' v-if="orderInfo.payPostage > 0">
 						<view>运费:</view>
 						<view>运费:</view>
-						<view class='conter'>{{orderInfo.payPostage || 0}}</view>
+						<view class='conter'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.payPostage || 0)}}</view>
 					</view>
 					</view>
 					<view class='item acea-row row-between' v-if='orderInfo.svipDiscountPrice > 0'>
 					<view class='item acea-row row-between' v-if='orderInfo.svipDiscountPrice > 0'>
 						<view>会员优惠:</view>
 						<view>会员优惠:</view>
-						<view class='conter'>-{{orderInfo.svipDiscountPrice || 0}}</view>
+						<view class='conter'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.svipDiscountPrice || 0)}}</view>
 					</view>
 					</view>
 					<view class='item acea-row row-between' v-if='orderInfo.merCouponPrice > 0'>
 					<view class='item acea-row row-between' v-if='orderInfo.merCouponPrice > 0'>
 						<view>店铺优惠:</view>
 						<view>店铺优惠:</view>
-						<view class='conter'>-{{orderInfo.merCouponPrice || 0}}</view>
+						<view class='conter'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.merCouponPrice || 0)}}</view>
 					</view>
 					</view>
 					<view class='item acea-row row-between' v-if='orderInfo.platCouponPrice > 0'>
 					<view class='item acea-row row-between' v-if='orderInfo.platCouponPrice > 0'>
 						<view>平台优惠:</view>
 						<view>平台优惠:</view>
-						<view class='conter'>-{{orderInfo.platCouponPrice || 0}}</view>
+						<view class='conter'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.platCouponPrice || 0)}}</view>
 					</view>
 					</view>
 					<view class='item acea-row row-between' v-if="orderInfo.integralPrice > 0">
 					<view class='item acea-row row-between' v-if="orderInfo.integralPrice > 0">
 						<view>积分抵扣:</view>
 						<view>积分抵扣:</view>
-						<view class='conter'>-{{orderInfo.integralPrice || 0}}</view>
+						<view class='conter'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.integralPrice || 0)}}</view>
 					</view>
 					</view>
 					<view v-show="secondType !== ProductTypeEnum.Integral" class='actualPay acea-row row-right'>
 					<view v-show="secondType !== ProductTypeEnum.Integral" class='actualPay acea-row row-right'>
-						实付款<text class='money semiBold'>{{orderInfo.payPrice || 0}}</text>
+						实付款<text class='money semiBold'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfo.payPrice || 0)}}</text>
 					</view>
 					</view>
 				</view>
 				</view>
 				<view style='height:200rpx;'></view>
 				<view style='height:200rpx;'></view>
@@ -343,7 +343,8 @@
 	import {
 	import {
 		onDelOrder
 		onDelOrder
 	} from "../../../libs/order";
 	} from "../../../libs/order";
-	import DeliveryMethod from "../../../components/DeliveryMethod";
+  import { rmbToLgns } from "@/utils";
+  import DeliveryMethod from "../../../components/DeliveryMethod";
 	import {
 	import {
 		cancelReservationApi
 		cancelReservationApi
 	} from "../../../api/order";
 	} from "../../../api/order";
@@ -470,6 +471,9 @@
 
 
 		},
 		},
 		methods: {
 		methods: {
+      rmbToLgnsHandle(rmb) {
+        return rmbToLgns(rmb);
+      },
 			//发货记录
 			//发货记录
 			godeliverRecord() {
 			godeliverRecord() {
 				uni.showLoading({
 				uni.showLoading({

+ 8 - 3
crmeb_src/mer_uniapp/pages/goods/order_list/index.vue

@@ -81,7 +81,7 @@
 									</view>
 									</view>
 								</view>
 								</view>
 								<view class='money'>
 								<view class='money'>
-									<baseMoney :money="items.price" symbolSize="20" integerSize="32" decimalSize="20"
+									<baseMoney :money="rmbToLgnsHandle(items.price)" symbolSize="20" integerSize="32" decimalSize="20"
 										incolor="282828" weight></baseMoney>
 										incolor="282828" weight></baseMoney>
 									<view class="fs-24 text--w111-999 lh-34rpx text-right">x {{items.payNum}} 件</view>
 									<view class="fs-24 text--w111-999 lh-34rpx text-right">x {{items.payNum}} 件</view>
 								</view>
 								</view>
@@ -96,7 +96,7 @@
 					<view class='totalPrice flex justify-end items-end' :class="item.status===0?'no-border':''">
 					<view class='totalPrice flex justify-end items-end' :class="item.status===0?'no-border':''">
 						{{item.totalNum}}
 						{{item.totalNum}}
 						件商品,总金额
 						件商品,总金额
-						<baseMoney :money="item.payPrice" symbolSize="20" integerSize="40" decimalSize="20" weight>
+						<baseMoney :money="rmbToLgnsHandle(item.payPrice)" symbolSize="20" integerSize="40" decimalSize="20" weight>
 						</baseMoney>
 						</baseMoney>
 					</view>
 					</view>
 					<view v-if="item.status===0 && item.expirationTime" class="mx-20 flex">
 					<view v-if="item.status===0 && item.expirationTime" class="mx-20 flex">
@@ -237,7 +237,9 @@
 	import {
 	import {
 		onDelOrder
 		onDelOrder
 	} from "../../../libs/order";
 	} from "../../../libs/order";
-	const app = getApp();
+  import { rmbToLgns } from "@/utils";
+
+  const app = getApp();
 	export default {
 	export default {
 		mixins: [orderPay],
 		mixins: [orderPay],
 		components: {
 		components: {
@@ -305,6 +307,9 @@
 			if (options.secondType) this.secondType = options.secondType
 			if (options.secondType) this.secondType = options.secondType
 		},
 		},
 		methods: {
 		methods: {
+      rmbToLgnsHandle(rmb) {
+        return rmbToLgns(rmb);
+      },
 			/**
 			/**
 			 * 分享打开
 			 * 分享打开
 			 *
 			 *

+ 7 - 7
crmeb_src/mer_uniapp/pages/order_addcart/order_addcart.vue

@@ -168,7 +168,7 @@
 					<view>
 					<view>
 						<text class="all_text">合计:</text>
 						<text class="all_text">合计:</text>
 						<text class='price-color'>
 						<text class='price-color'>
-							<text class="symbol">sL</text>
+							<text class="symbol">{{$store.getters.priceUnit}}</text>
 							<text
 							<text
 								class="all_money semiBold">{{rmbToLgnsHandle(calculatePriceData.totalPrice?calculatePriceData.totalPrice:0)}}</text>
 								class="all_money semiBold">{{rmbToLgnsHandle(calculatePriceData.totalPrice?calculatePriceData.totalPrice:0)}}</text>
 						</text>
 						</text>
@@ -176,7 +176,7 @@
 					<view class="acea-row row-middle" @click="popupChange()"
 					<view class="acea-row row-middle" @click="popupChange()"
 						v-show="calculatePriceData.totalCouponPrice>0">
 						v-show="calculatePriceData.totalCouponPrice>0">
 						<text
 						<text
-							class="youhui">优惠:sL{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice?calculatePriceData.totalCouponPrice:0)}}</text>
+							class="youhui">优惠:{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice?calculatePriceData.totalCouponPrice:0)}}</text>
 						<text class="mingxi price-color">优惠明细</text>
 						<text class="mingxi price-color">优惠明细</text>
 						<text class="iconfont icon-ic_downarrow f-s-24"></text>
 						<text class="iconfont icon-ic_downarrow f-s-24"></text>
 						<!-- <text class="iconfont icon-ic_uparrow"></text> -->
 						<!-- <text class="iconfont icon-ic_uparrow"></text> -->
@@ -231,23 +231,23 @@
 					<block v-if="calculatePriceData.proTotalPrice>0 && calculatePriceData.totalCouponPrice!=0">
 					<block v-if="calculatePriceData.proTotalPrice>0 && calculatePriceData.totalCouponPrice!=0">
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">商品总价:</text>
 							<text class="_label">商品总价:</text>
-							<text class="_count">sL{{rmbToLgnsHandle(calculatePriceData.proTotalPrice)}}</text>
+							<text class="_count">{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.proTotalPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">会员优惠:</text>
 							<text class="_label">会员优惠:</text>
-							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.svipDiscountPrice)}}</text>
+							<text class="_count">-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.svipDiscountPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">店铺优惠:</text>
 							<text class="_label">店铺优惠:</text>
-							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.merCouponPrice)}}</text>
+							<text class="_count">-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.merCouponPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">平台优惠:</text>
 							<text class="_label">平台优惠:</text>
-							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.platCouponPrice)}}</text>
+							<text class="_count">-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.platCouponPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell_all acea-row row-between-wrapper">
 						<view class="_cell_all acea-row row-between-wrapper">
 							<text class="_label">共优惠:</text>
 							<text class="_label">共优惠:</text>
-							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice)}}</text>
+							<text class="_count">-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice)}}</text>
 						</view>
 						</view>
 					</block>
 					</block>
 					<!-- #ifdef MP-->
 					<!-- #ifdef MP-->

+ 1 - 1
crmeb_src/mer_uniapp/pages/users/user_payment/index.vue

@@ -4,7 +4,7 @@
 			<view class="payment-top acea-row row-column row-center-wrapper">
 			<view class="payment-top acea-row row-column row-center-wrapper">
 				<span class="name1">我的余额</span>
 				<span class="name1">我的余额</span>
 				<view class="pic">
 				<view class="pic">
-<span class="pic-font semiBold">{{ nowMoney || 0 }}</span>
+          {{$store.getters.priceUnit}}<span class="pic-font semiBold">{{ nowMoney || 0 }}</span>
 				</view>
 				</view>
 			</view>
 			</view>
 			<view v-if="!payShow" class="payment">
 			<view v-if="!payShow" class="payment">

+ 2 - 1
crmeb_src/mer_uniapp/store/getters.js

@@ -33,5 +33,6 @@ export default {
 	isEmployee:state => state.app.isEmployee,
 	isEmployee:state => state.app.isEmployee,
 	selectMerId:state => state.app.selectMerId,
 	selectMerId:state => state.app.selectMerId,
 	selectMerchantRole:state => state.app.selectMerchantRole,
 	selectMerchantRole:state => state.app.selectMerchantRole,
-	isAdvertisement: state => state.app.isAdvertisement
+	isAdvertisement: state => state.app.isAdvertisement,
+	priceUnit: state => "sL"
 };
 };

+ 2 - 2
crmeb_src/mer_uniapp/utils/index.js

@@ -108,8 +108,8 @@ export function getCityList() {
 	});
 	});
 }
 }
 
 
-export function rmbToLgns(rmb){
-	let rate = Store.getters.globalData.daibiRateLgnsCny
+export function rmbToLgns(rmb, rate){
+	if(!rate) rate = Store.getters.globalData.daibiRateLgnsCny
 	if(!rate) rate = 1
 	if(!rate) rate = 1
 	return (rmb / rate).toFixed(2)
 	return (rmb / rate).toFixed(2)
 }
 }