achao 1 rok pred
rodič
commit
8c33706283

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 508 - 355
src/views/houseSelfCollect/newWeighingManagement.vue


+ 25 - 0
src/views/houseSelfCollect/weightCheckRecord.vue

@@ -73,6 +73,16 @@
         <el-table-column key="9" prop="buckleMiscellaneous" label="扣重(公斤)" width="100"></el-table-column>
         <el-table-column key="10" prop="netWeight" label="净重(公斤)" width="100"></el-table-column>
         <el-table-column key="11" prop="secretaryWeigher" label="司称员"></el-table-column>
+        <el-table-column key="15"  label="附件"  width="200">
+          <template scope="scope">
+            <!-- {{scope.row.addressUrl.split(',')[0]}} -->
+            <div v-if="scope.row.addressUrl" style="display:flex">
+              <img :src="scope.row.addressUrl.split(',')[0]" alt="" style="width:100px" @click="showImg(scope.row.addressUrl.split(',')[0])"/>
+              <img :src="scope.row.addressUrl.split(',')[1]" alt="" style="width:100px" @click="showImg(scope.row.addressUrl.split(',')[1])"/>
+            </div>
+           
+          </template>
+        </el-table-column>
         <el-table-column key="12" prop="grossDate" label="检斤时间"></el-table-column>
         <el-table-column key="13" prop="status" label="状态"></el-table-column>
         <el-table-column key="14" label="操作" min-width="400">
@@ -270,6 +280,15 @@
             <el-button type="primary" @click="dialogVisibleconfirm2">确 定</el-button>
           </span>
         </el-dialog>
+        <el-dialog
+          title="附件信息"
+          :visible.sync="isShowImg"
+          width="60%">
+         <img :src="imgSrc" style="width:100%"/>
+          <span slot="footer" class="dialog-footer">
+            <el-button @click="isShowImg = false">取 消</el-button>
+          </span>
+        </el-dialog>
   </div>
 </template>
 <script>
@@ -299,6 +318,8 @@
     },
     data() {
       return {
+        imgSrc:'',
+        isShowImg:false,
         weighingRecordList: [],
         warehouseId: '',
         warehouseName: '',
@@ -656,6 +677,10 @@
       this.getList()
     },
     methods: {
+      showImg(val){
+        this.imgSrc = val
+        this.isShowImg = true
+      },
       importClick(file, fileList) {
         this.fileTemp = file.raw
         let fileName = file.raw.name

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov