| | |
| | | } |
| | | |
| | | |
| | | /* 标题样式 */ |
| | | .custom-label .van-cell__title { |
| | | font-size: 0.28rem !important; |
| | | line-height: 1.0; |
| | | color: #fff !important; |
| | | background-color: #1989fa; /* 品牌蓝色 */ |
| | | color: #1989fa !important; /* 修改为蓝色 */ |
| | | background-color: transparent !important; /* 透明背景 */ |
| | | border: 1px solid #1989fa; /* 添加蓝色边框 */ |
| | | padding: 0.1rem 0.1rem; |
| | | border-radius: 0.12rem; |
| | | margin: 0.1rem 0; |
| | |
| | | } |
| | | |
| | | .van-field__control { |
| | | text-align: center; |
| | | text-align: left; |
| | | padding: 4px 8px; |
| | | /* border: 1px solid #ccc;*/ |
| | | border-radius: 4px; |
| | |
| | | /* 新增局部样式 */ |
| | | .temperature-input .van-field__control, |
| | | .flow-input .van-field__control { |
| | | text-align: center; |
| | | font-size: 0.16rem !important; |
| | | color: blue !important; |
| | | } |
| | | |
| | | /* 步进器样式 */ |
| | | .van-stepper__input |
| | | { |
| | | width: .5rem; |
| | | height: .4rem; |
| | | } |
| | | .van-stepper__minus,.van-stepper__plus |
| | | { |
| | | width: .5rem; |
| | | height: .4rem; |
| | | } |
| | | /* 单选框大小 */ |
| | | .van-radio__icon |
| | | { |
| | | -webkit-box-flex: 0; |
| | | -webkit-flex: none; |
| | | flex: none; |
| | | height: 1em; |
| | | font-size: .3333rem |
| | | } |
| | | |
| | | |
| | | </style> |
| | | </asp:Content> |
| | |
| | | </template> |
| | | </van-field> |
| | | <!-- 新增炙热性能按钮 --> |
| | | <van-tag type="primary" style="font-size:15px" @click="openZrPopup">炙热性能</van-tag> |
| | | <!-- <van-tag type="primary" style="font-size:15px" @click="openZrPopup">炙热性能</van-tag> --> |
| | | <van-dialog v-model="showDialog" title="不合格描述" :show-cancel-button="false" @confirm="remarksConfirm"> |
| | | <van-field |
| | | v-model="remarks" |
| | |
| | | |
| | | <van-col span="10" center class="text-left padding-left" > |
| | | <van-cell center |
| | | center :title="item.fcheckItem" @click="togglePopup(index)"></van-cell> |
| | | center |
| | | :title="item.fcheckItem" |
| | | @click="togglePopup(index)"> |
| | | </van-cell> |
| | | </van-col> |
| | | <van-col span="8" > |
| | | <van-cell center |
| | | center :title="item.fenterQty + '/' + item.checkQyt" @click="togglePopup(index)"></van-cell> |
| | | center :title="item.fenterQty + '/' + item.checkQyt" |
| | | @click="togglePopup(index)"></van-cell> |
| | | </van-col> |
| | | <van-col center span="6" > |
| | | <van-cell center |
| | | center v-if="item.fcheckResu === 'Y:合格'"> |
| | | <van-tag round plain type="success" style="font-size:15px" @click="togglePopup(index)">合格</van-tag> |
| | | <van-tag round plain type="success" |
| | | @click="togglePopup(index)">合格</van-tag> |
| | | </van-cell> |
| | | <van-cell center |
| | | center v-else-if="item.fcheckResu === 'N:不合格'"> |
| | | <van-tag round plain type="danger" style="font-size:15px" @click="togglePopup(index)">不合格</van-tag> |
| | | <van-tag round plain type="danger" |
| | | @click="togglePopup(index)">不合格</van-tag> |
| | | </van-cell> |
| | | <van-cell center |
| | | center v-else > |
| | | <van-tag round plain type="warning" style="font-size:15px" @click="togglePopup(index)">进行中</van-tag> |
| | | <van-tag round plain type="warning" |
| | | @click="togglePopup(index)">进行中</van-tag> |
| | | </van-cell> |
| | | </van-col> |
| | | |
| | |
| | | <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.fcheckTool" readonly ></van-field> |
| | | <van-field label="检验数" colon="true" v-model="jymxData.checkQyt" readonly ></van-field> |
| | | <!-- <van-field label="检验数" colon="true" v-model="jymxData.checkQyt" 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.ybsl" readonly ></van-field> |
| | | <!-- <van-field label="RE数" colon="true" v-model="jymxData.freQty" readonly ></van-field> --> |
| | | <!-- <van-field label="样本数" colon="true" v-model="jymxData.ybsl" readonly ></van-field> --> |
| | | <%--<van-field label="预览结果" colon="true" v-model="jymxData.result" readonly ></van-field>--%> |
| | | <%--<van-field label="结果录入" colon="true" v-model="resultValue" placeholder="请输入OK-数字或NG-数字"></van-field>--%> |
| | | |
| | | <van-field label="检测结果" colon="true" readonly > |
| | | <template #input> |
| | | <van-tag round plain v-if="jymxData.fcheckResu === 'Y:合格'" type="success">合格</van-tag> |
| | | <van-tag round plain v-else-if="jymxData.fcheckResu === 'N:不合格'" type="danger">不合格</van-tag> |
| | | <van-tag round plain v-else type="warning">进行中</van-tag> |
| | | </template> |
| | | </van-field> |
| | | <van-field label="生产日期" v-if="jymxData.fcheckType === '关键部件一致性'" colon readonly class="wrap-field"> |
| | | <template #input> |
| | | <div class="wrap-content" @click="showScDatePicker = true">{{ jymxData.ipqcrzxxDate || '请选择日期' }}</div> |
| | | </template> |
| | | <!-- <template #button> |
| | | <van-tag type="primary" style="font-size:15px" @click="showScDatePicker = true">选择</van-tag> |
| | | </template> --> |
| | | </van-field> |
| | | <!-- 只有当 jymxData.fcheckType 等于 "品水测试" 时才显示该字段 --> |
| | | <van-field v-if="jymxData.fcheckType === '品水测试'" label="是否有异味" colon="true" readonly> |
| | | <template #input> |
| | | <van-radio-group |
| | | v-model="jymxData.ipqCpscs" |
| | | direction="horizontal" |
| | | class="custom-radio-group" |
| | | @change="updateCpscs"> |
| | | <van-radio name="Y" shape="square">有</van-radio> |
| | | <van-radio name="N" shape="square">无</van-radio> |
| | | </van-radio-group> |
| | | </template> |
| | | </van-field> |
| | | |
| | | <van-field label="认证信息" v-if='jymxData.isrzxx == 1' colon v-model="rzxxValue" placeholder="请输入认证信息" readonly class="wrap-field"> |
| | | <template #input> |
| | | <div class="wrap-content">{{ rzxxValue }}</div> |
| | | </template> |
| | | <van-field |
| | | label="使用数量" |
| | | colon="true" |
| | | v-if="jymxData.fcheckType === '关键部件一致性'"> |
| | | <template #input> |
| | | <van-stepper |
| | | v-model="jymxData.ipqcrzxxNum" |
| | | integer |
| | | @change="updateRzxxNum(jymxData.ipqcrzxxNum)" |
| | | /> |
| | | </template> |
| | | </van-field> |
| | | |
| | | <van-field label="认证信息" v-if="jymxData.fcheckType === '关键部件一致性'" colon v-model="jymxData.ipqcrzxx" placeholder="请选择认证信息" class="wrap-field" readonly> |
| | | <template #button> |
| | | <van-tag type="primary" style="font-size:15px" @click="updateRzxx()">输入</van-tag> |
| | | <van-tag type="primary" style="font-size:15px" @click="selectRzxx()">选择</van-tag> |
| | | </template> |
| | | </van-field> |
| | | <van-dialog v-model="showDialogRzxx" title="认证信息" :show-cancel-button="false" @confirm="rzxxConfirm"> |
| | | <van-action-sheet |
| | | v-model="showRzxx" |
| | | :actions="actions" |
| | | @select="onRzxxSelect" |
| | | title="请选择认证信息"> |
| | | </van-action-sheet> |
| | | |
| | | |
| | | <van-popup v-model="showScDatePicker" position="bottom"> |
| | | <van-datetime-picker |
| | | v-model="currentDate" |
| | | type="date" |
| | | title="选择生产日期" |
| | | :min-date="minDate" |
| | | :max-date="maxDate" |
| | | @confirm="confirmScDate" |
| | | @cancel="showScDatePicker = false" |
| | | /> |
| | | </van-popup> |
| | | <template #input> |
| | | <div class="wrap-content">{{ rzxxValue }}</div> |
| | | </template> |
| | | <template #button> |
| | | <van-tag type="primary" style="font-size:15px" @click="selectRzxx()">选择</van-tag> |
| | | </template> |
| | | </van-field> |
| | | <!-- <van-dialog v-model="showDialogRzxx" title="认证信息" :show-cancel-button="false" @confirm="rzxxConfirm"> |
| | | <van-field |
| | | v-model="rzxxValue" |
| | | rows="5" |
| | |
| | | placeholder="请输入认证信息" |
| | | show-word-limit |
| | | /> |
| | | </van-dialog> |
| | | </van-dialog> --> |
| | | <van-button |
| | | block |
| | | type="info" |
| | | @click="openZrPopup" |
| | | :loading="ttrre" |
| | | loading-text="加载中..." |
| | | v-if="jymxData.fcheckType === '制热性能'" |
| | | >制热性能录入</van-button> |
| | | |
| | | <van-field label="检测结果" colon="true" readonly > |
| | | <template #input> |
| | | <div style="text-align: center;"> |
| | | <van-tag round plain v-if="jymxData.fcheckResu === 'Y:合格'" type="success">合格</van-tag> |
| | | <van-tag round plain v-else-if="jymxData.fcheckResu === 'N:不合格'" type="danger">不合格</van-tag> |
| | | <van-tag round plain v-else type="warning">进行中</van-tag> |
| | | </div> |
| | | </template> |
| | | </van-field> |
| | | |
| | | </template> |
| | | <template> |
| | |
| | | </div> |
| | | <van-button |
| | | block |
| | | type="danger" |
| | | type="info" |
| | | @click="createTb" |
| | | style="margin-top: 8px;" |
| | | >生成表格</van-button> |
| | |
| | | </div> |
| | | </van-cell-group> |
| | | </div> |
| | | <van-button |
| | | block |
| | | type="primary" |
| | | @click="saveTableConfig" |
| | | style="margin-top: 8px;" |
| | | >保存</van-button> |
| | | </div> |
| | | </van-popup> |
| | | |
| | |
| | | <%--<comback ></comback>--%> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="../Js/IPQC_SJ/Add.js?<%=111112111146 %>"></script> |
| | | <script src="../Js/IPQC_SJ/Add.js?<%=111112111154 %>"></script> |
| | | </asp:Content> |
| | | |
| | | |