Browse Source

fix(produceList): 修复文件组件布局并恢复注释的附件配置

liujt 6 months ago
parent
commit
4417c5e098
1 changed files with 15 additions and 12 deletions
  1. 15 12
      pages/purchasingManage/components/produceList.vue

+ 15 - 12
pages/purchasingManage/components/produceList.vue

@@ -117,9 +117,12 @@
 					</view>
 				</view>
 
-				<fileMain slot="technicalDrawings" :type="isDrawer ? 'view' : ''" v-model="item.technicalDrawings"></fileMain>
-				<fileMain slot="files" :type="isDrawer ? 'view' : ''" v-model="item.files"></fileMain>
-
+				<view slot="technicalDrawings" style="display: flex;">
+					<fileMain :type="isDrawer ? 'view' : ''" v-model="item.technicalDrawings"></fileMain>
+				</view>
+				<view slot="files" style="display: flex;">
+					<fileMain :type="isDrawer ? 'view' : ''" v-model="item.files"></fileMain>
+				</view>
 			</myCard>
 		</view>
 
@@ -380,15 +383,15 @@
 							}
 						}
 					}],
-					// [{
-					// 	label: '图纸附件:',
-					// 	prop: 'technicalDrawings',
-					// 	slot: 'technicalDrawings',
-					// }, {
-					// 	label: '附件:',
-					// 	prop: 'files',
-					// 	slot: 'files',
-					// }],
+					[{
+						label: '图纸附件:',
+						prop: 'technicalDrawings',
+						slot: 'technicalDrawings',
+					}, {
+						label: '附件:',
+						prop: 'files',
+						slot: 'files',
+					}],
 					[{
 						label: '备注:',
 						prop: 'remark',