|
|
|
@ -136,7 +136,7 @@ |
|
|
|
<div v-else-if="item.columnProp === 'status'"> |
|
|
|
<span v-if="!item.columnHidden"> |
|
|
|
<span v-if="scope.row.status === 'C'">草稿</span> |
|
|
|
<span v-if="scope.row.status === 'B'">已下达</span> |
|
|
|
<span v-if="scope.row.status === 'B'">下达</span> |
|
|
|
<span v-if="scope.row.status === 'A'">已报价</span> |
|
|
|
</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
@ -305,6 +305,12 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 询价明细 相关文档 --> |
|
|
|
<el-tab-pane label="相关文档" name="inquiryDocument"> |
|
|
|
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :columns="ossColumns" :order-ref1="inquiryCurrentRow.site" :order-ref2="inquiryCurrentRow.id" |
|
|
|
:rfq-no="inquiryCurrentRow.rfqNo"> |
|
|
|
</oss-components> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
<el-dialog :title="inquiryPartModalData.title" v-drag @close="closeInquiryPartSaveDataDialog" |
|
|
|
@ -464,6 +470,7 @@ import {verifyData} from "@/api/part/partInformation"; |
|
|
|
import {EventBus} from "../../../main"; |
|
|
|
import {partInformationSearch} from "../../../api/part/partInformation"; |
|
|
|
import quotationUpload from "../quote/quotation_upload.vue"; |
|
|
|
import OssComponents from "../oss/ossComponents.vue"; |
|
|
|
|
|
|
|
export default { |
|
|
|
computed: { |
|
|
|
@ -481,6 +488,7 @@ export default { |
|
|
|
// }, |
|
|
|
}, |
|
|
|
components: { |
|
|
|
OssComponents, |
|
|
|
quotationUpload, |
|
|
|
DictDataSelect, |
|
|
|
Chooselist |
|
|
|
@ -645,6 +653,98 @@ export default { |
|
|
|
valueChooseFlag: '', |
|
|
|
availableValueList: [], |
|
|
|
}, |
|
|
|
ossColumns:[ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table2FileName', |
|
|
|
tableId: '103001Table2', |
|
|
|
tableName: '文件信息表', |
|
|
|
columnProp: 'fileName', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '文件名称', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 140 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table2FileRemark', |
|
|
|
tableId: '103001Table2', |
|
|
|
tableName: '文件信息表', |
|
|
|
columnProp: 'fileRemark', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '备注', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 240 |
|
|
|
}, |
|
|
|
// { |
|
|
|
// userId: this.$store.state.user.name, |
|
|
|
// functionId: 103001, |
|
|
|
// serialNumber: '103001Table2OrderRef3', |
|
|
|
// tableId: '103001Table2', |
|
|
|
// tableName: '文件信息表', |
|
|
|
// columnProp: 'orderRef3', |
|
|
|
// headerAlign: 'center', |
|
|
|
// align: 'center', |
|
|
|
// columnLabel: '文件描述', |
|
|
|
// columnHidden: false, |
|
|
|
// columnImage: false, |
|
|
|
// columnSortable: false, |
|
|
|
// sortLv: 0, |
|
|
|
// status: true, |
|
|
|
// fixed: '', |
|
|
|
// columnWidth: 120 |
|
|
|
// }, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table2CreateDate', |
|
|
|
tableId: '103001Table2', |
|
|
|
tableName: '文件信息表', |
|
|
|
columnProp: 'createDate', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '上传时间', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 140 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 103001, |
|
|
|
serialNumber: '103001Table2CreatedBy', |
|
|
|
tableId: '103001Table2', |
|
|
|
tableName: '文件信息表', |
|
|
|
columnProp: 'createdBy', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '上传人', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 140 |
|
|
|
} |
|
|
|
], |
|
|
|
// ======== 数据列表 ======== |
|
|
|
dataList: [], |
|
|
|
inquiryPartDataList: [], |
|
|
|
|