huangfuli 3 år sedan
förälder
incheckning
6a45b3ef1f

+ 5 - 0
src/views/tranManagement/tranManagementFireFeedback.vue

@@ -121,6 +121,11 @@
                 <span v-if="item.imgCount == 0">未上传</span>
                 <span v-if="item.imgCount == 0">未上传</span>
               </template>
               </template>
             </ws-form-item>
             </ws-form-item>
+            <!--预览-->
+            <div>
+              <el-button class="bg-bottom" type="primary" size="small" @click="preview(item)"  v-if="item.imgCount != null ">预览</el-button>
+            </div>
+            <!--箱号-->
             <!--装车日期-->
             <!--装车日期-->
             <el-form-item label="装车日期:" span="1" prop="loadingDate">
             <el-form-item label="装车日期:" span="1" prop="loadingDate">
               <ws-date-picker v-if="item.status == '已装车' || item.status == '已送达'" :disabled="readonly"
               <ws-date-picker v-if="item.status == '已装车' || item.status == '已送达'" :disabled="readonly"

+ 14 - 0
src/views/tranManagement/tranManagementTransporFeedback.vue

@@ -156,6 +156,10 @@
                   ">未上传</span>
                   ">未上传</span>
               </template>
               </template>
             </ws-form-item>
             </ws-form-item>
+            <!--预览-->
+            <div>
+              <el-button class="bg-bottom" type="primary" size="small" @click="preview(item)"  v-if="item.loadPoundImg != null ">预览</el-button>
+            </div>
             <!--箱号-->
             <!--箱号-->
             <ws-form-item label="箱号:" span="1" prop="caseNo">
             <ws-form-item label="箱号:" span="1" prop="caseNo">
               <span>{{ item.caseNo }}</span>
               <span>{{ item.caseNo }}</span>
@@ -193,6 +197,11 @@
       <el-button class="bg-bottom" type="primary" size="small" @click="submit(deptBudgetList)">提交</el-button>
       <el-button class="bg-bottom" type="primary" size="small" @click="submit(deptBudgetList)">提交</el-button>
       <el-button class="bg-bottom" type="primary" size="small" @click="finished (deptBudgetList)">完货</el-button>
       <el-button class="bg-bottom" type="primary" size="small" @click="finished (deptBudgetList)">完货</el-button>
     </div>
     </div>
+    <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
+			@on-cancel="handleClose">
+			<ws-upload ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
+				accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
+		</WinseaContentModal>
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -336,6 +345,11 @@
       }
       }
     },
     },
     methods: {
     methods: {
+      preview(item) {
+				this.accessoryTFs = true
+				this.appendixIdss = item.loadPoundImg
+			},
+
       uploadHandle(response, file, fileList) {
       uploadHandle(response, file, fileList) {
         this.localFile = file.raw // 或者 this.localFile=file.raw
         this.localFile = file.raw // 或者 this.localFile=file.raw
         let Base64 = require('js-base64').Base64
         let Base64 = require('js-base64').Base64