|
|
|
@ -167,7 +167,11 @@ |
|
|
|
<el-tab-pane label="审批信息" name="approvalInformation"> |
|
|
|
<approval-information ref="approvalTable" v-model:data-list="approvalList" :height="300"></approval-information> |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
<el-tab-pane label="询价-基本信息" name="request"> |
|
|
|
<price-check-properties ref="tabProperties" |
|
|
|
v-model:data-list="priceCheckPropertiesList" |
|
|
|
height="35vh"></price-check-properties> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="报价-附件信息" name="quote_oss"> |
|
|
|
<oss-components label="报价单号" |
|
|
|
:columns="ossColumns" |
|
|
|
@ -424,9 +428,12 @@ import {queryCustomer} from "../../../api/customer/customerInformation"; |
|
|
|
import {queryProjectByCustomer} from "../../../api/project/project"; |
|
|
|
import ApprovalInformation from "../changeManagement/approvalInformation.vue"; |
|
|
|
import OssComponents from "../oss/ossComponents.vue"; |
|
|
|
import PriceCheckProperties from "./priceCheckProperties.vue"; |
|
|
|
import {getPriceCheckPropertiesList} from "../../../api/quotation/priceCheckProperties"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
PriceCheckProperties, |
|
|
|
ApprovalInformation, |
|
|
|
OssComponents, |
|
|
|
QuoteDetail, |
|
|
|
@ -876,6 +883,8 @@ export default { |
|
|
|
} |
|
|
|
], |
|
|
|
detailDialogVisible: false, |
|
|
|
|
|
|
|
priceCheckPropertiesList:[], |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
@ -898,7 +907,6 @@ export default { |
|
|
|
|
|
|
|
// 点击quotation行事件 |
|
|
|
rowClickQuotation(row, column, event) { |
|
|
|
this.getApprovalList() |
|
|
|
if (column.label !== '操作') { |
|
|
|
this.quotationHeader = row; |
|
|
|
} |
|
|
|
@ -1472,7 +1480,26 @@ export default { |
|
|
|
this.insertData.internalInquiryBatchNo = this.insertData.internalInquiryNo.split("-")[0] |
|
|
|
this.detailDialogVisible = true; |
|
|
|
this.insertDiaLogFlag = true; |
|
|
|
}, |
|
|
|
getPriceCheckProperties() { |
|
|
|
if (!this.quotationHeader && !this.quotationHeader.internalInquiryNo){ |
|
|
|
this.priceCheckPropertiesList = [] |
|
|
|
return |
|
|
|
} |
|
|
|
let params = { |
|
|
|
site: this.quotationHeader.site, |
|
|
|
quotationNo: this.quotationHeader.internalInquiryNo |
|
|
|
} |
|
|
|
getPriceCheckPropertiesList(params).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.priceCheckPropertiesList = data.rows |
|
|
|
} else { |
|
|
|
this.$message.warning(data.msg) |
|
|
|
} |
|
|
|
}).catch((error) => { |
|
|
|
this.$message.error(error) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: {}, |
|
|
|
watch: { |
|
|
|
@ -1495,6 +1522,12 @@ export default { |
|
|
|
if (newVal === false){ |
|
|
|
this.detailDialogVisible = false; |
|
|
|
} |
|
|
|
}, |
|
|
|
quotationHeader(newVal,oldVal){ |
|
|
|
if (newVal){ |
|
|
|
this.getApprovalList() |
|
|
|
this.getPriceCheckProperties(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
|