Ver Fonte

BOM清单:BugFix

chrislee há 1 ano atrás
pai
commit
a103f9bb2e
2 ficheiros alterados com 32 adições e 1 exclusões
  1. 19 0
      src/views/modules/works/work-center.vue
  2. 13 1
      src/views/modules/works/work.vue

+ 19 - 0
src/views/modules/works/work-center.vue

@@ -140,6 +140,25 @@
                 >
             </template>
         </el-table-column>
+        <el-table-column
+          prop="attachListComplete"
+          header-align="center"
+          align="center"
+          width="80"
+          label="报工附件"
+        >
+          <template slot-scope="scope">
+            <el-button
+              :disabled="
+                    !scope.row.attachListComplete || scope.row.attachListComplete.length === 0
+                  "
+              type="text"
+              size="small"
+              @click="attachDetails(scope.row.attachListComplete)"
+            >查看</el-button
+            >
+          </template>
+        </el-table-column>
         <el-table-column
             prop="remark"
             header-align="center"

+ 13 - 1
src/views/modules/works/work.vue

@@ -106,6 +106,18 @@
             <el-button :disabled="!scope.row.attachList || scope.row.attachList.length === 0" type="text" size="small" @click="changeDetails(scope.row.attachList)">查看</el-button>
          </template>
       </el-table-column>
+      <el-table-column
+        prop="attachListComplete"
+        header-align="center"
+        align="center"
+        width="80"
+        label="工单附件"
+      >
+        <template slot-scope="scope">
+          <el-button :disabled="!scope.row.attachListComplete || scope.row.attachListComplete.length === 0" type="text" size="small" @click="changeDetails(scope.row.attachListComplete)">查看</el-button>
+        </template>
+      </el-table-column>
+
       <el-table-column
         prop="historicalOperationRecords"
         header-align="center"
@@ -503,7 +515,7 @@
         <el-button type="primary" @click="submitSubmit" v-reClick>确 定</el-button>
       </div>
     </el-dialog>
-    
+
     <!-- 文件预览 -->
     <preview-component v-if="previewVisible" ref="preview" />
     <attach-detail-dialog ref="attachDetail"/>