md
This commit is contained in:
parent
aec70e19b3
commit
bc3158555a
@ -16,7 +16,7 @@
|
|||||||
"type" : "uniCloud"
|
"type" : "uniCloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"playground" : "custom",
|
"playground" : "standard",
|
||||||
"type" : "uni-app:app-android"
|
"type" : "uni-app:app-android"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -19,7 +19,8 @@ export const getCurrentAppInfo = () => {
|
|||||||
plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => {
|
plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => {
|
||||||
console.log('plus.runtime.appid=========', plus.runtime.appid);
|
console.log('plus.runtime.appid=========', plus.runtime.appid);
|
||||||
console.log('widgetInfo=========', widgetInfo);
|
console.log('widgetInfo=========', widgetInfo);
|
||||||
widgetInfo._appVersion = `${widgetInfo.version}.${widgetInfo.versionCode}`
|
widgetInfo._appVersion = `${widgetInfo.version}.${widgetInfo.versionCode}`;
|
||||||
|
uni.setStorageSync('_appVersion', widgetInfo._appVersion);
|
||||||
resolve(widgetInfo)
|
resolve(widgetInfo)
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
|
|||||||
@ -91,7 +91,7 @@ const dealBtnMap = {
|
|||||||
woDeRenWu: { title: '我的任务', subTitle: "", icon: getCdnUrl(`mine/kehu.png`), url: 'tabBar/order/order', code: authCodeEnum.woDeRenWu },
|
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 },
|
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 },
|
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 },
|
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 },
|
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 },
|
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 { textEncoder, textDecoder } from "./util"
|
||||||
import { getCurrentAppInfo } from "@/common/appUpdate"
|
import { getCurrentAppInfo } from "@/common/appUpdate"
|
||||||
|
|
||||||
|
// let _appVersion="1.0.0"
|
||||||
let _appVersion="1.0.0"
|
|
||||||
// getCurrentAppInfo().then(res=> {
|
// getCurrentAppInfo().then(res=> {
|
||||||
// _appVersion = res._appVersion
|
// _appVersion = res._appVersion
|
||||||
// })
|
// })
|
||||||
|
|
||||||
const getCommonReqData = ()=> {
|
const getCommonReqData = ()=> {
|
||||||
const xToken = getSessionXToken()
|
const xToken = getSessionXToken()
|
||||||
|
const _appVersion = uni.getStorageSync('_appVersion');
|
||||||
return {
|
return {
|
||||||
header: {
|
header: {
|
||||||
"dataFrom": "app",
|
"dataFrom": "app",
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name" : "探路国际速运",
|
"name" : "探路国际速运",
|
||||||
"appid" : "__UNI__0985657",
|
"appid" : "__UNI__BCB0FB5",
|
||||||
"description" : "探路国际速运",
|
"description" : "探路国际速运",
|
||||||
"versionName" : "1.0.1",
|
"versionName" : "1.0.1",
|
||||||
"versionCode" : "1061",
|
"versionCode" : 1063,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
@ -27,18 +27,23 @@
|
|||||||
"Share" : {},
|
"Share" : {},
|
||||||
"Speech" : {},
|
"Speech" : {},
|
||||||
"VideoPlayer" : {},
|
"VideoPlayer" : {},
|
||||||
"Barcode" : {},
|
|
||||||
"Bluetooth" : {},
|
"Bluetooth" : {},
|
||||||
"Contacts" : {},
|
"Contacts" : {},
|
||||||
"Camera" : {},
|
"Camera" : {},
|
||||||
"Geolocation" : {},
|
"Geolocation" : {},
|
||||||
"Maps" : {}
|
"Maps" : {},
|
||||||
|
"Barcode" : {}
|
||||||
},
|
},
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
"distribute" : {
|
"distribute" : {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"android" : {
|
"android" : {
|
||||||
"permissions" : [
|
"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\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
"<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.INTERNET\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
"<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_LOGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_SMS\"/>",
|
"<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.SEND_SMS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
|
"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<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_EXTERNAL_STORAGE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
|
||||||
@ -176,7 +179,8 @@
|
|||||||
"uniStatistics" : {
|
"uniStatistics" : {
|
||||||
"enable" : true
|
"enable" : true
|
||||||
},
|
},
|
||||||
"nativePlugins" : {
|
"nativePlugins" : {}
|
||||||
|
},
|
||||||
"Ba-Scanner" : {
|
"Ba-Scanner" : {
|
||||||
"__plugin_info__" : {
|
"__plugin_info__" : {
|
||||||
"name" : "扫码原生插件 - 新(连续扫码、设置格式、任意自定义界面)Ba-Scanner",
|
"name" : "扫码原生插件 - 新(连续扫码、设置格式、任意自定义界面)Ba-Scanner",
|
||||||
@ -190,8 +194,6 @@
|
|||||||
"pid" : "9669",
|
"pid" : "9669",
|
||||||
"parameters" : {}
|
"parameters" : {}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
|
|||||||
@ -73,7 +73,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</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 class="lb1">备注:</view>
|
||||||
<view >
|
<view >
|
||||||
<view v-if="info.blLockOnlinePay=='T'" style="display: inline-block;">
|
<view v-if="info.blLockOnlinePay=='T'" style="display: inline-block;">
|
||||||
@ -127,7 +127,7 @@
|
|||||||
<u-text :text="`件数:${item.waybillDetail.parcelQty}`" size="26"
|
<u-text :text="`件数:${item.waybillDetail.parcelQty}`" size="26"
|
||||||
margin="14rpx 0 0 0"></u-text>
|
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>
|
margin="14rpx 0 0 0"></u-text>
|
||||||
|
|
||||||
<u-text :text="`寄件公司:${item.waybillDetail.sendCompany}`" size="26"
|
<u-text :text="`寄件公司:${item.waybillDetail.sendCompany}`" size="26"
|
||||||
@ -149,13 +149,13 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <template #footer>
|
<template #footer>
|
||||||
<view v-if="info.paymentStatus!=1&&info.blLockOnlinePay!='T'" class="blcok-white-noradius">
|
<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;"
|
custom-style="height:80rpx;font-size: 30rpx;"
|
||||||
>立即支付</u-button>
|
>分享给客户支付</u-button>
|
||||||
</view>
|
</view>
|
||||||
</template> -->
|
</template>
|
||||||
|
|
||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
</tpx-page>
|
</tpx-page>
|
||||||
@ -251,6 +251,34 @@
|
|||||||
// console.log(res)
|
// console.log(res)
|
||||||
// debugger
|
// 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){
|
formatSendDay(sendDate){
|
||||||
return dayjs(sendDate).format('YYYY-MM-DD');
|
return dayjs(sendDate).format('YYYY-MM-DD');
|
||||||
},
|
},
|
||||||
|
|||||||
@ -120,7 +120,7 @@
|
|||||||
<view style="display: inline-block;">
|
<view style="display: inline-block;">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-button v-if="item.paymentStatus!=1" shape="circle" type="primary" :plain="true"
|
<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>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user