| | |
| | | <view class="title">开始时间:</view> |
| | | <view class="right"> |
| | | <picker mode="date" :value="hform.HBeginDate" @change="HBeginDateChange"> |
| | | <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="请选择" /> |
| | | <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="请选择" style="pointer-events: none;"/> |
| | | </picker> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="title">结束时间:</view> |
| | | <view class="right"> |
| | | <picker mode="date" :value="hform.HEndDate" @change="HEndDateChange"> |
| | | <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="请选择" /> |
| | | <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="请选择" style="pointer-events: none;"/> |
| | | </picker> |
| | | </view> |
| | | </view> |
| | |
| | | arrayComparator:['=','>=','>','<=','<','<>','包含','左包含','右包含','不包含'], |
| | | hform:{ |
| | | HStatus:'全部', |
| | | HBeginDate:'', |
| | | HBeginDate: new Date().toLocaleDateString(), |
| | | HEndDate:'', |
| | | HWorkBillNo:'', |
| | | HBillNo:'', |
| | |
| | | this.sWhere += " and 关闭人<>''"; |
| | | } |
| | | } |
| | | if (this.hform.BenginHCreateDate) { |
| | | this.sWhere += " and CONVERT(varchar(100),进站时间, 23) >= '" + this.hform.BenginHCreateDate + "'"; |
| | | if (this.hform.HBeginDate) { |
| | | this.sWhere += " and CONVERT(varchar(100),出站时间, 23) >= '" + this.hform.HBeginDate + "'"; |
| | | } |
| | | if (this.hform.EndHCreateDate) { |
| | | this.sWhere += " and CONVERT(varchar(100),进站时间, 23) >= '" + this.hform.EndHCreateDate + "'"; |
| | | if (this.hform.HEndDate) { |
| | | this.sWhere += " and CONVERT(varchar(100),出站时间, 23) >= '" + this.hform.HEndDate + "'"; |
| | | } |
| | | if (this.hform.HBillNo) { |
| | | this.sWhere += " and 单据号 like '%" + this.hform.HBillNo + "%'"; |
| | |
| | | width: 640rpx; |
| | | margin: 20rpx auto; |
| | | } |
| | | picker input{ |
| | | pointer-events: none; |
| | | } |
| | | .other{ |
| | | margin-top: 8rpx; |
| | | text-align: center; |