From 06206329d0c2a7d806d70f3b8c9f7840d82200e2 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 21 八月 2024 15:10:06 +0800 Subject: [PATCH] 修改下单逻辑 --- src/components/view/b1-inspect-order-plan.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue index 68dd071..53ece84 100644 --- a/src/components/view/b1-inspect-order-plan.vue +++ b/src/components/view/b1-inspect-order-plan.vue @@ -205,7 +205,7 @@ <Inspection v-if="state>0" @goback="goback" :orderId="orderId" :inspectorList="inspectorList" :sonLaboratory="componentData.entity.sonLaboratory" :state="state"/> <el-dialog title="鏁版嵁鏌ョ湅" :visible.sync="dataDialogVisible" width="80%"> <div style="height: 70vh;overflow-y: auto;" v-if="dataDialogVisible"> - <ValueTable ref="ValueTableDataLook" :url="$api.insOrder.selectSampleAndProductByOrderId" + <ValueTable ref="ValueTableDataLook" :rowKey="'insProductId'" :url="$api.insOrder.selectSampleAndProductByOrderId" :componentData="componentDataDataLook"/> </div> </el-dialog> @@ -265,6 +265,10 @@ value: 0, label: '涓嶅悎鏍�', type: 'danger' + },{ + value: 3, + label: '涓嶅垽瀹�', + type: '' }] } }, @@ -598,6 +602,10 @@ if(row.userName){ inspectorList = row.userName.split(',') } + let user = JSON.parse(localStorage.getItem('user')) + if(user){ + inspectorList.push(user.name) + } this.inspectorList = inspectorList this.state = 1; this.orderId = row.id -- Gitblit v1.9.3