| | |
| | | <u-grid col="2" :border="false">
|
| | | <u-grid-item v-for="item in types" :key="item.id">
|
| | | <view class="ptb20 c9 type-style tc rd10"
|
| | | :class="searchForm.type===item.id?'sbtn_green':'sbtn_gray'"
|
| | | @click="searchForm.type=item.id">{{ item.name }}</view>
|
| | | :class="type===item.id?'sbtn_green':'sbtn_gray'"
|
| | | @click="type=item.id">{{ item.name }}</view>
|
| | | </u-grid-item>
|
| | | </u-grid>
|
| | | </view>
|
| | |
| | | id: 8,
|
| | | name: '客退/返品回厂检验'
|
| | | }
|
| | | ],
|
| | | ], |
| | | type: '',
|
| | | searchForm: {
|
| | | name: '',
|
| | | status: 0,
|
| | |
| | | close() {
|
| | | this.show = false
|
| | | },
|
| | | resetType() {
|
| | | resetType() { |
| | | this.type = ''
|
| | | this.searchForm.type = ''
|
| | | this.confirm()
|
| | | },
|
| | | confirm() {
|
| | | confirm() { |
| | | this.searchForm.type = this.type
|
| | | this.show = false
|
| | | this.scrolltoupper()
|
| | | }
|