Sfoglia il codice sorgente

合同页 商品没看图片不展示图片碎片

lxf 1 anno fa
parent
commit
1fb550221b

+ 1 - 1
src/components/process/Contract.vue

@@ -121,7 +121,7 @@
           <el-table :data="formData.data.contractProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>

+ 1 - 1
src/components/process/EHSD/Contract.vue

@@ -247,7 +247,7 @@
           <el-table :data="formData.data.contractProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>

+ 1 - 1
src/components/process/EHSD/PriceSheet.vue

@@ -196,7 +196,7 @@
           <el-table :data="formData.data.quotationProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>

+ 1 - 1
src/components/process/EHSD/Sample.vue

@@ -247,7 +247,7 @@
           <el-table :data="formData.data.sampleProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>

+ 1 - 1
src/components/process/PriceSheet.vue

@@ -120,7 +120,7 @@
           <el-table :data="formData.data.quotationProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>

+ 1 - 1
src/components/process/ServiceContract.vue

@@ -128,7 +128,7 @@
           <el-table :data="formData.data.serviceContractProductList" style="width: 100%; margin-top: 16px">
             <el-table-column label="商品图片" width="80">
               <template #default="{ row }">
-                <div v-if="row.productId">
+                <div v-if="row.fileUrl">
                   <img :src="row.fileUrl" class="pic" @click="onPicture(row.fileUrl)" />
                 </div>
                 <div v-else></div>