liujt преди 4 дни
родител
ревизия
dca8df97b5
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/views/bpm/outgoingManagement/details.vue

+ 4 - 4
src/views/bpm/outgoingManagement/details.vue

@@ -122,8 +122,8 @@
               {{ row.minPackingQuantity }} {{ row.measureUnit }} /{{ row.packingUnit }}
             </template>
             <!-- 单价列 -->
-            <template v-if="isPrice == 1" v-slot:price="{ row }">
-              {{ row.price ? row.price : ' ' + '元' }}/{{ row.measureUnit }}
+            <template v-if="isPrice == 1" v-slot:singlePrice="{ row }">
+              {{ row.singlePrice ? row.singlePrice : ' ' + '元' }}/{{ row.measureUnit }}
             </template>
             <!-- 金额列 -->
             <template v-if="isPrice == 1" v-slot:totalMoney="{ row }">
@@ -633,9 +633,9 @@
         if (this.isPrice == 1) {
           columns.push({
             label: '单价',
-            prop: 'price',
+            prop: 'singlePrice',
             align: 'center',
-            slot: 'price'
+            slot: 'singlePrice'
           });
         }