南骏 池
2025-05-30 790d5f4ed220eb76f28682b057799a57c62c9c94
H5/IPQC_SJ/Add.aspx
@@ -94,7 +94,7 @@
            .van-field__control {
                text-align: center;
                padding: 4px 8px;
                border: 1px solid #ccc;
/*                border: 1px solid #ccc;*/
                border-radius: 4px;
            }
         
@@ -472,7 +472,7 @@
              style="margin-top: 8px;"
            >生成表格</van-button>
            </van-cell-group>
            <div v-if="tableData.length > 0" id="temperature-table" style="margin-top: 20px;">
            <div v-if="tableTbData.length > 0" id="temperature-table" style="margin-top: 20px;">
              <van-cell-group>
                  <!-- 表头 -->
                  <van-cell>
@@ -486,21 +486,30 @@
                  </van-cell>
                  
                  <!-- 数据行 -->
                  <van-cell v-for="(row, rowIndex) in tableData" :key="rowIndex">
                      <div class="grid-row">
                          <div style="width: 100px">{{ row.temperature }}</div>
                          <div v-for="(cell, colIndex) in row.values"
                               :key="colIndex"
                               class="input-cell">
                              <van-field
                                  v-model="formData.temperatureData[row.temperature.replace('℃','')][cell.flow]"
                                  type="number"
                                  input-align="center"
                                  placeholder="℃"
                                  :style="{ width: '80px' }"/>
                          </div>
                  <div v-for="(row, rowIndex) in tableTbData" :key="rowIndex">
                    <div class="grid-row">
                        <!-- 水温列 -->
                        <div style="width: 100px">{{ row.temperature }}</div>
                        <!-- 实际温度列 -->
                        <div style="width: 100px">
                          <van-field
                              v-model="formTbData.temperatureData[row.temperature].temp"
                              placeholder="输入温度值"
                              type="number"
                          />
                      </div>
                  </van-cell>
                        <!-- 动态列 -->
                        <div v-for="(header, colIndex) in headers.slice(2)"
                             :key="colIndex"
                             style="flex: 1">
                            <van-field
                                v-model="formTbData.temperatureData[row.temperature][header]"
                                :placeholder="`输入${header}值`"
                                type="number"
                            />
                        </div>
                    </div>
                </div>
              </van-cell-group>
          </div>
          </div>
@@ -512,7 +521,7 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/IPQC_SJ/Add.js?<%=111112111145 %>"></script>
 <script src="../Js/IPQC_SJ/Add.js?<%=111112111146 %>"></script>
</asp:Content>