From 78856da3f9e96393fb32badedcccfa19fb108512 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 18 三月 2025 15:55:20 +0800 Subject: [PATCH] 1.IQC检验 检验结果输入和特征值输入界面初步模型 --- H5/LLJ/Add.aspx | 80 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 73 insertions(+), 7 deletions(-) diff --git a/H5/LLJ/Add.aspx b/H5/LLJ/Add.aspx index eb8466f..88089f4 100644 --- a/H5/LLJ/Add.aspx +++ b/H5/LLJ/Add.aspx @@ -5,10 +5,25 @@ .bg-info { background-color: #fff; } + .custom-title { margin-right: 4px; vertical-align: middle; } + + .van-popup__close-icon--top-right { + top: .4267rem; + right: -.01rem; + } + + .content-wrapper-jymx { + margin: 27px; + background: #ffffff; + border-radius: 8px; + padding: 3px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); + } + </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> @@ -18,12 +33,20 @@ left-arrow @click-left="GetBack1()" ></van-nav-bar> - <div> + <div class="content-wrapper"> <van-cell-group> <van-field label="妫�楠屽崟鍙�" colon="true" v-model="formData.releaseNo" readonly ></van-field> <van-field label="鍒拌揣鍗曞彿" colon="true" v-model="formData.lotNo" readonly ></van-field> - <van-checkbox v-model="formData.ftype" disabled>濮斿</van-checkbox> - <van-checkbox v-model="formData.urgentFlag == 1" disabled>鎬ユ枡鏍囪瘑</van-checkbox> + + <!-- 鑷畾涔夊瓧娈电敤浜庢樉绀轰袱涓爣璇� --> + <van-field label="鏍囪瘑" colon="true" readonly> + <template #input> + <div class="checkbox-container"> + 濮斿<van-checkbox v-model="formData.ftype" disabled></van-checkbox> + 鎬ユ枡<van-checkbox v-model="formData.urgentFlag" disabled></van-checkbox> + </div> + </template> + </van-field> <van-field label="鍒涘缓鏃堕棿" colon="true" v-model="formData.createDate" readonly ></van-field> <van-field label="鍒涘缓浜�" colon="true" v-model="formData.createBy" readonly ></van-field> <van-field label="鐗╂枡缂栫爜" colon="true" v-model="formData.itemNo" readonly ></van-field> @@ -45,9 +68,9 @@ </van-row> <van-row v-for="(item,index) in tableData" :key="index" type="flex" justify="center"> - <van-col span="10" center class="text-left padding-left"> + <van-col span="10" center class="text-left padding-left" > <van-cell center - center :title="item.fcheckItem"></van-cell> + center :title="item.fcheckItem" @click="togglePopup(index)"></van-cell> </van-col> <van-col center span="6"> <van-cell center @@ -68,11 +91,54 @@ </van-row> </van-tab> </van-tabs> + + <van-popup + v-model="show" + closeable + overlay ="true" + round + close-icon="close" + position="right" + :style="{ width: '100%', + height: '100%' , + boxShadow: '-2px 0 12px rgba(0, 0, 0, 0.1)' + }" + > + <!-- 寮瑰嚭鍐呭 --> + <div class="content-wrapper-jymx"> + <van-tabs v-model="tabActive" sticky color="#000" round ellipsis="false" @click="handleTabClick"> + <van-tab v-for="(itm,index) in tableData" round :key="index" :name="index" > + <template #title > <van-icon v-if="itm.fenterQty >=itm.checkQyt" name="success" color="#1989fa" class="badge-icon" ></van-icon>{{itm.fcheckItem}}</template> + <template> + <van-cell-group> + <van-field label="椤圭洰鍚嶇О" colon="true" v-model="jymxData.fcheckItem" readonly ></van-field> + <van-field label="瑙勬牸瑕佹眰" colon="true" v-model="jymxData.fspecRequ" readonly ></van-field> + <van-field label="妫�楠屾柟娉�" colon="true" v-model="jymxData.inspectionMethod" readonly ></van-field> + <van-field label="妫�楠屽伐鍏�" colon="true" v-model="jymxData.fcheckTool" readonly ></van-field> + <van-field label="妫�楠屾暟" colon="true" v-model="jymxData.checkQyt" readonly ></van-field> + <van-field label="妫�楠屾爣鍑嗙紪鐮�" colon="true" v-model="jymxData.sampleSizeNo" readonly ></van-field> + <van-field label="妫�楠屾按骞�" colon="true" v-model="jymxData.fcheckLevel" readonly ></van-field> + <van-field label="鎺ユ敹姘村钩" colon="true" v-model="jymxData.facLevel" readonly ></van-field> + <van-field label="涓嬮檺" colon="true" v-model="jymxData.fdownAllow" readonly ></van-field> + <van-field label="鏍囧噯鍊�" colon="true" v-model="jymxData.fstand" readonly ></van-field> + <van-field label="涓婇檺" colon="true" v-model="jymxData.fupAllow" readonly ></van-field> + <van-field label="AC鏁�" colon="true" v-model="jymxData.facQty" readonly ></van-field> + <van-field label="RE鏁�" colon="true" v-model="jymxData.freQty" readonly ></van-field> + <van-field label="涓嶅悎鏍兼暟" colon="true" v-model="jymxData.fngQty" readonly ></van-field> + <van-field label="棰勮缁撴灉" colon="true" v-model="jymxData.result" readonly ></van-field> + <van-field label="涓嶅悎鏍兼弿杩�" colon="true" v-model="jymxData.remarks" readonly ></van-field> + <van-field label="妫�娴嬬粨鏋�" colon="true" v-model="jymxData.fcheckResu" placeholder="娌℃湁鏈�澶у�煎拰鏈�灏忓�兼椂濉啓0锛堟湭閫氳繃妫�楠岋級鎴�1锛堥�氳繃妫�楠岋級" ></van-field + </van-cell-group> + </template> + </van-tab> + </van-tabs + </div> + </van-popup> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server"> <comloading v-if="isLoading"></comloading> - <comback ></comback> + <%--<comback ></comback>--%> </asp:Content> <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> - <script src="../Js/LLJ/Add.js?<%=11243123 %>"></script> + <script src="../Js/LLJ/Add.js?<%=116 %>"></script> </asp:Content> -- Gitblit v1.9.3