李林
2024-03-22 4944f8d2aec1ebd5eb18afa7b500c0c27edbbade
src/components/view/b1-inspect-order-plan.vue
@@ -164,7 +164,7 @@
      <div style="width: 100%;height: 100%;" v-if="activeFace >0">
         <Add :active="activeFace" :currentId="currentId"/>
      </div>
    <Inspection v-if="state==1" @goback="state=0" :orderId="orderId"/>
    <Inspection v-if="state==1" @goback="goback" :orderId="orderId"/>
   </div>
</template>
@@ -209,7 +209,10 @@
                     id: '',
                     font: '检验',
                     type: 'text',
                     method: 'handleInspection'
                     method: 'handleInspection',
                     disabFun: (row, index) => {
                        return row.userId == null
                     }
                  }, {
                     id: '',
                     font: '交接',
@@ -270,7 +273,7 @@
            activeFace: 0, //1:下单,2:查看,3:审核
            currentId: null,
            entityCopy: {},
            orderId: 0
            orderId: 0,
         }
      },
      created() {
@@ -413,6 +416,10 @@
         playOrder(num) {
            this.activeFace = num
         },
         goback() {
            this.state = 0
            this.refreshTable()
         },
      handleInspection(row){
        this.state = 1;
            this.orderId = row.id