Commit 8865467c by huyue

Merge branch 'SAAS+V4.50' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.50

2 parents 039bbf37 b1e8e02d
......@@ -7,7 +7,7 @@
<th v-for="(item, index) in tabelTh" :key="index" :style="{ width: item.width + '%' }">{{ item.title }}</th>
</tr>
<tr class="tr" v-for="(item, index) in detail.recordList" :key="index">
<td>{{ index + 1 }}</td>
<td v-if="tabelTh[0].title == '序号'">{{ index + 1 }}</td>
<td v-for="(colValue, colKey) in tabelTr" :key="colKey">
<text class="car-box" v-if="colValue.style" :style="colValue.style(item[colValue.type])">{{ colValue.text(item[colValue.type]) }}</text>
{{ colValue.format ? colValue.format(item[colValue.key]) : colValue.name ? colValue.name(item) : item[colValue] }}
......@@ -15,7 +15,7 @@
</tr>
</table>
</view>
<view class="table-footer flex">
<view class="table-footer flex" v-if="detail.total">
<text>{{ detail.label }}合计:</text>
<text class="price">{{ detail.showUnit }}¥ {{ detail.total }}</text>
</view>
......
......@@ -51,7 +51,7 @@
<text>{{ v.label }}</text>
<uni-icons type="help" size="15" color="#A2A2A8" v-if="v.content" @click="clickTips(v)"></uni-icons>
</view>
<view class="detail-link flex" @click="showDetail(v)" v-if="v.isLink && !item.showGoodsTypeName">
<view class="detail-link flex" @click="showProductDetail(item)" v-if="item.specificGoodsType && v.isLink && !item.showGoodsTypeName">
<text>产品明细</text>
<view class="link-icon"></view>
</view>
......@@ -291,6 +291,25 @@ export default {
desc: '如门店只有一名零售驻店,则应触客台数=门店交付数'
})
},
showProductDetail(val) {
this.detail = {
label: '产品提成比例明细',
icon: 'info-icon',
tabelTh: [
{
title: '产品名称'
},
{
title: '提成比例',
width: 20
}
],
tabelTr: ['showGoodsTypeName', 'commissionRatio'],
recordList: val.goodsTypeCommissions
}
console.log(this.detail, 11)
this.show = true
},
showDetail(item) {
console.log(this.salaryDetail)
const total = this.salaryDetail[item.value]
......@@ -479,7 +498,17 @@ export default {
color: #adb0b8;
line-height: toRpx(36);
}
.detail-link {
margin-top: toRpx(4);
font-size: toRpx(24);
color: #3773f8;
.link-icon {
border-left: toRpx(10) solid #3773f8;
border-bottom: toRpx(10) solid transparent;
border-top: toRpx(10) solid transparent;
margin-left: toRpx(10);
}
}
.detail-num {
font-size: toRpx(32);
color: #292d33;
......
......@@ -53,7 +53,7 @@ export default {
data() {
return {
// showPassword: true
showPassword: true,
showPassword: false,
jobTypeList: {
0: '实习生(理论)',
1: '实习生(实践)',
......@@ -81,17 +81,17 @@ export default {
inject: ['hideFooter', 'showPage'],
async mounted() {
this.hideFooter(false)
const { phone } = uni.$storage.get('userInfo')
const res = await uni.$api.pointApi.incomeMeasurementConfig({ staffPhone: phone })
const phoneList = res.whiteConfig || {}
if (res.configFlag == 0 || (res.configFlag == 2 && phoneList.staffPhone == phone)) {
this.isShow = true
} else {
this.isShow = false
return
}
// const { phone } = uni.$storage.get('userInfo')
// const res = await uni.$api.pointApi.incomeMeasurementConfig({ staffPhone: phone })
// const phoneList = res.whiteConfig || {}
// if (res.configFlag == 0 || (res.configFlag == 2 && phoneList.staffPhone == phone)) {
// this.isShow = true
// } else {
// this.isShow = false
// return
// }
this.incomeCalculation()
this.start()
// this.start()
},
destroyed() {
this.hideFooter(true)
......
{
"name" : "展业助手",
"appid" : "__UNI__D3BD3DF",
"description" : "",
"versionName" : "2.4.0",
"versionCode" : "100",
"transformPx" : false,
"name": "展业助手",
"appid": "__UNI__D3BD3DF",
"description": "",
"versionName": "2.5.0",
"versionCode": "110",
"transformPx": false,
/* 5+App特有相关 */
"app-plus" : {
"bounce" : "none",
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"compatible" : {
"ignoreVersion" : true
"app-plus": {
"cache": false,
"bounce": "none",
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"compatible": {
"ignoreVersion": true
},
"screenOrientation" : "landscape",
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
"screenOrientation": "landscape",
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
/* 模块配置 */
"modules" : {
"Camera" : {},
"Record" : {},
"VideoPlayer" : {},
"AudioPlayer" : {},
"SQLite" : {}
"modules": {
"Camera": {},
"Record": {},
"VideoPlayer": {},
"AudioPlayer": {},
"SQLite": {}
},
/* 应用发布信息 */
"distribute" : {
"distribute": {
/* android打包配置 */
"android" : {
"permissions" : [
"android": {
"permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
......@@ -48,76 +49,83 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"targetSdkVersion" : 30
"abiFilters": [
"armeabi-v7a",
"arm64-v8a",
"x86"
],
"targetSdkVersion": 30
},
/* ios打包配置 */
"ios" : {
"dSYMs" : false,
"UIBackgroundModes" : "audio"
"ios": {
"dSYMs": false,
"UIBackgroundModes": "audio"
},
/* SDK配置 */
"sdkConfigs" : {
"ad" : {},
"speech" : {},
"geolocation" : {
"system" : {
"__platform__" : [ "ios", "android" ]
"sdkConfigs": {
"ad": {},
"speech": {},
"geolocation": {
"system": {
"__platform__": [
"ios",
"android"
]
}
}
},
"icons" : {
"android" : {
"hdpi" : "static/72.png",
"xhdpi" : "static/96.png",
"xxhdpi" : "static/144.png"
"icons": {
"android": {
"hdpi": "static/72.png",
"xhdpi": "static/96.png",
"xxhdpi": "static/144.png"
}
}
},
"nativePlugins" : {
"Ba-KeepAliveSuit" : {
"__plugin_info__" : {
"name" : "安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)",
"description" : "在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)",
"platforms" : "Android",
"url" : "https://ext.dcloud.net.cn/plugin?id=11765",
"android_package_name" : "uni.gltap",
"ios_bundle_id" : "",
"isCloud" : true,
"bought" : 1,
"pid" : "11765",
"parameters" : {}
"nativePlugins": {
"Ba-KeepAliveSuit": {
"__plugin_info__": {
"name": "安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)",
"description": "在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)",
"platforms": "Android",
"url": "https://ext.dcloud.net.cn/plugin?id=11765",
"android_package_name": "uni.gltap",
"ios_bundle_id": "",
"isCloud": true,
"bought": 1,
"pid": "11765",
"parameters": {}
}
}
}
},
/* 快应用特有相关 */
"quickapp" : {},
"quickapp": {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx79d1ff39bee3d047",
"setting" : {
"urlCheck" : false
"mp-weixin": {
"appid": "wx79d1ff39bee3d047",
"setting": {
"urlCheck": false
},
"usingComponents" : true
"usingComponents": true
},
"mp-alipay" : {
"usingComponents" : true
"mp-alipay": {
"usingComponents": true
},
"mp-baidu" : {
"usingComponents" : true
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao" : {
"usingComponents" : true
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics" : {
"enable" : false
"uniStatistics": {
"enable": false
},
"vueVersion" : "2",
"h5" : {
"devServer" : {
"port" : 8080,
"https" : false
"vueVersion": "2",
"h5": {
"devServer": {
"port": 8080,
"https": false
}
}
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!