zck 5 месяцев назад
Родитель
Сommit
acda240064
1 измененных файлов с 40 добавлено и 2 удалено
  1. 40 2
      src/view/yunyin/shengchanguanli/gongdanziliao.vue

+ 40 - 2
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -220,6 +220,43 @@
 					</el-table-column>
 				  </el-table>
 				</el-tab-pane>
+
+
+				<el-tab-pane label="技术附件" name="fourth">
+				  <el-table ref="multipleTable"
+					:row-style="{ height: '30px' }"
+					:cell-style="{ padding: '0px' }"
+					:header-row-style="{ height: '30px' }"
+					:header-cell-style="{ padding: '0px' }"
+					:show-overflow-tooltip="true"
+					:cell-class-name="planUsageCellClass"
+					highlight-current-row="true"
+					@row-dblclick="ExcelShow"
+					style="width: 100%;height: 36vh"
+					border tooltip-effect="dark"
+					:data="jstableData"
+					row-key="ID"
+					@selection-change="fjSelectionChange">
+				
+					<el-table-column align="left" label="关联编号" prop="关联编号" width="115"/>
+					<el-table-column align="left" label="附件备注" prop="附件备注" width="110"/>
+					<el-table-column align="left" label="文件类型" prop="附件类型" width="100"/>
+					<el-table-column align="left" label="版本号" prop="version" width="80"/>
+					<el-table-column align="left" label="建档用户" prop="sys_id" width="160"/>
+					<el-table-column align="left" label="建档时间" prop="sys_rq" width="160"/>
+					
+					<!-- 操作列,新增修改和删除按钮 -->
+					<el-table-column align="left" label="操作" width="230" fixed="right">
+					  <template #default="scope">
+						<!-- PDF预览按钮 -->
+						<el-button type="success" size="small" :data="ddtableData" @click="showPdf(scope.row)">PDF预览</el-button>
+						<!-- 删除按钮 -->
+						<el-button type="danger" size="small" @click="deleteItem(scope.row)">删除</el-button>
+					  </template>
+					</el-table-column>
+				  </el-table>
+				</el-tab-pane>
+  
   
 			<el-tab-pane label="BOM资料"  name="six">
 				  <el-table ref="multipleTable"
@@ -403,7 +440,7 @@
 			  
 			  <!-- 新增订单资料弹窗 -->
 		  <el-dialog v-model="add_gddialogFormVisible" :before-close="add_gdcloseDialog" title="新增订单资料" 
-			  style="height: 70%;width:90%;margin: 180px 0px 0px 6%;" top="0%" destroy-on-close>
+			  style="height: 70%;width:90%;margin: 90px 0px 0px 6%;" top="0%" destroy-on-close>
 			<div style="display: flex; justify-content: space-between;">
 			  <div style="flex: 2;">
 				<el-form :model="add_gdscgdformData">
@@ -786,7 +823,7 @@
 		  
 		  
 		  <el-dialog v-model="ddzl_dialogFormVisible" :before-close="dd_closeDialog" title="修改订单资料"
-			style="height: 70%;width:90%;margin: 0px 0px 0px 6%;" top="0%" destroy-on-close >
+			style="height: 70%;width:90%;margin: 90px 0px 0px 6%;" top="0%" destroy-on-close >
 			<!-- 主布局,分为左右两部分 -->
 			<el-row>
 			  <!-- 左侧部分,包括第一列和第二列 -->
@@ -1280,6 +1317,7 @@
 						<el-select v-model="jsfjformdata.附件备注" placeholder="请选择附件类型" id="附件备注">  
 						  <el-option label="订单附件" value="订单资料附件"></el-option>
 						  <el-option label="技术附件" value="技术附件"></el-option>
+						  <el-option label="发货单附件" value="发货单附件"></el-option>
 						</el-select>  
 					  </el-form-item>  
 					</el-col>