Commit 2eda693b by 张立顺

修复 生效日期格式问题导致不能限制的问题

1 parent 810e51bf
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
padding: 0 32rpx; padding: 0 32rpx;
} }
.merchant-box{ .merchant-box{
max-height: 300rpx; /* max-height: 300rpx; */
overflow: hidden; overflow: auto;
transition: all .25s; transition: all .25s;
} }
.merchantList { .merchantList {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* 3生产环境 * 3生产环境
* 4预发布 * 4预发布
*/ */
let index = 2 let index = 1
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
import constantList from './constantList' import constantList from './constantList'
import data from './data' import data from './data'
import Util from '~/utils/util'
const formRule = { const formRule = {
vin: [ vin: [
{ required: true, message: '车架号不能为空' }, { required: true, message: '车架号不能为空' },
...@@ -165,7 +165,8 @@ const secondObj = { ...@@ -165,7 +165,8 @@ const secondObj = {
label: '生效日期', label: '生效日期',
name: 'effectiveDate', name: 'effectiveDate',
type: 'pickerTime', type: 'pickerTime',
start: new Date(new Date().setDate(new Date(new Date()).getDate() + 1)).toLocaleDateString() start: Util.tsFormatTime(new Date(new Date().setDate(new Date(new Date()).getDate() + 1)),'Y-M-D')
// .toLocaleDateString().replace('/','-')
}, },
{ {
label: '卡号', label: '卡号',
......
...@@ -333,6 +333,13 @@ ...@@ -333,6 +333,13 @@
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "1.1经营数据统计",
"pathName": "tabOperating/pages/operatingShow/operatingShow",
"query": "",
"launchMode": "default",
"scene": null
} }
] ]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!