| | |
| | | <image src="../../static/filter@2x.png" class="img48 ml20" @click="filterAction" mode=""></image>
|
| | | </view>
|
| | | <view class="cY mt30">
|
| | | <view class="sbtn rd8" :class="searchForm.type==0?'sbtn_green':'sbtn_black_rim'"
|
| | | <view class="sbtn rd8" :class="searchForm.status==0?'sbtn_green':'sbtn_black_rim'"
|
| | | @click="selectType(0)">待办</view>
|
| | | <view class="sbtn rd8 ml20" :class="searchForm.type==1?'sbtn_green':'sbtn_black_rim'"
|
| | | <view class="sbtn rd8 ml20" :class="searchForm.status==1?'sbtn_green':'sbtn_black_rim'"
|
| | | @click="selectType(1)">已办</view>
|
| | | </view>
|
| | | </view>
|
| | |
| | | </view>
|
| | | </u-list-item>
|
| | | </u-list>
|
| | | <u-popup :show="show" @close="close" :round="8" zIndex="20000">
|
| | | <view class="rp p40 contanir">
|
| | | <view class="c2 b">类型</view> |
| | | <view class="flex ap tc bottom-view"> |
| | | <view class="fx1 ptb20 sbtn_gray c9">重置</view> |
| | | <view class="fx1 ml20 ptb20 sbtn_green">确定</view> |
| | | </view> |
| | | </view>
|
| | | </u-popup>
|
| | | <myTabbar :index="0" />
|
| | | </view>
|
| | | </template>
|
| | |
| | | code: '',
|
| | | windowHeight: '',
|
| | | show: false,
|
| | | types: [{
|
| | | id: 0,
|
| | | name: '车间领料-待发货'
|
| | | },
|
| | | {
|
| | | id: 1,
|
| | | name: '车间领料-待入库'
|
| | | },
|
| | | {
|
| | | id: 2,
|
| | | name: '机台备料-待发货'
|
| | | },
|
| | | {
|
| | | id: 3,
|
| | | name: '机台备料-待入库'
|
| | | },
|
| | | {
|
| | | id: 4,
|
| | | name: '完工入库-待接收'
|
| | | },
|
| | | {
|
| | | id: 5,
|
| | | name: '库存转库-待发货'
|
| | | },
|
| | | {
|
| | | id: 6,
|
| | | name: '库存转库-待入库'
|
| | | },
|
| | | {
|
| | | id: 7,
|
| | | name: '申请审批'
|
| | | },
|
| | | {
|
| | | id: 8,
|
| | | name: '客退/返品回厂检验'
|
| | | }
|
| | | ],
|
| | | searchForm: {
|
| | | name: '',
|
| | | type: 0
|
| | | status: 0
|
| | | },
|
| | | projectList: [
|
| | | {title: '212132', createTime: '2023-08-28', content: 'asdsadsax手打大萨达的啊实打as'}, |
| | | {title: '212132', createTime: '2023-08-28', content: 'asdsadsax手打大萨达的啊实打as'}, |
| | | {title: '212132', createTime: '2023-08-28', content: 'asdsadsax手打大萨达的啊实打as'}, |
| | | {title: '212132', createTime: '2023-08-28', content: 'asdsadsax手打大萨达的啊实打as'},
|
| | | projectList: [{
|
| | | title: '212132',
|
| | | createTime: '2023-08-28',
|
| | | content: 'asdsadsax手打大萨达的啊实打as'
|
| | | },
|
| | | {
|
| | | title: '212132',
|
| | | createTime: '2023-08-28',
|
| | | content: 'asdsadsax手打大萨达的啊实打as'
|
| | | },
|
| | | {
|
| | | title: '212132',
|
| | | createTime: '2023-08-28',
|
| | | content: 'asdsadsax手打大萨达的啊实打as'
|
| | | },
|
| | | {
|
| | | title: '212132',
|
| | | createTime: '2023-08-28',
|
| | | content: 'asdsadsax手打大萨达的啊实打as'
|
| | | },
|
| | | ]
|
| | | }
|
| | | },
|
| | |
| | | },
|
| | | scrolltolower() {},
|
| | | scrolltoupper() {},
|
| | | selectType(type) {
|
| | | if (this.searchForm.type == type) return
|
| | | this.searchForm.type = type
|
| | | selectType(status) {
|
| | | if (this.searchForm.status == status) return
|
| | | this.searchForm.status = status
|
| | | this.scrolltoupper()
|
| | | },
|
| | | selectProject(item) {}, |
| | | filterAction() { |
| | | |
| | | this.show = true
|
| | | }, |
| | | close() { |
| | | this.show = false |
| | | }
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | .contanir { |
| | | min-height: calc(env(safe-area-inset-bottom) + 120rpx); |
| | | } |
| | | .bottom-view { |
| | | left: 40rpx; |
| | | right: 40rpx; |
| | | bottom: env(safe-area-inset-bottom); |
| | | }
|
| | | </style> |