gaoaoy
2024-03-13 0939dccf95533253178ca22634903a259697d5c3
src/components/view/b1-inspection-order.vue
@@ -99,7 +99,7 @@
            <li v-for="(m,i) in tabList" :key="i" :class="{active:i==tabIndex}" @click="handleTab(m,i)">{{m.label}}</li>
         </ul>
         <!-- 语法 子组件通过 this.$emit +传入方法名 调用父组件方法 例如  this.$emit(selectAllByOne) 就需在父组件声明并传入  @selectAllByOne="selectAllByOne"-->
         <ValueTable ref="ValueTable" :url="$api.deviceScope.selectDeviceParameter" :componentData="componentData"
         <ValueTable ref="ValueTable" :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData"
            :key="upIndex" style="height: calc(100% - 44px)" @selectAllByOne="selectAllByOne"
            @handleDataLook="handleDataLook" @download="download" @handleVerify="handleVerify" @handlEquash="handlEquash"
            @handleIssued="handleIssued" />
@@ -197,10 +197,7 @@
            labelPosition: 'right',
            componentData: {
               entity: {
                  deviceStatus: null,
                  deviceName: null,
                  specificationModel: null,
                  largeCategory: null,
                  state: 1,
                  orderBy: {
                     field: 'id',
                     order: 'asc'
@@ -300,11 +297,11 @@
            upLoad: false,
            tabList: [{
                  label: '检验处理',
                  value: 0
                  value: 1
               },
               {
                  label: '待审核',
                  value: 1
                  value: 0
               },
               {
                  label: '退回',
@@ -421,6 +418,8 @@
         playOrder() {},
         handleTab(m, i) {
            this.tabIndex = i;
            this.componentData.entity.state = m.value
            this.refreshTable()
         }
      }
   }