md
This commit is contained in:
parent
aec70e19b3
commit
bc3158555a
@ -16,7 +16,7 @@
|
||||
"type" : "uniCloud"
|
||||
},
|
||||
{
|
||||
"playground" : "custom",
|
||||
"playground" : "standard",
|
||||
"type" : "uni-app:app-android"
|
||||
}
|
||||
]
|
||||
|
||||
@ -19,7 +19,8 @@ export const getCurrentAppInfo = () => {
|
||||
plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => {
|
||||
console.log('plus.runtime.appid=========', plus.runtime.appid);
|
||||
console.log('widgetInfo=========', widgetInfo);
|
||||
widgetInfo._appVersion = `${widgetInfo.version}.${widgetInfo.versionCode}`
|
||||
widgetInfo._appVersion = `${widgetInfo.version}.${widgetInfo.versionCode}`;
|
||||
uni.setStorageSync('_appVersion', widgetInfo._appVersion);
|
||||
resolve(widgetInfo)
|
||||
});
|
||||
// #endif
|
||||
|
||||
@ -91,7 +91,7 @@ const dealBtnMap = {
|
||||
woDeRenWu: { title: '我的任务', subTitle: "", icon: getCdnUrl(`mine/kehu.png`), url: 'tabBar/order/order', code: authCodeEnum.woDeRenWu },
|
||||
jiTiMingXi: { title: '计提明细', subTitle: "", icon: getCdnUrl(`mine/jitmx.png`), url: 'user/withdraw', code: authCodeEnum.jiTiMingXi },
|
||||
yeWuTongJi: { title: '业务统计', subTitle: "", icon: getCdnUrl(`mine/shj.png`), url: 'user/bunsStatic', code: authCodeEnum.yeWuTongJi },
|
||||
daiHuiKuan: { title: '待回款', subTitle: "", icon: getCdnUrl(`mine/jitmx.png`), url: 'bill/list', code: authCodeEnum.daiHuiKuan },
|
||||
daiHuiKuan: { title: '待回款', subTitle: "", icon: getCdnUrl(`mine/daihuikuan.png`), url: 'bill/list', code: authCodeEnum.jiTiMingXi },
|
||||
mianDanDayin: { title: '面单打印', subTitle: "", icon: getCdnUrl(`home/mdbuda.png`), url: 'print/courierNote', code: authCodeEnum.mianDanDaYin },
|
||||
kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: 'post/query', code: authCodeEnum.kuaiJianGenZong },
|
||||
heBaoScan: { title: '合包扫描', subTitle: "", icon: getCdnUrl(`home/hebaosm.png`), url: 'tms/coPackingScanning', code: authCodeEnum.heBaoScan },
|
||||
|
||||
@ -4,14 +4,14 @@ import { setSessionXToken, getSessionXToken } from "@/session"
|
||||
import { textEncoder, textDecoder } from "./util"
|
||||
import { getCurrentAppInfo } from "@/common/appUpdate"
|
||||
|
||||
|
||||
let _appVersion="1.0.0"
|
||||
// let _appVersion="1.0.0"
|
||||
// getCurrentAppInfo().then(res=> {
|
||||
// _appVersion = res._appVersion
|
||||
// })
|
||||
|
||||
const getCommonReqData = ()=> {
|
||||
const xToken = getSessionXToken()
|
||||
|
||||
const _appVersion = uni.getStorageSync('_appVersion');
|
||||
return {
|
||||
header: {
|
||||
"dataFrom": "app",
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "探路国际速运",
|
||||
"appid" : "__UNI__0985657",
|
||||
"appid" : "__UNI__BCB0FB5",
|
||||
"description" : "探路国际速运",
|
||||
"versionName" : "1.0.1",
|
||||
"versionCode" : "1061",
|
||||
"versionCode" : 1063,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@ -27,18 +27,23 @@
|
||||
"Share" : {},
|
||||
"Speech" : {},
|
||||
"VideoPlayer" : {},
|
||||
"Barcode" : {},
|
||||
"Bluetooth" : {},
|
||||
"Contacts" : {},
|
||||
"Camera" : {},
|
||||
"Geolocation" : {},
|
||||
"Maps" : {}
|
||||
"Maps" : {},
|
||||
"Barcode" : {}
|
||||
},
|
||||
/* 应用发布信息 */
|
||||
/* 应用发布信息
|
||||
|
||||
|
||||
*/
|
||||
"distribute" : {
|
||||
/* android打包配置 */
|
||||
"android" : {
|
||||
"permissions" : [
|
||||
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
||||
@ -57,7 +62,6 @@
|
||||
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
||||
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||
"<uses-permission android:name=\"android.permission.READ_SMS\"/>",
|
||||
@ -66,7 +70,6 @@
|
||||
"<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
|
||||
@ -176,21 +179,20 @@
|
||||
"uniStatistics" : {
|
||||
"enable" : true
|
||||
},
|
||||
"nativePlugins" : {
|
||||
"Ba-Scanner" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "扫码原生插件 - 新(连续扫码、设置格式、任意自定义界面)Ba-Scanner",
|
||||
"description" : "Ba-Scanner 是一款毫秒级扫码插件,采用Google MLKit。支持连续扫码,持续万次不卡顿;支持自定义任意界面、任意点击事件、权限说明;支持多码、相册、闪光灯、焦距缩放、提示音、震动等等。",
|
||||
"platforms" : "Android",
|
||||
"url" : "https://ext.dcloud.net.cn/plugin?id=9669",
|
||||
"android_package_name" : "uni.UNIBCB0FB5",
|
||||
"ios_bundle_id" : "uni.UNIBCB0FB5",
|
||||
"isCloud" : true,
|
||||
"bought" : 1,
|
||||
"pid" : "9669",
|
||||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
"nativePlugins" : {}
|
||||
},
|
||||
"Ba-Scanner" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "扫码原生插件 - 新(连续扫码、设置格式、任意自定义界面)Ba-Scanner",
|
||||
"description" : "Ba-Scanner 是一款毫秒级扫码插件,采用Google MLKit。支持连续扫码,持续万次不卡顿;支持自定义任意界面、任意点击事件、权限说明;支持多码、相册、闪光灯、焦距缩放、提示音、震动等等。",
|
||||
"platforms" : "Android",
|
||||
"url" : "https://ext.dcloud.net.cn/plugin?id=9669",
|
||||
"android_package_name" : "uni.UNIBCB0FB5",
|
||||
"ios_bundle_id" : "uni.UNIBCB0FB5",
|
||||
"isCloud" : true,
|
||||
"bought" : 1,
|
||||
"pid" : "9669",
|
||||
"parameters" : {}
|
||||
}
|
||||
},
|
||||
/* 快应用特有相关 */
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dt-item mt-30">
|
||||
<view v-if="info.paymentStatus!=1" class="dt-item mt-30">
|
||||
<view class="lb1">备注:</view>
|
||||
<view >
|
||||
<view v-if="info.blLockOnlinePay=='T'" style="display: inline-block;">
|
||||
@ -127,7 +127,7 @@
|
||||
<u-text :text="`件数:${item.waybillDetail.parcelQty}`" size="26"
|
||||
margin="14rpx 0 0 0"></u-text>
|
||||
|
||||
<u-text :text="`结算重量:${item.waybillDetail.settlementWeight}`" size="26"
|
||||
<u-text :text="`结算重量:${item.waybillDetail.settlementWeight}KG`" size="26"
|
||||
margin="14rpx 0 0 0"></u-text>
|
||||
|
||||
<u-text :text="`寄件公司:${item.waybillDetail.sendCompany}`" size="26"
|
||||
@ -149,13 +149,13 @@
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<!-- <template #footer>
|
||||
<template #footer>
|
||||
<view v-if="info.paymentStatus!=1&&info.blLockOnlinePay!='T'" class="blcok-white-noradius">
|
||||
<u-button @click="handleCallPay()" type="primary" size="large" shape="circle"
|
||||
<u-button @click="shareToWeixin()" type="primary" size="large" shape="circle"
|
||||
custom-style="height:80rpx;font-size: 30rpx;"
|
||||
>立即支付</u-button>
|
||||
>分享给客户支付</u-button>
|
||||
</view>
|
||||
</template> -->
|
||||
</template>
|
||||
|
||||
</tpx-layout>
|
||||
</tpx-page>
|
||||
@ -251,6 +251,34 @@
|
||||
// console.log(res)
|
||||
// debugger
|
||||
},
|
||||
|
||||
shareToWeixin(){
|
||||
this.shareTo('weixin', 'WXSceneSession')
|
||||
},
|
||||
shareTo(platform, scene = '') {
|
||||
uni.share({
|
||||
provider: platform,
|
||||
scene: scene,
|
||||
type: 0,
|
||||
title: "探路速运运单支付:"+this.queryOption.blNo,
|
||||
summary: "请使用微信付款",
|
||||
href: 'https://oms.tanex56.com/onlinePay?bid='+this.queryOption.blNo,
|
||||
imageUrl: '',
|
||||
success: (res) => {
|
||||
uni.showToast({
|
||||
title: '分享成功',
|
||||
icon: 'none'
|
||||
})
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error('分享失败:', err)
|
||||
uni.showToast({
|
||||
title: '分享失败,请稍后重试',
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
formatSendDay(sendDate){
|
||||
return dayjs(sendDate).format('YYYY-MM-DD');
|
||||
},
|
||||
|
||||
@ -120,7 +120,7 @@
|
||||
<view style="display: inline-block;">
|
||||
<u-row>
|
||||
<u-button v-if="item.paymentStatus!=1" shape="circle" type="primary" :plain="true"
|
||||
@click="handleDealItem(item, { type: 1 })" custom-style="height: 54rpx;margin-left: 12rpx;">去付款</u-button>
|
||||
@click="handleDealItem(item, { type: 1 })" custom-style="height: 54rpx;margin-left: 12rpx;">收款</u-button>
|
||||
</u-row>
|
||||
</view>
|
||||
</u-row>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user