|
|
|
@ -4,25 +4,25 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="客户编码"> |
|
|
|
<el-input v-model="searchData.customerNo" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.customerNo" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户名称"> |
|
|
|
<el-input v-model="searchData.customerName" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.customerName" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="跟单员"> |
|
|
|
<el-input v-model="searchData.trackerName" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.trackerName" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="报价单号"> |
|
|
|
<el-input v-model="searchData.quotationNo" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.quotationNo" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户询价单号"> |
|
|
|
<el-input v-model="searchData.customerInquiryNo" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.customerInquiryNo" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="内部询价单号"> |
|
|
|
<el-input v-model="searchData.internalInquiryNo" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.internalInquiryNo" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="状态"> |
|
|
|
<el-select v-model="searchData.quotationStatus" placeholder="请选择" style="width: 120px"> |
|
|
|
<el-select v-model="searchData.quotationStatus" style="width: 120px"> |
|
|
|
<el-option label="全部" value=""></el-option> |
|
|
|
<el-option label="草稿" value="草稿"></el-option> |
|
|
|
<el-option label="下达" value="下达"></el-option> |
|
|
|
@ -33,13 +33,13 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="项目编码"> |
|
|
|
<el-input v-model="searchData.projectId" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.projectId" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目名称"> |
|
|
|
<el-input v-model="searchData.projectName" placeholder="请输入内容" clearable style="width: 120px"/> |
|
|
|
<el-input v-model="searchData.projectName" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="销售员"> |
|
|
|
<el-input v-model="searchData.quoterName" placeholder="请输入内容" size="large" clearable style="width: 120px;height: 28px"/> |
|
|
|
<el-input v-model="searchData.quoterName" size="large" clearable style="width: 120px;height: 28px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="报价日期"> |
|
|
|
<el-date-picker |
|
|
|
@ -52,7 +52,6 @@ |
|
|
|
range-separator="至" |
|
|
|
start-placeholder="开始日期" |
|
|
|
end-placeholder="结束日期" |
|
|
|
|
|
|
|
@change="changeDateRange" |
|
|
|
placeholder="选择日期"> |
|
|
|
</el-date-picker> |
|
|
|
@ -295,7 +294,7 @@ |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<el-footer style="height:30px;margin-top: 20px;text-align:center"> |
|
|
|
<el-button type="primary" @click="insertDiaLogFlag = false">关闭</el-button> |
|
|
|
<el-button @click="insertDiaLogFlag = false">关闭</el-button> |
|
|
|
<el-button type="primary" :loading="insertQuotationHeaderBtn" @click="insertQuotationHeader">保存</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
@ -523,7 +522,11 @@ export default { |
|
|
|
getQuotationHeaderByPage(params).then(({data})=>{ |
|
|
|
this.tableData = data.data.records; |
|
|
|
this.total = data.data.total; |
|
|
|
this.quotationHeader = this.tableData[0]; |
|
|
|
if (this.tableData.length > 0){ |
|
|
|
this.quotationHeader = this.tableData[0]; |
|
|
|
}else { |
|
|
|
this.quotationHeader = null; |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// size 发送改变 |
|
|
|
|