Commit 2c250c3b by LJM

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

parent 3a3acd81
......@@ -44,7 +44,7 @@
}
}
.uni-table-box {
padding-bottom: 50rpx;
padding-bottom: 150rpx;
margin: 0 24rpx;
background-color: #ffffff;
::v-deep .uni-table-scroll {
......@@ -60,6 +60,7 @@
height: 98rpx;
background: #ffffff;
padding: 0 24rpx;
z-index: 999;
.t1 {
font-size: 22rpx;
color: #404547;
......
......@@ -6,7 +6,7 @@
<text class="tt">报关日期选择</text>
</view>
<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="uni-input">{{ date }}</view>
<text class="iconfont icon-sanjiaoxing3"></text>
......@@ -20,7 +20,7 @@
</view>
<view class="uni-table">
<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>
......@@ -69,7 +69,7 @@ export default {
let day = date.getDate();
month = month > 9 ? month : '0' + month;
day = day > 9 ? day : '0' + day;
return `${year}-${month}-${day}`;
return `${year}-${month}`;
},
getData() {
this.request(API.getCustomsDeclarationAndReceiptStatistics, 'GET', { date: this.date }, true).then(res => {
......
......@@ -159,7 +159,7 @@ export default {
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) {
uni.showToast({
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