|
|
@ -26,19 +26,16 @@ |
|
|
style="width: 120px" |
|
|
style="width: 120px" |
|
|
v-model="searchData.startDate" |
|
|
v-model="searchData.startDate" |
|
|
type="date" |
|
|
type="date" |
|
|
placeholder=" "> |
|
|
|
|
|
|
|
|
placeholder="开始日期"> |
|
|
</el-date-picker> |
|
|
</el-date-picker> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label=" " v-if="defaultFlag"> |
|
|
|
|
|
<div style="text-align: center;"><i class="el-icon-right"></i></div> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label=" " v-if="defaultFlag"> |
|
|
<el-form-item label=" " v-if="defaultFlag"> |
|
|
<el-date-picker |
|
|
<el-date-picker |
|
|
value-format="yyyy-MM-dd" |
|
|
value-format="yyyy-MM-dd" |
|
|
style="width: 120px" |
|
|
style="width: 120px" |
|
|
v-model="searchData.endDate" |
|
|
v-model="searchData.endDate" |
|
|
type="date" |
|
|
type="date" |
|
|
placeholder=" "> |
|
|
|
|
|
|
|
|
placeholder="结束日期"> |
|
|
</el-date-picker> |
|
|
</el-date-picker> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div> |
|
|
</div> |
|
|
@ -157,14 +154,20 @@ |
|
|
<el-table-column label="状态" header-align="center" align="center" prop="quotationStatus" min-width="80"/> |
|
|
<el-table-column label="状态" header-align="center" align="center" prop="quotationStatus" min-width="80"/> |
|
|
<el-table-column label="申请单号" header-align="center" align="center" prop="quotationNo" min-width="120"/> |
|
|
<el-table-column label="申请单号" header-align="center" align="center" prop="quotationNo" min-width="120"/> |
|
|
<el-table-column label="项目编码" header-align="center" align="left" prop="projectId" min-width="100"/> |
|
|
<el-table-column label="项目编码" header-align="center" align="left" prop="projectId" min-width="100"/> |
|
|
<el-table-column label="项目名称" header-align="center" align="left" prop="projectName" min-width="120"/> |
|
|
|
|
|
<el-table-column label="物料编码" header-align="center" align="left" prop="testPartNo" min-width="200"/> |
|
|
|
|
|
|
|
|
<el-table-column label="项目名称" header-align="center" align="left" prop="projectName" min-width="150"/> |
|
|
|
|
|
<el-table-column label="物料编码" header-align="center" align="left" prop="testPartNo" min-width="120"/> |
|
|
<el-table-column label="物料名称" header-align="center" align="left" prop="partName" min-width="220"/> |
|
|
<el-table-column label="物料名称" header-align="center" align="left" prop="partName" min-width="220"/> |
|
|
<el-table-column label="MOQ" header-align="center" align="right" prop="qty" min-width="80"> |
|
|
<el-table-column label="MOQ" header-align="center" align="right" prop="qty" min-width="80"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-input-number v-model="scope.row.qty" :controls="false" :min="0" :step="0"></el-input-number> |
|
|
<el-input-number v-model="scope.row.qty" :controls="false" :min="0" :step="0"></el-input-number> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column label="币种" header-align="center" align="center" prop="currency" min-width="80"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<dict-data-select v-model="scope.row.currency" |
|
|
|
|
|
clearable dict-type="plm_customer_information_customer_customer_currency" :use-default-value="false"></dict-data-select> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
|
|
|
|
|
|
<el-footer style="height: 30px;line-height:30px;text-align: center"> |
|
|
<el-footer style="height: 30px;line-height:30px;text-align: center"> |
|
|
@ -180,8 +183,10 @@ import { |
|
|
quotationInformationSearch, // 询价信息列表查询 |
|
|
quotationInformationSearch, // 询价信息列表查询 |
|
|
} from '@/api/quotation/quotationInformation.js' |
|
|
} from '@/api/quotation/quotationInformation.js' |
|
|
import {batchSaveQuote} from "../../../api/quote/quote"; |
|
|
import {batchSaveQuote} from "../../../api/quote/quote"; |
|
|
|
|
|
import DictDataSelect from "../sys/dict-data-select.vue"; |
|
|
export default { |
|
|
export default { |
|
|
name:"toBeQuoted", |
|
|
name:"toBeQuoted", |
|
|
|
|
|
components: {DictDataSelect}, |
|
|
props:{ |
|
|
props:{ |
|
|
defaultFlag:{ |
|
|
defaultFlag:{ |
|
|
type:Boolean, |
|
|
type:Boolean, |
|
|
@ -628,6 +633,7 @@ export default { |
|
|
} |
|
|
} |
|
|
this.quotationSelections = this.quotationSelections.map(item=>{ |
|
|
this.quotationSelections = this.quotationSelections.map(item=>{ |
|
|
item.qty = undefined |
|
|
item.qty = undefined |
|
|
|
|
|
item.currency = undefined |
|
|
item.createBy = this.$store.state.user.name |
|
|
item.createBy = this.$store.state.user.name |
|
|
item.site = this.$store.state.user.site |
|
|
item.site = this.$store.state.user.site |
|
|
return item; |
|
|
return item; |
|
|
|