李林
2024-03-22 4944f8d2aec1ebd5eb18afa7b500c0c27edbbade
功能调整
已修改4个文件
36 ■■■■ 文件已修改
src/assets/api/controller.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/value-table.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspect-order-plan.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/api/controller.js
@@ -14,7 +14,7 @@
        StandardTemplate,
        insOrder,
        sampleOrder,
        insOrderPlan
    insOrderPlan
    }
}
@@ -133,6 +133,7 @@
const insOrderPlan = {
    selectInsOrderPlanList: "/insOrderPlan/selectInsOrderPlanList", //查询检验任务
  claimInsOrderPlan: "/insOrderPlan/claimInsOrderPlan",//认领检验任务
    doInsOrder: "/insOrderPlan/doInsOrder",//执行检验操作
}
const systemLog = {
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -140,7 +140,9 @@
                    state: null
                },
        productList:[],
                id: 0
                id: 0,
                insOrder: {},
                sampleProduct: []
            }
        },
        created() {
@@ -148,6 +150,16 @@
        },
        mounted() {
            
        },
        watch:{
            id(val){
                this.$axios.post(this.$api.insOrderPlan.doInsOrder,{
                    id: val
                }).then(res=>{
                    this.insOrder = res.data.insOrder
                    this.sampleProduct = res.data.sampleProduct
                })
            }
        },
        methods: {
      handleChangeSample(row){
@@ -157,7 +169,7 @@
      handleChangeTask(row){
        console.log(222222222,row)
        this.taskVisible = false;
      }
      },
        }
    }
</script>
src/components/tool/value-table.vue
@@ -55,11 +55,11 @@
    } */
    .value-table .highlight-danger-row-border td:first-child {
        border-left: 4px solid red;
        border-left: 4px solid #f56c6c;
    }
    .value-table .highlight-danger-row-border td:last-child {
        border-right: 4px solid red;
        border-right: 4px solid #f56c6c;
    }
    .value-table .el-upload {
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