|
|
@ -1,5 +1,6 @@ |
|
|
<script> |
|
|
<script> |
|
|
import {queryQuoteByProjectPartNo} from "../../../../api/quotation/quote"; |
|
|
import {queryQuoteByProjectPartNo} from "../../../../api/quotation/quote"; |
|
|
|
|
|
import {queryQuoteDetailByInquiry} from "../../../../api/quote/quoteDetail"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "projectPartQuote", |
|
|
name: "projectPartQuote", |
|
|
@ -10,7 +11,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
height:{ |
|
|
height:{ |
|
|
type: [String,Number], |
|
|
type: [String,Number], |
|
|
default: '27vh' |
|
|
|
|
|
|
|
|
default: '26vh' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
data(){ |
|
|
data(){ |
|
|
@ -21,10 +22,10 @@ export default { |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10QuotationNo', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'quotationNo', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2QuoteVersionNo', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'quoteVersionNo', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'left', |
|
|
align: 'left', |
|
|
columnLabel: '报价单号', |
|
|
columnLabel: '报价单号', |
|
|
@ -34,16 +35,17 @@ export default { |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 200 |
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10QuotationDate', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'quotationDate', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2QuoteDate', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'quoteDate', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'center', |
|
|
|
|
|
|
|
|
align: 'left', |
|
|
columnLabel: '报价日期', |
|
|
columnLabel: '报价日期', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
@ -51,15 +53,15 @@ export default { |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 200 |
|
|
|
|
|
|
|
|
columnWidth: 120 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10ProductNo', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'productNo', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2PartNo', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'partNo', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'left', |
|
|
align: 'left', |
|
|
columnLabel: '物料编码', |
|
|
columnLabel: '物料编码', |
|
|
@ -69,15 +71,15 @@ export default { |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 200 |
|
|
|
|
|
|
|
|
columnWidth: 120 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10ProductDesc', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'productDesc', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2PartDesc', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'partDesc', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'left', |
|
|
align: 'left', |
|
|
columnLabel: '物料名称', |
|
|
columnLabel: '物料名称', |
|
|
@ -87,18 +89,18 @@ export default { |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 200 |
|
|
|
|
|
|
|
|
columnWidth: 240 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10QuotationDetailQuantity', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'quotationDetailQuantity', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2Qty', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'qty', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '报价数量', |
|
|
|
|
|
|
|
|
columnLabel: 'MOQ', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
@ -110,101 +112,31 @@ export default { |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10ComputePartCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'computePartCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '计算后材料成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10ComputeMachineCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'computeMachineCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '计算后机器成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10ComputeLabourCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'computeLabourCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '计算后人工成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10ComputeFabricateCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'computeFabricateCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '计算后制造费用', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10ComputeToolCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'computeToolCost', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2AdjustPartCost', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'adjustPartCost', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '计算后工具成本', |
|
|
|
|
|
|
|
|
columnLabel: '材料成本', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120 |
|
|
|
|
|
|
|
|
columnWidth: 130 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10AdjustPartCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'adjustPartCost', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2AdjustLabourCost', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'adjustLabourCost', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '调整后材料成本', |
|
|
|
|
|
|
|
|
columnLabel: '人工成本', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
@ -216,13 +148,13 @@ export default { |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10AdjustMachineCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2AdjustMachineCost', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
columnProp: 'adjustMachineCost', |
|
|
columnProp: 'adjustMachineCost', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '调整后机器成本', |
|
|
|
|
|
|
|
|
columnLabel: '机器成本', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
@ -234,13 +166,13 @@ export default { |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10AdjustLabourCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'adjustLabourCost', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2AdjustToolCost', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'adjustToolCost', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '调整后人工成本', |
|
|
|
|
|
|
|
|
columnLabel: '工具成本', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
columnSortable: false, |
|
|
columnSortable: false, |
|
|
@ -252,78 +184,10 @@ export default { |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10AdjustFabricateCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'adjustFabricateCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '调整后制造费用', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10AdjustToolCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'adjustToolCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '调整后工具成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10DetailOtherCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'detailOtherCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '其他成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10DetailManageCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'detailManageCost', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '管理成本', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10DetailTotalCost', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'detailTotalCost', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2TotalCost', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'totalCost', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'right', |
|
|
align: 'right', |
|
|
columnLabel: '总成本', |
|
|
columnLabel: '总成本', |
|
|
@ -333,132 +197,14 @@ export default { |
|
|
sortLv: 0, |
|
|
sortLv: 0, |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10DetailProfitRate', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'detailProfitRate', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '利润率%', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10DetailProfitAmount', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'detailProfitAmount', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '利润额', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10FinalUntaxedPrice', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'finalUntaxedPrice', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '未税单价', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10TaxRate', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'taxRate', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '税率%', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10FinalTaxedPrice', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'finalTaxedPrice', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '含税单价', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10SystemComputePrice', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'systemComputePrice', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'right', |
|
|
|
|
|
columnLabel: '含税总价', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 101002002, |
|
|
|
|
|
serialNumber: '101002002Table10QuotationDetailStatus', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'quotationDetailStatus', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'center', |
|
|
|
|
|
columnLabel: '状态', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120 |
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
|
columnWidth: 140 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10Remark', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2Remark', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
columnProp: 'remark', |
|
|
columnProp: 'remark', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'left', |
|
|
align: 'left', |
|
|
@ -470,13 +216,14 @@ export default { |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120 |
|
|
columnWidth: 120 |
|
|
},{ |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 101002002, |
|
|
functionId: 101002002, |
|
|
serialNumber: '101002002Table10InternalInquiryNo', |
|
|
|
|
|
tableId: '101002002Table10', |
|
|
|
|
|
tableName: '项目物料', |
|
|
|
|
|
columnProp: 'internalInquiryNo', |
|
|
|
|
|
|
|
|
serialNumber: '101002002Table2InsideInquiryNo', |
|
|
|
|
|
tableId: '101002002Table2', |
|
|
|
|
|
tableName: '报价详情信息表', |
|
|
|
|
|
columnProp: 'insideInquiryNo', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'left', |
|
|
align: 'left', |
|
|
columnLabel: '询价单号', |
|
|
columnLabel: '询价单号', |
|
|
@ -495,11 +242,11 @@ export default { |
|
|
handleQueryQuote(){ |
|
|
handleQueryQuote(){ |
|
|
let params = { |
|
|
let params = { |
|
|
site:this.part.site, |
|
|
site:this.part.site, |
|
|
projectId:this.part.projectId, |
|
|
|
|
|
|
|
|
projectNo:this.part.projectId, |
|
|
partNo:this.part.testPartNo, |
|
|
partNo:this.part.testPartNo, |
|
|
} |
|
|
} |
|
|
this.queryLoading = true |
|
|
this.queryLoading = true |
|
|
queryQuoteByProjectPartNo(params).then(({data})=>{ |
|
|
|
|
|
|
|
|
queryQuoteDetailByInquiry(params).then(({data})=>{ |
|
|
if (data && data.code === 0){ |
|
|
if (data && data.code === 0){ |
|
|
this.dataList = data.rows |
|
|
this.dataList = data.rows |
|
|
}else { |
|
|
}else { |
|
|
@ -513,10 +260,16 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
handleClick(row){ |
|
|
handleClick(row){ |
|
|
if (this.$router.resolve(`/quotation-sellForQuotation`).resolved.name === '404'){ |
|
|
|
|
|
|
|
|
if (this.$router.resolve(`/quote-index`).resolved.name === '404'){ |
|
|
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}); |
|
|
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}); |
|
|
}else { |
|
|
}else { |
|
|
this.$router.push({name:`quotation-sellForQuotation`,params:{quotationNo:row.quotationNo},}) |
|
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
name:`quote-index`, |
|
|
|
|
|
params:{ |
|
|
|
|
|
quoteVersionNo:row.quoteVersionNo, |
|
|
|
|
|
type:'project' |
|
|
|
|
|
}, |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -524,6 +277,8 @@ export default { |
|
|
part(newVal,oldVal){ |
|
|
part(newVal,oldVal){ |
|
|
if (newVal){ |
|
|
if (newVal){ |
|
|
this.handleQueryQuote() |
|
|
this.handleQueryQuote() |
|
|
|
|
|
}else { |
|
|
|
|
|
this.dataList = [] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -543,7 +298,7 @@ export default { |
|
|
:min-width="item.columnWidth" |
|
|
:min-width="item.columnWidth" |
|
|
:label="item.columnLabel"> |
|
|
:label="item.columnLabel"> |
|
|
<template slot-scope="scope" > |
|
|
<template slot-scope="scope" > |
|
|
<div v-if="item.columnProp === 'quotationNo'"> |
|
|
|
|
|
|
|
|
<div v-if="item.columnProp === 'quoteVersionNo'"> |
|
|
<el-link v-if="!item.columnHidden" @click="handleClick(scope.row)"> {{ `${scope.row[item.columnProp]}` }}</el-link> |
|
|
<el-link v-if="!item.columnHidden" @click="handleClick(scope.row)"> {{ `${scope.row[item.columnProp]}` }}</el-link> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
</div> |
|
|
</div> |
|
|
|