Commit 2c250c3b by LJM

签到小程序-报关日期异常

parent 3a3acd81
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
} }
} }
.uni-table-box { .uni-table-box {
padding-bottom: 50rpx; padding-bottom: 150rpx;
margin: 0 24rpx; margin: 0 24rpx;
background-color: #ffffff; background-color: #ffffff;
::v-deep .uni-table-scroll { ::v-deep .uni-table-scroll {
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
height: 98rpx; height: 98rpx;
background: #ffffff; background: #ffffff;
padding: 0 24rpx; padding: 0 24rpx;
z-index: 999;
.t1 { .t1 {
font-size: 22rpx; font-size: 22rpx;
color: #404547; color: #404547;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<text class="tt">报关日期选择</text> <text class="tt">报关日期选择</text>
</view> </view>
<view class="time-box"> <view class="time-box">
<picker mode="date" :value="date" @change="bindDateChange"> <picker mode="date" :value="date" fields="month" @change="bindDateChange">
<view class="row verCenter"> <view class="row verCenter">
<view class="uni-input">{{ date }}</view> <view class="uni-input">{{ date }}</view>
<text class="iconfont icon-sanjiaoxing3"></text> <text class="iconfont icon-sanjiaoxing3"></text>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</view> </view>
<view class="uni-table"> <view class="uni-table">
<view class="uni-th row"> <view class="uni-th row">
<text class="row verCenter rowCenter">时间</text> <text class="row verCenter rowCenter">时间</text>
<text class="row verCenter rowCenter">查车确认</text> <text class="row verCenter rowCenter">查车确认</text>
<text class="row verCenter rowCenter">通关确认</text> <text class="row verCenter rowCenter">通关确认</text>
<text class="row verCenter rowCenter">入库确认</text> <text class="row verCenter rowCenter">入库确认</text>
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
let day = date.getDate(); let day = date.getDate();
month = month > 9 ? month : '0' + month; month = month > 9 ? month : '0' + month;
day = day > 9 ? day : '0' + day; day = day > 9 ? day : '0' + day;
return `${year}-${month}-${day}`; return `${year}-${month}`;
}, },
getData() { getData() {
this.request(API.getCustomsDeclarationAndReceiptStatistics, 'GET', { date: this.date }, true).then(res => { this.request(API.getCustomsDeclarationAndReceiptStatistics, 'GET', { date: this.date }, true).then(res => {
......
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
return false; return false;
} }
} }
this.request(API.signTodayCustomsDeclarationAndReceipt, 'POST', { type: type }, false).then(res => { this.request(API.signTodayCustomsDeclarationAndReceipt, 'POST', { type: type, datetime: this.date }, false).then(res => {
if (res.err_code === 0) { if (res.err_code === 0) {
uni.showToast({ uni.showToast({
title: '操作成功', title: '操作成功',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment