diff --git a/src/views/modules/quotation/batchRequestForQuote.vue b/src/views/modules/quotation/batchRequestForQuote.vue
index 63ca4c7..bb691de 100644
--- a/src/views/modules/quotation/batchRequestForQuote.vue
+++ b/src/views/modules/quotation/batchRequestForQuote.vue
@@ -2,6 +2,9 @@
+
+
+
@@ -40,13 +43,16 @@
+
+
+
-
+
@@ -314,6 +320,7 @@
searchData: {
site: this.$store.state.user.site,
customerNo: '',
+ quotationItemNo: '',
customerDesc: '',
trackerName: '',
testPartNo: '',
@@ -430,6 +437,40 @@
status: true,
fixed: '',
columnWidth: 120
+ }, {
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationBatchNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationBatchNo',
+ headerAlign: 'center',
+ align: 'center',
+ columnLabel: '申请批次号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 120
+ },{
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationItemNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationItemNo',
+ headerAlign: 'center',
+ align: 'right',
+ columnLabel: '序号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 60
},
{
userId: this.$store.state.user.name,
@@ -530,7 +571,7 @@
columnProp: 'quoterName',
headerAlign: 'center',
align: 'center',
- columnLabel: '询价专员',
+ columnLabel: '报价专员',
columnHidden: false,
columnImage: false,
columnSortable: false,
diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue
index 2fe7e86..615bda5 100644
--- a/src/views/modules/quotation/requestForQuote.vue
+++ b/src/views/modules/quotation/requestForQuote.vue
@@ -2,7 +2,10 @@
-
+
+
+
+
@@ -40,13 +43,16 @@
+
+
+
-
+
@@ -207,7 +213,7 @@
- 询价专员
+ 报价专员
@@ -895,6 +901,8 @@
site: this.$store.state.user.site,
customerNo: '',
customerDesc: '',
+ quotationBatchNo:'',
+ quotationItemNo:'',
trackerName: '',
testPartNo: '',
partName: '',
@@ -1071,6 +1079,40 @@
status: true,
fixed: '',
columnWidth: 120
+ },{
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationBatchNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationBatchNo',
+ headerAlign: 'center',
+ align: 'center',
+ columnLabel: '申请批次号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 120
+ },{
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationItemNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationItemNo',
+ headerAlign: 'center',
+ align: 'right',
+ columnLabel: '序号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 60
},
{
userId: this.$store.state.user.name,
@@ -1098,7 +1140,7 @@
tableName: '询价信息表',
columnProp: 'customerDesc',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '客户名称',
columnHidden: false,
columnImage: false,
@@ -1134,7 +1176,7 @@
tableName: '询价信息表',
columnProp: 'projectName',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '项目名称',
columnHidden: false,
columnImage: false,
@@ -1152,7 +1194,7 @@
tableName: '询价信息表',
columnProp: 'trackerName',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '跟单员',
columnHidden: false,
columnImage: false,
@@ -1170,8 +1212,8 @@
tableName: '询价信息表',
columnProp: 'quoterName',
headerAlign: 'center',
- align: 'center',
- columnLabel: '询价专员',
+ align: 'left',
+ columnLabel: '报价专员',
columnHidden: false,
columnImage: false,
columnSortable: false,
@@ -1206,7 +1248,7 @@
tableName: '询价信息表',
columnProp: 'partName',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '物料名称',
columnHidden: false,
columnImage: false,
@@ -1224,7 +1266,7 @@
tableName: '询价信息表',
columnProp: 'priorityLevel',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '优先等级',
columnHidden: false,
columnImage: false,
@@ -1296,7 +1338,7 @@
tableName: '询价信息表',
columnProp: 'createBy',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '创建人',
columnHidden: false,
columnImage: false,
@@ -1332,7 +1374,7 @@
tableName: '询价信息表',
columnProp: 'updateBy',
headerAlign: 'center',
- align: 'center',
+ align: 'left',
columnLabel: '更新人',
columnHidden: false,
columnImage: false,
@@ -2008,6 +2050,11 @@
this.$message.warning('请选择询价专员名称!')
return
}
+ if (this.projectPartListSelections.length === 0){
+ this.$message.warning('请选择询价专员名称!')
+ return
+ }
+ this.confirmProjectPart();
if (this.modalData.testPartNo === '' || this.modalData.testPartNo == null) {
this.$message.warning('请选择产品编码!')
return
@@ -2025,10 +2072,7 @@
return
}
}else {
- if (this.projectPartListSelections.length === 0){
- this.$message.warning('请选择产品!')
- return
- }
+
if (this.modalData.flag === '1') {
quotationInformationSave(this.modalData).then(({data}) => {
if (data && data.code === 0) {
diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue
index 8f6b453..ba08b6f 100644
--- a/src/views/modules/quotation/sellForQuotation.vue
+++ b/src/views/modules/quotation/sellForQuotation.vue
@@ -54,7 +54,7 @@
-
+
@@ -158,7 +158,7 @@
align="left"
prop="quoterName"
show-overflow-tooltip
- label="销售员">
+ label="报价专员">
内部询价单号
-
+
@@ -294,9 +294,9 @@
-
-
- 销售员
+
+
+ 报价专员
@@ -336,17 +336,20 @@
+
+
+
查询
-
-
-
-
-
-
+
+
+
+
+
+
关闭
@@ -394,7 +397,7 @@ export default {
quotationStatus:"", //状态
projectId:"", // 项目编码
projectName:"", // 项目名称
- quoterName:"", // 销售员
+ quoterName:"", // 报价专员
startDate:"", // 开始日期
endDate:"", // 结束日期
dateValue:[],// 开始时间结束时间数组
@@ -424,13 +427,14 @@ export default {
projectName:"",//项目名称
tracker:"",//跟单员
quoter:"",//销售编号
- quoterName:"",//销售员
+ quoterName:"",//报价专员
trackerName:"",//跟单员
currency:"",//货币
quotationStatus:"草稿",//状态
remark:"",//备注
customerInquiryNo:"",//客户询价单号
internalInquiryNo:"",//内部询价单号
+ internalInquiryBatchNo:"",//内部询价单号
requireApproval:"",//需要审批
approvalStatus:"",//审批状态
createBy:this.$store.state.user.id,//当前登录账号
@@ -444,7 +448,7 @@ export default {
{label:"versionCode",value:"版本号"},
{label:"projectId",value:"项目编码"},
{label:"projectName",value:"项目名称"},
- {label:"quoterName",value:"销售员"},
+ {label:"quoterName",value:"报价专员"},
{label:"trackerName",value:"跟单员"},
{label:"currency",value:"货币"},
{label:"quotationStatus",value:"状态"},
@@ -500,6 +504,7 @@ export default {
// 内部报价单搜索表单对象
quotationNoSearchData:{
quotationNo:"",//单号
+ quotationBatchNo:"",//批次号
site:this.$store.state.user.site,//工厂编号
},
//内部报价单搜索表格数据对象
@@ -596,6 +601,7 @@ export default {
// 修改方法
editQuotationHeader(row){
this.insertData = JSON.parse(JSON.stringify(row));
+ this.insertData.internalInquiryBatchNo = this.insertData.internalInquiryNo.split("-")[0]
this.insertDiaLogFlag = true;
},
// size 发送改变
@@ -654,7 +660,7 @@ export default {
projectName:"",//项目名称
tracker:"",//跟单员
quoter:"",//销售编号
- quoterName:"",//销售员
+ quoterName:"",//报价专员
trackerName:"",//跟单员
currency:"",//货币
quotationStatus:"草稿",//状态
@@ -774,7 +780,9 @@ export default {
this.insertData.tracker=row.tracker;//跟单员
this.insertData.trackerName=row.trackerName;
this.insertData.quoter=row.quoter;//销售编号
+ this.insertData.quoterName=row.quoterName;//销售编号
this.insertData.internalInquiryNo=row.quotationNo;//内部询价单号
+ this.insertData.internalInquiryBatchNo=row.quotationBatchNo;//内部询价单号
this.insertData.currency=row.customerCurrency;//内部询价单号
// 关闭弹框
this.quotationNoDialogFlag = false;
diff --git a/src/views/modules/quotation/sellForQuotation/quotationDetail.vue b/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
index 5936374..f47c0ed 100644
--- a/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
+++ b/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
@@ -135,7 +135,7 @@
+ width="160" align="center">
+
+
+
+
+
@@ -58,10 +63,15 @@
-
+
+
+
+
+
+
@@ -174,6 +184,8 @@ export default {
// 查询条件
searchData:{
site: this.$store.state.user.site,
+ quotationBatchNo: '',
+ quotationItemNo: '',
customerNo: '',
customerDesc: '',
trackerName: '',
@@ -219,6 +231,40 @@ export default {
status: true,
fixed: false,
columnWidth: 120
+ },{
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationBatchNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationBatchNo',
+ headerAlign: 'center',
+ align: 'center',
+ columnLabel: '申请批次号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 120
+ },{
+ userId: this.$store.state.user.name,
+ functionId: 102001,
+ serialNumber: '102001Table1QuotationItemNo',
+ tableId: '102001Table1',
+ tableName: '询价信息表',
+ columnProp: 'quotationItemNo',
+ headerAlign: 'center',
+ align: 'right',
+ columnLabel: '序号',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 60
},
{
userId: this.$store.state.user.name,