Browse Source

2024-10-13

优化
master
fengyuan_yang 1 year ago
parent
commit
dc4457be7b
  1. 98
      src/views/modules/changeManagement/changeRecord.vue

98
src/views/modules/changeManagement/changeRecord.vue

@ -617,55 +617,6 @@
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<!-- 附件信息页签 -->
<el-tab-pane label="附件信息" name="fileInformation">
<oss-components label="变更单号" :height="secondHeight - 25" style="margin-top: 2px" :columns="fileColumnList" :order-ref2="currentRow.changeNo" :order-ref1="currentRow.site"></oss-components>
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">-->
<!-- <el-button type="primary" @click="uploadFileModal">新增</el-button>-->
<!-- <el-button type="primary" @click="deleteChangeFile">删除</el-button>-->
<!-- </el-form>-->
<!-- <el-table-->
<!-- :data="fileList"-->
<!-- :height="secondHeight - 25"-->
<!-- border-->
<!-- ref="fileTable"-->
<!-- @selection-change="selectionFile"-->
<!-- style="width: 100%;">-->
<!-- <el-table-column-->
<!-- type="selection"-->
<!-- header-align="center"-->
<!-- align="center"-->
<!-- width="50">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- v-for="(item,index) in fileColumnList" :key="index"-->
<!-- :sortable="item.columnSortable"-->
<!-- :prop="item.columnProp"-->
<!-- :header-align="item.headerAlign"-->
<!-- :show-overflow-tooltip="item.showOverflowTooltip"-->
<!-- :align="item.align"-->
<!-- :fixed="item.fixed === '' ? false : item.fixed"-->
<!-- :min-width="item.columnWidth"-->
<!-- :label="item.columnLabel">-->
<!-- <template slot-scope="scope">-->
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>-->
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- fixed="right"-->
<!-- header-align="center"-->
<!-- align="center"-->
<!-- width="100"-->
<!-- label="操作">-->
<!-- <template slot-scope="scope">-->
<!-- <el-link style="cursor: pointer" @click="previewFile(scope.row)">预览</el-link>-->
<!-- <el-link style="cursor: pointer" @click="downloadFile(scope.row)">下载</el-link>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- </el-table>-->
</el-tab-pane>
<!-- 库存成本影响页签 --> <!-- 库存成本影响页签 -->
<el-tab-pane label="库存成本影响" name="inventoryCostImpact"> <el-tab-pane label="库存成本影响" name="inventoryCostImpact">
<div :style="{height: secondHeight - 15 + 'px'}" style="margin-left: 20px;margin-top: 15px"> <div :style="{height: secondHeight - 15 + 'px'}" style="margin-left: 20px;margin-top: 15px">
@ -751,6 +702,55 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<!-- 附件信息页签 -->
<el-tab-pane label="附件信息" name="fileInformation">
<oss-components label="变更单号" :height="secondHeight - 25" style="margin-top: 2px" :columns="fileColumnList" :order-ref2="currentRow.changeNo" :order-ref1="currentRow.site"></oss-components>
<!-- <el-form :inline="true" label-position="top" style="margin-top: 5px">-->
<!-- <el-button type="primary" @click="uploadFileModal">新增</el-button>-->
<!-- <el-button type="primary" @click="deleteChangeFile">删除</el-button>-->
<!-- </el-form>-->
<!-- <el-table-->
<!-- :data="fileList"-->
<!-- :height="secondHeight - 25"-->
<!-- border-->
<!-- ref="fileTable"-->
<!-- @selection-change="selectionFile"-->
<!-- style="width: 100%;">-->
<!-- <el-table-column-->
<!-- type="selection"-->
<!-- header-align="center"-->
<!-- align="center"-->
<!-- width="50">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- v-for="(item,index) in fileColumnList" :key="index"-->
<!-- :sortable="item.columnSortable"-->
<!-- :prop="item.columnProp"-->
<!-- :header-align="item.headerAlign"-->
<!-- :show-overflow-tooltip="item.showOverflowTooltip"-->
<!-- :align="item.align"-->
<!-- :fixed="item.fixed === '' ? false : item.fixed"-->
<!-- :min-width="item.columnWidth"-->
<!-- :label="item.columnLabel">-->
<!-- <template slot-scope="scope">-->
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>-->
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- fixed="right"-->
<!-- header-align="center"-->
<!-- align="center"-->
<!-- width="100"-->
<!-- label="操作">-->
<!-- <template slot-scope="scope">-->
<!-- <el-link style="cursor: pointer" @click="previewFile(scope.row)">预览</el-link>-->
<!-- <el-link style="cursor: pointer" @click="downloadFile(scope.row)">下载</el-link>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- </el-table>-->
</el-tab-pane>
<!-- 审批信息 --> <!-- 审批信息 -->
<el-tab-pane label="审批信息" name="approvalInformation"> <el-tab-pane label="审批信息" name="approvalInformation">
<approval-information ref="approvalTable" v-model:data-list="approvalList" :height="secondHeight"></approval-information> <approval-information ref="approvalTable" v-model:data-list="approvalList" :height="secondHeight"></approval-information>

Loading…
Cancel
Save