Mr.Zhang
2023-09-01 a52f13d719ee9cd53f129f4c59dcad783977fce9
minipro_standard/pages/index/index.vue
@@ -50,8 +50,8 @@
               <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>
@@ -115,7 +115,8 @@
                  id: 8,
                  name: '客退/返品回厂检验'
               }
            ],
            ],
            type: '',
            searchForm: {
               name: '',
               status: 0,
@@ -273,11 +274,13 @@
         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()
         }