|
@@ -294,6 +294,9 @@
|
|
|
<view class="flex-row justify-center">
|
|
<view class="flex-row justify-center">
|
|
|
<text>娇骄儿造型</text>
|
|
<text>娇骄儿造型</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="flex-row justify-center">
|
|
|
|
|
+ <text>{{codeTime}}</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
</view>
|
|
</view>
|
|
@@ -302,6 +305,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
import MescrollItem from "./module/mescrollUni-item.vue";
|
|
import MescrollItem from "./module/mescrollUni-item.vue";
|
|
|
import QQMapWX from '../../common/js/qqmap/myqqmap-sdk.js'
|
|
import QQMapWX from '../../common/js/qqmap/myqqmap-sdk.js'
|
|
|
|
|
+ import {date} from "../../uni_modules/uv-ui-tools/libs/function/test";
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
MescrollItem
|
|
MescrollItem
|
|
@@ -335,7 +339,8 @@
|
|
|
foregroundImagePadding: 2,
|
|
foregroundImagePadding: 2,
|
|
|
foregroundImageBorderRadius: 5,
|
|
foregroundImageBorderRadius: 5,
|
|
|
foregroundImageSrc: '/static/logo.png'
|
|
foregroundImageSrc: '/static/logo.png'
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ codeTime:null,
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -359,9 +364,23 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
promotion() {
|
|
promotion() {
|
|
|
|
|
+
|
|
|
|
|
+ console.log('------',this.userInfo)
|
|
|
|
|
+
|
|
|
|
|
+ if(!this.userInfo.workStoreId || !this.userInfo.techNo){
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ icon: 'error',
|
|
|
|
|
+ duration: 2000,
|
|
|
|
|
+ title: '请刷新页面重试'
|
|
|
|
|
+ });
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ let date = new Date();
|
|
|
|
|
+ this.codeTime = date.toLocaleString();
|
|
|
|
|
+
|
|
|
let data = {
|
|
let data = {
|
|
|
- promotionStoreId: this.userInfo.workStoreId || '',
|
|
|
|
|
- techNo: this.userInfo.techNo || ''
|
|
|
|
|
|
|
+ promotionStoreId: this.userInfo.workStoreId ,
|
|
|
|
|
+ techNo: this.userInfo.techNo
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
for (let key in data) {
|
|
for (let key in data) {
|