소스 검색

fix:单价

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'
           });
         }