|
|
|
@ -53,8 +53,8 @@ |
|
|
|
<el-select v-model="searchData.status" style="width: 120px"> |
|
|
|
<el-option label="全部" value=""></el-option> |
|
|
|
<el-option label="草稿" value="C"></el-option> |
|
|
|
<el-option label="已下达" value="B"></el-option> |
|
|
|
<el-option label="已报价" value="A"></el-option> |
|
|
|
<el-option label="下达" value="B"></el-option> |
|
|
|
<el-option label="已转报价" value="A"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'PjM'"> |
|
|
|
@ -138,7 +138,7 @@ |
|
|
|
<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 === 'A'">已报价</span> |
|
|
|
<span v-if="scope.row.status === 'A'">已转报价</span> |
|
|
|
</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
@ -158,10 +158,10 @@ |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="140" |
|
|
|
width="100" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link style="cursor: pointer" @click="addInquiryPartModal(scope.row)">新增产品</el-link> |
|
|
|
<!-- <el-link style="cursor: pointer" @click="addInquiryPartModal(scope.row)">新增产品</el-link>--> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status === 'C'" |
|
|
|
@click="updateModalStatus(scope.row,'B')">下达 |
|
|
|
</el-link> |
|
|
|
@ -615,6 +615,7 @@ export default { |
|
|
|
quoter: '', |
|
|
|
quoterName: '', |
|
|
|
status: '', |
|
|
|
bomStatusDb: '', |
|
|
|
remark: '', |
|
|
|
createDate: '', |
|
|
|
createBy: '', |
|
|
|
@ -972,6 +973,24 @@ export default { |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5022, |
|
|
|
serialNumber: '5022Table1BomStatusDb', |
|
|
|
tableId: '5022Table1', |
|
|
|
tableName: '询价信息表', |
|
|
|
columnProp: 'bomStatusDb', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '是否创建技术资料', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 110 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5022, |
|
|
|
@ -1103,12 +1122,12 @@ export default { |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5022, |
|
|
|
serialNumber: '5022Table2PartDesc', |
|
|
|
serialNumber: '5022Table2TestPartDesc', |
|
|
|
tableId: '5022Table2', |
|
|
|
tableName: '询价产品表', |
|
|
|
columnProp: 'partDesc', |
|
|
|
columnProp: 'testPartDesc', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
align: 'left', |
|
|
|
columnLabel: '产品描述', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
@ -1116,7 +1135,7 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
columnWidth: 150 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -1126,7 +1145,7 @@ export default { |
|
|
|
tableName: '询价产品表', |
|
|
|
columnProp: 'inquiryQty', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
align: 'right', |
|
|
|
columnLabel: '询价数量', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
@ -1134,7 +1153,7 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -1170,7 +1189,25 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 5022, |
|
|
|
serialNumber: '5022Table2PartBomStatus', |
|
|
|
tableId: '5022Table2', |
|
|
|
tableName: '询价产品表', |
|
|
|
columnProp: 'partBomStatus', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '状态', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -1180,7 +1217,7 @@ export default { |
|
|
|
tableName: '询价产品表', |
|
|
|
columnProp: 'remark', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
align: 'left', |
|
|
|
columnLabel: '备注', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
@ -1188,7 +1225,7 @@ export default { |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
columnWidth: 160 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -1491,6 +1528,9 @@ export default { |
|
|
|
/*第二个表格高度的动态调整*/ |
|
|
|
this.height = window.innerHeight - 210; |
|
|
|
}) |
|
|
|
EventBus.$on('refreshInquiryOneDetail1', () => { |
|
|
|
this.refreshCurrentTabTable(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getSiteAndBuByUserName() |
|
|
|
@ -1627,6 +1667,7 @@ export default { |
|
|
|
quoterName: '', |
|
|
|
customerInquiryNo: '', |
|
|
|
status: 'C', |
|
|
|
bomStatusDb: '未创建', |
|
|
|
priorityLevel: '', |
|
|
|
requestDate: new Date(), |
|
|
|
requiredCompletionDate: '', |
|
|
|
@ -2447,9 +2488,9 @@ export default { |
|
|
|
// 遍历dataList 取-后的值 |
|
|
|
this.resultList.forEach((item) => { |
|
|
|
if (item.status === 'A') { |
|
|
|
item.status = '已报价' |
|
|
|
item.status = '已转报价' |
|
|
|
} else if (item.status === 'B') { |
|
|
|
item.status = '已下达' |
|
|
|
item.status = '下达' |
|
|
|
} else if (item.status === 'C') { |
|
|
|
item.status = '草稿' |
|
|
|
} |
|
|
|
|