فهرست منبع

提交特使问题 发票

zhengjinyi 4 سال پیش
والد
کامیت
2b8fd252ce

+ 2 - 3
components/cm-module/creatOrder/invoiceTent.vue

@@ -120,7 +120,6 @@
 					invoiceTitleType:'0'//发票抬头类型 1企业 0个人
 				},
 				invoiceData:{
-					id:null,
 					invoiceTitle:'',	 //单位名称
 					corporationTaxNum:'',//纳税人识别号
 					registeredAddress: '',//单位地址
@@ -150,8 +149,8 @@
 			},
 			updateInvoiceFn(){//保存发票信息
 				this.$api.getStorage().then((resolve) => {
-					let params =Object.assign(this.invoiceData,'',{userId:resolve.userID})
-					this.OrderService.UpdateInvoice(params).then(response =>{})
+					console.log(resolve.userID)
+					this.OrderService.UpdateInvoice(Object.assign({userId:resolve.userID},this.invoiceData)).then(response =>{})
 				})
 			},
 			choiceaInvoiceConfim(){

+ 0 - 1
components/cm-module/creatOrder/sellerInvoice.vue

@@ -120,7 +120,6 @@
 					invoiceTitleType:'0'//发票抬头类型 1企业 0个人
 				},
 				invoiceData:{
-					id:'',
 					invoiceTitle:'',	 //单位名称
 					corporationTaxNum:'',//纳税人识别号
 					registeredAddress: '',//单位地址

+ 2 - 2
components/cm-module/productDetails/cm-activipopu.vue

@@ -4,7 +4,7 @@
 		<view class="tui-popup-box clearfix">
 			<template v-if="product.actStatus == null  &&  product.ladderFlag == 1">
 				<view class="tui-scrollview-box">
-					<view class="ladder-main">
+					<view class="ladder-main clearfix">
 						<view class="ladder-item">
 							<view class="ladder-item-td">起订量</view>
 							<view class="ladder-item-td">价格</view>
@@ -33,7 +33,7 @@
 						<text class="txt">¥{{product.promotions.touchPrice}}</text>赠送商品
 					</view>
 					<view class="box-product" v-show="product.promotions.mode==3">
-						<view class="box-product-main"  v-for="(item, index) in pproduct.promotions.giftList" :key="index">
+						<view class="box-product-main"  v-for="(item, index) in product.promotions.giftList" :key="index">
 							<view class="image"><image :src="item.image" mode="widthFix"></image></view>
 							<view class="info">
 								<view class="name">{{ item.name }}</view>

+ 44 - 0
h5/pages/article/page.vue

@@ -0,0 +1,44 @@
+<template>
+	<view class="activity">
+		<!-- <image @click.stop="navToDetailPage" src="https://img.caimei365.com/group1/M00/03/9A/Cmis216Zf8GAb_UqABE6NiwUUZs004.jpg" mode="widthFix"></image> -->
+	   <web-view :webview-styles="webviewStyles" :src="activityPath"></web-view>
+	</view>
+</template>
+
+<script>
+	export default {
+	    data() {
+	        return {
+	            webviewStyles: {
+	                progress: {
+	                    color: '#FF3333'
+	                }
+	            },
+				productID:'',
+				activityPath:'https://www.caimei365.com/info/center-3-1.html'
+	        }
+	    },
+		onLoad(option) {
+			console.log(option)
+			this.activityPath = option.path
+			this.productID = option.productID
+			uni.setNavigationBarTitle({title:'多重精华,多重修复'});
+		},
+		methods:{
+			navToDetailPage() {//跳转商品详情页
+				this.$api.navigateTo(`/pages/goods/product?id=${this.productID}`)
+			},
+		}
+	}
+</script>
+	
+<style lang="scss">
+	.activity{
+		width: 100%;
+		height: auto;
+		image{
+			width: 100%;
+			height: auto;
+		}
+	}
+</style>