Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e56aa1c24f | |||
| 2e3ba63aa0 | |||
| 9d3a376ec0 | |||
|
|
4813635a78 | ||
|
|
8024394c40 |
@@ -24,7 +24,7 @@
|
||||
<view class="introduce">
|
||||
<image :src="item.url"></image>
|
||||
<view>{{item.productName}}</view>
|
||||
<view>规格:默认</view>
|
||||
<view>规格:{{ item.attributesTypeName }}</view>
|
||||
<view>库存:{{item.totalStock}}</view>
|
||||
</view>
|
||||
<view class="examine" @click="examineDetail(item)"
|
||||
@@ -215,7 +215,7 @@
|
||||
productByPage() {
|
||||
serve.productByPage(this.paramter).then(res => {
|
||||
if (res.code === 20000) {
|
||||
if (!res.data.list.length&&this.paramter.currentPage!=1) {
|
||||
if (!res.data.list.length && this.paramter.currentPage != 1) {
|
||||
uni.showToast({
|
||||
title: '没有更多订单啦~',
|
||||
icon: 'none'
|
||||
@@ -245,8 +245,10 @@
|
||||
this.$refs.delete.open('center')
|
||||
this.deleteData = item
|
||||
},
|
||||
deleteIntegral(){
|
||||
serve.deleteProductById({id:this.deleteData.id}).then(res=>{
|
||||
deleteIntegral() {
|
||||
serve.deleteProductById({
|
||||
id: this.deleteData.id
|
||||
}).then(res => {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none'
|
||||
@@ -596,4 +598,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view> -->
|
||||
<view v-if="exportShow==true">
|
||||
<view v-if="exportShow">
|
||||
<view style="padding: 30upx;"></view>
|
||||
<view style="position: fixed;width: 750upx;z-index: 5;text-align: right;top:315upx;right: 30upx;">
|
||||
<button class="cu-btn bg-white" @click="orderExport">订单导出</button>
|
||||
@@ -109,19 +109,21 @@
|
||||
<input v-model="params.email" class="card_item_input" placeholder="请输入邮箱" />
|
||||
</view>
|
||||
<view class="popup_card_from_item">
|
||||
<view class="popup_card_from_item_left_text">开始时间:</view>
|
||||
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">开始时间:</view>
|
||||
<view class="uni-list-cell-db">
|
||||
<picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker">
|
||||
<uni-datetime-picker type="datetime" :value="startDate" @change="startDateChange" />
|
||||
<!-- <picker mode="date" :value="startDate" @change="startDateChange" class="uni-picker">
|
||||
<view class="uni-input">{{startDate}}</view>
|
||||
</picker>
|
||||
</picker> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup_card_from_item">
|
||||
<view class="popup_card_from_item_left_text">结束时间:</view>
|
||||
<view class="popup_card_from_item_left_text" style="margin-top: 32rpx;">结束时间:</view>
|
||||
<view class="uni-list-cell-db">
|
||||
<picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker">
|
||||
<uni-datetime-picker type="datetime" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" />
|
||||
<!-- <picker mode="date" :value="endDate" @change="endDateChange" :start="endStartDate" :end="endEndDate" class="uni-picker">
|
||||
<view class="uni-input">{{endDate}}</view>
|
||||
</picker>
|
||||
</picker> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -222,7 +224,8 @@
|
||||
'1689183144276463616',
|
||||
'1689183774927818752',
|
||||
'1689184331812888576',
|
||||
'1689185023261741056'
|
||||
'1689185023261741056',
|
||||
'1782596400854310912'
|
||||
]
|
||||
var exportFields = exportList.filter((item) => {
|
||||
return item == uni.getStorageSync('oilSitePriceId');
|
||||
@@ -451,10 +454,10 @@
|
||||
}
|
||||
},
|
||||
startDateChange:function(e){
|
||||
this.startDate = e.detail.value
|
||||
this.startDate = e
|
||||
let data=this.startDate
|
||||
this.endStartDate = data
|
||||
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 30)
|
||||
this.endEndDate = this.getEndDate(Date.parse(data)+ 3600 * 1000 * 24 * 31)
|
||||
this.params.startTime = this.startDate
|
||||
},
|
||||
endDateChange:function(e){
|
||||
@@ -464,7 +467,7 @@
|
||||
icon: 'none'
|
||||
});
|
||||
}else{
|
||||
this.endDate = e.detail.value
|
||||
this.endDate = e
|
||||
this.params.endTime = this.endDate
|
||||
}
|
||||
|
||||
|
||||
@@ -23,9 +23,10 @@
|
||||
|
||||
</view>
|
||||
<view class="margin text-center">
|
||||
<button v-if="checked" class="cu-btn round bg-main-oil lg text-lg" open-type="getPhoneNumber"
|
||||
<!-- <text class="cuIcon-weixin padding-right-xs"> </text> -->
|
||||
<!-- <button v-if="checked" class="cu-btn round bg-main-oil lg text-lg" open-type="getPhoneNumber"
|
||||
@getphonenumber="decryptPhoneNumber">
|
||||
<!-- <text class="cuIcon-weixin padding-right-xs"> </text> -->
|
||||
|
||||
<text>
|
||||
手机号快捷登录
|
||||
</text>
|
||||
@@ -34,7 +35,7 @@
|
||||
<text>
|
||||
手机号快捷登录
|
||||
</text>
|
||||
</button>
|
||||
</button> -->
|
||||
<!-- <button class="cu-btn round btnSize" open-type="getPhoneNumber"
|
||||
@getphonenumber="decryptPhoneNumber">
|
||||
<text class="cuIcon-weixin text-green lg"></text>
|
||||
|
||||
Reference in New Issue
Block a user