|
|
@ -266,13 +266,17 @@ |
|
|
<el-form-item prop="quoterName"> |
|
|
<el-form-item prop="quoterName"> |
|
|
<span v-if="(quotationInformationFlag('quoter') === 'N' && modalData.flag === '2') || detailVisible" slot="label">报价专员</span> |
|
|
<span v-if="(quotationInformationFlag('quoter') === 'N' && modalData.flag === '2') || detailVisible" slot="label">报价专员</span> |
|
|
<span v-else style="cursor: pointer" slot="label" @click="getBaseList(2002)"><a herf="#">报价专员</a></span> |
|
|
<span v-else style="cursor: pointer" slot="label" @click="getBaseList(2002)"><a herf="#">报价专员</a></span> |
|
|
<el-input :disabled="(quotationInformationFlag('quoter') === 'N' && modalData.flag === '2') || detailVisible" v-model="modalData.quoterName" readonly></el-input> |
|
|
|
|
|
|
|
|
<el-input :disabled="(quotationInformationFlag('quoter') === 'N' && modalData.flag === '2') || detailVisible" v-model="modalData.quoterName" readonly> |
|
|
|
|
|
<span slot="suffix" v-show="modalData.quoterName" @click="clearModalData('quoter')"><i class="el-icon-circle-close" style="margin-left: 5px;cursor: pointer;"></i></span> |
|
|
|
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="4"> |
|
|
<el-col :span="4"> |
|
|
<el-form-item prop="trackerName" v-if="(modalData.sourcing === 'Y' || modalData.sourcing === '0' || modalData.sourcing === 0) && !detailVisible"> |
|
|
<el-form-item prop="trackerName" v-if="(modalData.sourcing === 'Y' || modalData.sourcing === '0' || modalData.sourcing === 0) && !detailVisible"> |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(2000)"><a>采购专员</a></span> |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(2000)"><a>采购专员</a></span> |
|
|
<el-input v-model="modalData.trackerName" :disabled="detailVisible" readonly></el-input> |
|
|
|
|
|
|
|
|
<el-input v-model="modalData.trackerName" :disabled="detailVisible" readonly> |
|
|
|
|
|
<span slot="suffix" v-show="modalData.trackerName" @click="clearModalData('tracker')"><i class="el-icon-circle-close" style="margin-left: 5px;cursor: pointer;"></i></span> |
|
|
|
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="采购专员" v-else> |
|
|
<el-form-item label="采购专员" v-else> |
|
|
<el-input :disabled="quotationInformationFlag('tracker') === 'N' && modalData.flag === '2'" v-model="modalData.trackerName" readonly></el-input> |
|
|
<el-input :disabled="quotationInformationFlag('tracker') === 'N' && modalData.flag === '2'" v-model="modalData.trackerName" readonly></el-input> |
|
|
@ -566,7 +570,7 @@ |
|
|
@tab-click="tabClick" class="customer-tab"> |
|
|
@tab-click="tabClick" class="customer-tab"> |
|
|
<el-tab-pane label="基本信息" name="priceCheck"> |
|
|
<el-tab-pane label="基本信息" name="priceCheck"> |
|
|
<price-check-properties :disabled="quotationCurrentRow.quotationStatus === '已完成'" ref="tabProperties" v-model:data-list="priceCheckPropertiesList" |
|
|
<price-check-properties :disabled="quotationCurrentRow.quotationStatus === '已完成'" ref="tabProperties" v-model:data-list="priceCheckPropertiesList" |
|
|
:quotation-no="quotationCurrentRow.quotationNo" height="45vh"></price-check-properties> |
|
|
|
|
|
|
|
|
:quotation-no="quotationCurrentRow.quotationBatchNo" height="45vh"></price-check-properties> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
<el-tab-pane label="采购详细信息" name="tabMaterialSourcing"> |
|
|
<el-tab-pane label="采购详细信息" name="tabMaterialSourcing"> |
|
|
<price-check-detail :disabled="quotationCurrentRow.quotationStatus === '已完成'" :quote="quotationCurrentRow" :data-list="priceCheckDetailList" @refresh="getPriceCheckDetailList" :height="500"></price-check-detail> |
|
|
<price-check-detail :disabled="quotationCurrentRow.quotationStatus === '已完成'" :quote="quotationCurrentRow" :data-list="priceCheckDetailList" @refresh="getPriceCheckDetailList" :height="500"></price-check-detail> |
|
|
@ -695,7 +699,7 @@ |
|
|
<inquiry-quote-detail :quotation="quotationCurrentRow"></inquiry-quote-detail> |
|
|
<inquiry-quote-detail :quotation="quotationCurrentRow"></inquiry-quote-detail> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
<el-tab-pane label="附件信息" name="oss_file" > |
|
|
<el-tab-pane label="附件信息" name="oss_file" > |
|
|
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :disabled="quotationCurrentRow.quotationStatus === '已完成'" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationNo"></oss-components> |
|
|
|
|
|
|
|
|
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :disabled="quotationCurrentRow.quotationStatus === '已完成'" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationBatchNo"></oss-components> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
<!-- 审批信息 --> |
|
|
<!-- 审批信息 --> |
|
|
@ -854,6 +858,11 @@ export default { |
|
|
this.modalData.trackerName = '' |
|
|
this.modalData.trackerName = '' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
"modalData.quoter"(newVal,oldVal){ |
|
|
|
|
|
if (newVal === '' || newVal === null || newVal === undefined){ |
|
|
|
|
|
this.modalData.quoterName = '' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
"searchData.quotationNo"(newVal,oldVal){ |
|
|
"searchData.quotationNo"(newVal,oldVal){ |
|
|
this.searchData.quotationNo = newVal.toUpperCase() |
|
|
this.searchData.quotationNo = newVal.toUpperCase() |
|
|
}, |
|
|
}, |
|
|
@ -864,7 +873,7 @@ export default { |
|
|
if (newVal === false){ |
|
|
if (newVal === false){ |
|
|
this.detailVisible = false |
|
|
this.detailVisible = false |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
@ -2509,7 +2518,7 @@ export default { |
|
|
getPriceCheckProperties() { |
|
|
getPriceCheckProperties() { |
|
|
let params = { |
|
|
let params = { |
|
|
site: this.quotationCurrentRow.site, |
|
|
site: this.quotationCurrentRow.site, |
|
|
quotationNo: this.quotationCurrentRow.quotationNo |
|
|
|
|
|
|
|
|
quotationNo: this.quotationCurrentRow.quotationBatchNo |
|
|
} |
|
|
} |
|
|
getPriceCheckPropertiesList(params).then(({data}) => { |
|
|
getPriceCheckPropertiesList(params).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
@ -3385,7 +3394,10 @@ export default { |
|
|
updateDetailModal(row){ |
|
|
updateDetailModal(row){ |
|
|
this.detailVisible = true |
|
|
this.detailVisible = true |
|
|
this.updateModal(row) |
|
|
this.updateModal(row) |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
clearModalData(field){ |
|
|
|
|
|
this.modalData[field] = '' |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|