ysy 2 лет назад
Родитель
Сommit
ec22a5bf34
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      pages/pda/feeding/bill/index.vue
  2. 1 0
      pages/pda/feeding/components/productsBom.vue

+ 1 - 1
pages/pda/feeding/bill/index.vue

@@ -19,7 +19,7 @@
 						<deviceBom v-if='it.equipmentList.length != 0' :list='it.equipmentList'></deviceBom>
 						
 						
-						<productsBom  v-if="Object.prototype.hasOwnProperty.call(it, 'inProductList')" :productsObj="it.inProductList[0]"></productsBom>
+						<productsBom  v-if="Object.prototype.hasOwnProperty.call(it, 'inProductList') && it.inProductList[0]" :productsObj="it.inProductList[0]"></productsBom>
 
 						<modelBom v-if='it.modelList.length != 0' :list='it.modelList'>
 						</modelBom>

+ 1 - 0
pages/pda/feeding/components/productsBom.vue

@@ -1,5 +1,6 @@
 <template>
 	<view>
+	
 
 		<view class="title_box rx-bc"
 			v-if="productsObj.name != 'undefined' && productsObj.feedQuantity != 'undefined' ">