lxf 1 year ago
parent
commit
807a590047

+ 8 - 7
src/components/process/order.vue

@@ -207,15 +207,16 @@
                         </div>
                       </div>
                     </div>
-                    <div style="display: flex; margin-top: 20px; width: 100%">
+                    <div style="font-weight: 700; margin-top: 20px">产品不干胶图稿</div>
+                    <div style="display: flex; width: 100%">
                       <div style="width: 80px">不干胶图片:</div>
                       <div style="width: calc(100% - 80px)">
-                        <a
-                          style="color: #409eff; cursor: pointer; word-break: break-all; margin-right: 10px"
-                          @click="openFile(row.selfAdhesiveStickerFile.fileUrl)"
-                          v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileName">
-                          {{ row.selfAdhesiveStickerFile.fileName }}
-                        </a>
+                        <el-image
+                          fit="scale-down"
+                          style="width: 148px; height: 148px; margin-right: 10px"
+                          v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileUrl"
+                          :src="row.selfAdhesiveStickerFile.fileUrl"
+                          @click="openFile(row.selfAdhesiveStickerFile.fileUrl)" />
                         <div style="display: flex" v-if="!formOption.disabled">
                           <el-upload
                             :show-file-list="false"

+ 8 - 7
src/views/group/order/already-removed/detail.vue

@@ -125,15 +125,16 @@
                             </a>
                           </div>
                         </div>
-                        <div style="display: flex; margin-top: 20px; width: 100%">
+                        <div style="font-weight: 700; margin-top: 20px">产品不干胶图稿</div>
+                        <div style="display: flex; width: 100%">
                           <div style="width: 80px">不干胶图片:</div>
                           <div style="width: calc(100% - 80px)">
-                            <a
-                              style="color: #409eff; cursor: pointer; word-break: break-all; margin-right: 10px"
-                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)"
-                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileName">
-                              {{ row.selfAdhesiveStickerFile.fileName }}
-                            </a>
+                            <el-image
+                              fit="scale-down"
+                              style="width: 148px; height: 148px; margin-right: 10px"
+                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileUrl"
+                              :src="row.selfAdhesiveStickerFile.fileUrl"
+                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)" />
                           </div>
                         </div>
                       </template>

+ 8 - 7
src/views/group/order/management/detail.vue

@@ -173,15 +173,16 @@
                             </a>
                           </div>
                         </div>
-                        <div style="display: flex; margin-top: 20px; width: 100%">
+                        <div style="font-weight: 700; margin-top: 20px">产品不干胶图稿</div>
+                        <div style="display: flex; width: 100%">
                           <div style="width: 80px">不干胶图片:</div>
                           <div style="width: calc(100% - 80px)">
-                            <a
-                              style="color: #409eff; cursor: pointer; word-break: break-all; margin-right: 10px"
-                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)"
-                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileName">
-                              {{ row.selfAdhesiveStickerFile.fileName }}
-                            </a>
+                            <el-image
+                              fit="scale-down"
+                              style="width: 148px; height: 148px; margin-right: 10px"
+                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileUrl"
+                              :src="row.selfAdhesiveStickerFile.fileUrl"
+                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)" />
                           </div>
                         </div>
                       </template>

+ 8 - 7
src/views/subsidiary/order/management/add.vue

@@ -209,15 +209,16 @@
                             </div>
                           </div>
                         </div>
-                        <div style="display: flex; margin-top: 20px; width: 100%">
+                        <div style="font-weight: 700; margin-top: 20px">产品不干胶图稿</div>
+                        <div style="display: flex; width: 100%">
                           <div style="width: 80px">不干胶图片:</div>
                           <div style="width: calc(100% - 80px)">
-                            <a
-                              style="color: #409eff; cursor: pointer; word-break: break-all; margin-right: 10px"
-                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)"
-                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileName">
-                              {{ row.selfAdhesiveStickerFile.fileName }}
-                            </a>
+                            <el-image
+                              fit="scale-down"
+                              style="width: 148px; height: 148px; margin-right: 10px"
+                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileUrl"
+                              :src="row.selfAdhesiveStickerFile.fileUrl"
+                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)" />
                             <div style="display: flex" v-if="!(route.query && route.query.detailId)">
                               <el-upload
                                 :show-file-list="false"

+ 8 - 7
src/views/subsidiary/order/management/design.vue

@@ -145,15 +145,16 @@
                             </div>
                           </div>
                         </div>
-                        <div style="display: flex; margin-top: 20px; width: 100%">
+                        <div style="font-weight: 700; margin-top: 20px">产品不干胶图稿</div>
+                        <div style="display: flex; width: 100%">
                           <div style="width: 80px">不干胶图片:</div>
                           <div style="width: calc(100% - 80px)">
-                            <a
-                              style="color: #409eff; cursor: pointer; word-break: break-all; margin-right: 10px"
-                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)"
-                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileName">
-                              {{ row.selfAdhesiveStickerFile.fileName }}
-                            </a>
+                            <el-image
+                              fit="scale-down"
+                              style="width: 148px; height: 148px; margin-right: 10px"
+                              v-if="row.selfAdhesiveStickerFile && row.selfAdhesiveStickerFile.fileUrl"
+                              :src="row.selfAdhesiveStickerFile.fileUrl"
+                              @click="openFile(row.selfAdhesiveStickerFile.fileUrl)" />
                             <div style="display: flex" v-if="!(route.query && route.query.detailId)">
                               <el-upload
                                 :show-file-list="false"