chenrui 2 سال پیش
والد
کامیت
04033827ba
4فایلهای تغییر یافته به همراه11 افزوده شده و 8 حذف شده
  1. 5 2
      pages/sales/bill.vue
  2. 3 3
      pages/sales/billHistoryDetail.vue
  3. 1 1
      pages/sales/customerList.vue
  4. 2 2
      pages/sales/salesDetail.vue

+ 5 - 2
pages/sales/bill.vue

@@ -229,7 +229,9 @@ export default {
 			this.params.targetSn = res.customerSn;
 			this.params.targetSn = res.customerSn;
 			this.changeTime();
 			this.changeTime();
 		});
 		});
-		this.cycleName = this.changeShowTime();
+		if(this.curTab !=6 && this.curTab !=7){
+			this.cycleName = this.changeShowTime();
+		}
 	},
 	},
 	onReady() {
 	onReady() {
 		setTimeout(()=>{
 		setTimeout(()=>{
@@ -301,6 +303,7 @@ export default {
 		goChooseCustomer() {
 		goChooseCustomer() {
 			uni.setStorageSync('curTab', this.curTab);
 			uni.setStorageSync('curTab', this.curTab);
 			this.jumpPage('/pages/sales/chooseCustomerBill');
 			this.jumpPage('/pages/sales/chooseCustomerBill');
+			this.allChecked = false
 		},
 		},
 		changeTime() {
 		changeTime() {
 			if (this.curTab != 6 && this.curTab != 7) {
 			if (this.curTab != 6 && this.curTab != 7) {
@@ -455,7 +458,7 @@ export default {
 			let verifyId = Date.now()+this.nanoid();
 			let verifyId = Date.now()+this.nanoid();
 			this.verifyIdNum = verifyId
 			this.verifyIdNum = verifyId
 			let settlement=this.chooseTotalPayPrice - this.backDiscountVal
 			let settlement=this.chooseTotalPayPrice - this.backDiscountVal
-			let url = 'http://p.iscm.360arrow.com/dzd/index.html?userSn=' + this.userData.orgSn + '&verifySn='+verifyId + '&name='+encodeURIComponent(this.userData.orgName);
+			let url = 'http://p.iscm.360arrow.com/dzd/index.html?' + this.userData.orgSn + '&'+verifyId + '&'+encodeURIComponent(this.userData.orgName);
 			if (uni.getSystemInfoSync().platform == 'ios') {
 			if (uni.getSystemInfoSync().platform == 'ios') {
 				uni.share({
 				uni.share({
 					provider: 'weixin',
 					provider: 'weixin',

+ 3 - 3
pages/sales/billHistoryDetail.vue

@@ -9,10 +9,10 @@
 				<text>客户名称</text>
 				<text>客户名称</text>
 				<text>{{ billInfo.customer.customerName }}</text>
 				<text>{{ billInfo.customer.customerName }}</text>
 			</view>
 			</view>
-			<view class="head_list">
+			<!-- <view class="head_list">
 				<text>对账周期</text>
 				<text>对账周期</text>
 				<text>{{ timeInfo || '--' }}</text>
 				<text>{{ timeInfo || '--' }}</text>
-			</view>
+			</view> -->
 			<view class="head_list">
 			<view class="head_list">
 				<text>付款状态</text>
 				<text>付款状态</text>
 				<text>{{ billInfo.billStatus == 'UNSETTLE' ? '未付款' : billInfo.settleStyleSnDictValue ? '已付款(' + billInfo.settleStyleSnDictValue + ')' : '已付款' }}</text>
 				<text>{{ billInfo.billStatus == 'UNSETTLE' ? '未付款' : billInfo.settleStyleSnDictValue ? '已付款(' + billInfo.settleStyleSnDictValue + ')' : '已付款' }}</text>
@@ -111,7 +111,7 @@ export default {
 		},
 		},
 		// 分享图文
 		// 分享图文
 		handleShare() {
 		handleShare() {
-			let url = 'http://p.iscm.360arrow.com/dzd/index.html?userSn=' + this.userData.orgSn + '&verifySn=' + this.verifySn + '&name=' + this.userData.orgName;
+			let url = 'http://p.iscm.360arrow.com/dzd/index.html?' + this.userData.orgSn + '&' + this.verifySn + '&' + encodeURIComponent(this.userData.orgName);
 			if (uni.getSystemInfoSync().platform == 'ios') {
 			if (uni.getSystemInfoSync().platform == 'ios') {
 				uni.share({
 				uni.share({
 					provider: 'weixin',
 					provider: 'weixin',

+ 1 - 1
pages/sales/customerList.vue

@@ -6,7 +6,7 @@
 				<view class="customer-b u-flex">
 				<view class="customer-b u-flex">
 					<view class="customer-box">
 					<view class="customer-box">
 						<text>欠款:</text>
 						<text>欠款:</text>
-						<text>¥{{ item.settleAmount || 0 }}</text>
+						<text>¥{{ Number(item.settleAmount)?Number(item.settleAmount).toFixed(2):'0.00' }}</text>
 					</view>
 					</view>
 					<view class="customer-box">收款方式:{{ item.customer.settleStyleSnDictValue || '--' }}</view>
 					<view class="customer-box">收款方式:{{ item.customer.settleStyleSnDictValue || '--' }}</view>
 				</view>
 				</view>

+ 2 - 2
pages/sales/salesDetail.vue

@@ -86,13 +86,13 @@
 							<view v-if="con.settleStyleSnDictValue">{{con.settleStyleSnDictValue}}</view>
 							<view v-if="con.settleStyleSnDictValue">{{con.settleStyleSnDictValue}}</view>
 						</view>
 						</view>
 						<view class="sales-list-r income" >
 						<view class="sales-list-r income" >
-							{{con.settleAmount *1 > 0?'+':'-'}}¥{{con.settleAmount}}
+							{{con.settleAmount * 1 > 0?'+':'-'}}¥{{Number(con.settleAmount)?Number(con.settleAmount).toFixed(2):'0.00'}}
 						</view>
 						</view>
 					</view>
 					</view>
 					<view v-if="payRecode.length==0">
 					<view v-if="payRecode.length==0">
 						<u-empty :src="`/static/${$config('themePath')}/def_no_data@3x.png`" icon-size="150" :text="noDataText" mode="list" :margin-top="50"></u-empty>
 						<u-empty :src="`/static/${$config('themePath')}/def_no_data@3x.png`" icon-size="150" :text="noDataText" mode="list" :margin-top="50"></u-empty>
 					</view>
 					</view>
-					<view style="padding: 20upx;">
+					<view style="padding: 20upx;" v-if="payRecode.length!=0">
 						<u-loadmore  status="nomore" />
 						<u-loadmore  status="nomore" />
 					</view>
 					</view>
 				</scroll-view>
 				</scroll-view>