yusheng 6 luni în urmă
părinte
comite
b8e75aca31

+ 1 - 1
src/views/inspectionWork/details.vue

@@ -153,7 +153,7 @@
           </el-form>
         </el-tab-pane>
         <el-tab-pane label="样品信息" name="2">
-          <el-form label-width="110px">
+          <el-form label-width="130px">
             <el-row>
               <el-col :span="6" v-if="showArrange == '1'">
                 <el-form-item label="样品合格数:">

+ 39 - 2
src/views/inspectionWork/mixins/detailMixins.js

@@ -103,6 +103,43 @@ export default {
           label: '总数量',
           prop: 'total',
           span: 6
+        },
+        {
+          label: '记录方法',
+          prop: 'recordingMethod',
+          span: 6
+        },
+        {
+          minWidth: 140,
+          prop: 'lossNumber',
+          slot: 'lossNumber',
+          align: 'center',
+          label: '损耗数(合格品)',
+          showOverflowTooltip: true
+        },
+        {
+          minWidth: 150,
+          prop: 'lossNumberUnqualified',
+          slot: 'lossNumberUnqualified',
+          align: 'center',
+          label: '损耗数(不合格品)',
+          showOverflowTooltip: true
+        },
+        {
+          minWidth: 140,
+          prop: 'retainedSampleQuantity',
+          slot: 'retainedSampleQuantity',
+          align: 'center',
+          label: '留样数(合格品)',
+          showOverflowTooltip: true
+        },
+        {
+          minWidth: 150,
+          prop: 'retainedSampleUnqualified',
+          slot: 'retainedSampleUnqualified',
+          align: 'center',
+          label: '留样数(不合格品)',
+          showOverflowTooltip: true
         }
       ],
       disposeTypeMap: {
@@ -744,7 +781,7 @@ export default {
         },
         {
           label: '质检状态',
-          prop: 'defaultValue',
+          prop: 'status',
           align: 'center',
           showOverflowTooltip: true,
           show: this.form.recordingMethod == 1,
@@ -756,7 +793,7 @@ export default {
         },
         {
           label: '质检结果',
-          prop: 'defaultValue',
+          prop: 'qualityResults',
           align: 'center',
           show: this.form.recordingMethod == 1,
           showOverflowTooltip: true,