From e2140d53c0d017da55bbebc22a24671662febd12 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 22 三月 2024 10:21:15 +0800 Subject: [PATCH] 完成部分检验任务前端 --- src/components/view/b1-inspect-order-plan.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue index 49f53db..9ad143a 100644 --- a/src/components/view/b1-inspect-order-plan.vue +++ b/src/components/view/b1-inspect-order-plan.vue @@ -82,8 +82,8 @@ </style> <template> <div class="ins-order-plan-main"> - <p style="font-size: 16px;padding:19.5px 0px">妫�楠屼换鍔�</p> - <div class="search"> + <p style="font-size: 16px;padding:19.5px 0px" v-show="state==0">妫�楠屼换鍔�</p> + <div class="search" v-show="state==0"> <el-form :inline="true" :model="searchForm" class="form-inline"> <el-form-item label="鏍峰搧鍚嶇О:"> <el-input clearable v-model="searchForm.sampleName" size="small" placeholder="璇疯緭鍏�"></el-input> @@ -100,7 +100,7 @@ </el-form-item> </el-form> </div> - <div class="center"> + <div class="center" v-show="state==0"> <div class="center-options"> <el-row> <el-col :span="21"> @@ -127,6 +127,7 @@ :url="$api.insOrderPlan.selectInsOrderPlanList" :upUrl="$api.user.updateUser" :componentData="componentData" :key="upIndex" @upUser="upUser" /> </div> + <Inspection v-if="state==1" @goback="state=0"/> <el-dialog title="鎻愮ず" :visible.sync="claimVisible" width="400px"> 鏄惁璁ら濮旀墭缂栧彿<span style="color:#33C130">{{sampleUserForm.entrustCode}}</span>鐨勪换鍔� <span slot="footer" class="dialog-footer"> @@ -139,12 +140,14 @@ <script> import ValueTable from '../tool/value-table.vue' + import Inspection from '../do/b1-inspect-order-plan/Inspection.vue' import { getYearAndMonthAndDays } from '../../util/date' export default { components: { - ValueTable + ValueTable, + Inspection }, data() { return { @@ -219,7 +222,8 @@ }, upIndex: 0, planTotal: 0, - insStateList: [] + insStateList: [], + state:0//0:鍙拌处椤碉紝1锛氭楠岄〉闈紝榛樿涓�0 } }, created() { -- Gitblit v1.9.3