licp
2024-07-02 948af5e99d9a30a8fb1a7afe74e22c6528b716bc
修改lukyseet
已修改2个文件
155 ■■■■■ 文件已修改
index.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue 141 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -13,10 +13,10 @@
        <link href="./static/luckysheet/plugins/plugins.css" rel="stylesheet" />
        <link href="./static/luckysheet/css/luckysheet.css" rel="stylesheet" />
        <link href="./static/luckysheet/assets/iconfont/iconfont.css" rel="stylesheet" /> -->
    <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/css/pluginsCss.css' />
    <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/plugins.css' />
    <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/css/luckysheet.css' />
    <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/assets/iconfont/iconfont.css' />
    <link rel='stylesheet' href='<%= htmlWebpackPlugin.options.url %>/static/luckysheet\plugins\css/pluginsCss.css' />
    <link rel='stylesheet' href='<%= htmlWebpackPlugin.options.url %>/static/luckysheet/plugins/plugins.css' />
    <link rel='stylesheet' href='<%= htmlWebpackPlugin.options.url %>/static/luckysheet/css/luckysheet.css' />
    <link rel='stylesheet' href='<%= htmlWebpackPlugin.options.url %>/static/luckysheet/assets/iconfont/iconfont.css' />
    <style>
      #app{
        overflow: hidden;
@@ -30,9 +30,7 @@
    <body>
        <div id="app"></div>
        <script type='text/javascript' src='http://10.16.173.59:81/web-apps/apps/api/documents/api.js'></script>
        <!-- <script src="<%= htmlWebpackPlugin.options.url %>/static/luckysheet/plugins/js/plugin.js"></script>
        <script src="<%= htmlWebpackPlugin.options.url %>/static/luckysheet/luckysheet.umd.js"></script> -->
    <script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/js/plugin.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/luckysheet.umd.js"></script>
        <script src="<%= htmlWebpackPlugin.options.url %>/static/luckysheet/plugins/js/plugin.js"></script>
        <script src="<%= htmlWebpackPlugin.options.url %>/static/luckysheet/luckysheet.umd.js"></script>
    </body>
</html>
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -143,6 +143,10 @@
  >>>input[type=number] {
      -moz-appearance: textfield !important;  /* 针对 Firefox */
  }
  >>>.el-form-item__content{
    display: inline-flex;
    align-items: center;
  }
</style>
<style>
  .inspection .el-form-item__label {
@@ -381,7 +385,134 @@
        </table>
      </div>
      <div class="center-box" v-loading="tableLoading" v-else>
        <h4>温度循环检验原始记录</h4>
        <h4 style="margin-bottom: 20px;">温度循环检验原始记录</h4>
        <el-form :inline="true" :model="wareForm" class="form-inline" label-width="100px">
        <el-form-item label="型号:" style="margin-bottom: 0;">
          <el-input clearable v-model="wareForm.entrustCode" disabled size="small" placeholder=""></el-input>
        </el-form-item>
        <el-form-item label="试验方法:" style="margin-bottom: 0;">
          <el-input clearable v-model="wareForm.sampleCode" disabled size="small" placeholder=""></el-input>
        </el-form-item>
        <el-form-item label="检测依据:" style="margin-bottom: 0;">
          <el-input clearable v-model="wareForm.sample" disabled size="small" placeholder=""></el-input>
        </el-form-item>
        <el-form-item label="循环次数:" style="margin-bottom: 0;">
          <el-select v-model="wareForm.value" placeholder="请选择" size="small">
            <el-option
              v-for="item in numOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="温度:" style="margin-bottom: 0;">
          <el-select v-model="wareForm.value" placeholder="请选择" size="small">
            <el-option
              v-for="item in temperatureOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
          <span style="margin-left: 4px;">℃</span>
        </el-form-item>
        </el-form>
        <el-divider></el-divider>
        <el-form :inline="true" :model="wareForm" label-width="100px" style="justify-content: flex-start;display: flex;align-items: center;width: 100%;margin-bottom: 20px;">
          <el-form-item label="仪器名称:">
            <el-select v-model="wareForm.value" placeholder="请选择" size="small">
              <el-option
                v-for="item in temperatureOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="仪器编号:">
            <el-select v-model="wareForm.value" placeholder="请选择" size="small">
              <el-option
                v-for="item in temperatureOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="仪器名称:" style="margin-left: 80px;">
            <el-select v-model="wareForm.value" placeholder="请选择" size="small">
              <el-option
                v-for="item in temperatureOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="仪器编号:">
            <el-select v-model="wareForm.value" placeholder="请选择" size="small">
              <el-option
                v-for="item in temperatureOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-form-item>
        </el-form>
        <el-table
          :data="wareTableData"
          border
          style="width: 100%">
          <el-table-column
            fixed
            prop="date"
            label="管色标"
            width="150">
          </el-table-column>
          <el-table-column
            prop="name"
            label="光纤带编号"
            width="120">
          </el-table-column>
          <el-table-column
            prop="province"
            label="光纤色标"
            width="120">
          </el-table-column>
          <el-table-column
            prop="city"
            label="外端"
            width="120">
            <template slot-scope="scope">
              <el-input size="small" v-model="scope.row.input" placeholder="请输入内容"></el-input>
            </template>
          </el-table-column>
          <el-table-column
            prop="address"
            label="内端"
            width="300">
            <template slot-scope="scope">
              <el-input size="small" v-model="scope.row.input" placeholder="请输入内容"></el-input>
            </template>
          </el-table-column>
          <el-table-column
            prop="zip"
            label="平均值"
            width="120">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="衰减查"
            width="120">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="检测人"
            width="120">
          </el-table-column>
        </el-table>
      </div>
      <el-upload :action="action"
      :data="{
@@ -632,7 +763,13 @@
        temptList:null,
        fiber:[],
        fibers:[],
        currentTab:null
        currentTab:null,
        wareForm:{},
        numOptions:[],
        temperatureOptions:[],
        wareTableData:[
          {}
        ]
      }
    },
    computed: {