diff --git a/src/api/part/partCostInformation.js b/src/api/part/partCostInformation.js deleted file mode 100644 index 97488fd..0000000 --- a/src/api/part/partCostInformation.js +++ /dev/null @@ -1,7 +0,0 @@ -import { createAPI } from "@/utils/httpRequest.js"; - -// partCostInformationSearch 物料成本信息列表查询 -export const partCostInformationSearch = data => createAPI(`/part/partCostInformation/partCostInformationSearch`,'post',data) - -// partCostInformationEdit 物料成本信息编辑 -export const partCostInformationEdit = data => createAPI(`/part/partCostInformation/partCostInformationEdit`,'post',data) diff --git a/src/api/part/partInformation.js b/src/api/part/partInformation.js index 2af6bae..e091656 100644 --- a/src/api/part/partInformation.js +++ b/src/api/part/partInformation.js @@ -186,5 +186,11 @@ export const getProjectPartNo = data => createAPI(`/part/partInformation/getProj */ export const verifyData = data => createAPI(`part/partInformation/verifyData`,'post',data) +// partCostInformationEdit 物料成本信息编辑 +export const partCostInformationEdit = data => createAPI(`/part/partInformation/partCostInformationEdit`,'post',data) + +// costHistorySearch 成本历史查询 +export const costHistorySearch = data => createAPI(`/part/partInformation/costHistorySearch`,'post',data) + diff --git a/src/views/modules/eam/eamBuDocumentListDefinition.vue b/src/views/modules/eam/eamBuDocumentListDefinition.vue index 62eee57..2b3c751 100644 --- a/src/views/modules/eam/eamBuDocumentListDefinition.vue +++ b/src/views/modules/eam/eamBuDocumentListDefinition.vue @@ -114,7 +114,7 @@ {{ i.buDesc }} diff --git a/src/views/modules/inquiry/inquiryApplication.vue b/src/views/modules/inquiry/inquiryApplication.vue index db978be..c96c554 100644 --- a/src/views/modules/inquiry/inquiryApplication.vue +++ b/src/views/modules/inquiry/inquiryApplication.vue @@ -182,8 +182,9 @@ - + + @@ -219,12 +220,6 @@ - - - - @@ -249,8 +244,11 @@ - - + + + @@ -309,17 +307,18 @@ - + + - - - + + + - + - + + + + @@ -335,9 +337,6 @@ - - - @@ -1579,10 +1578,6 @@ export default { }) return } - if (this.modalData.rfqNo === '' || this.modalData.rfqNo == null) { - this.$message.warning('请输入询价单号!') - return - } if (this.modalData.flag === '1') { addInquiryApplicationInfo(this.modalData).then(({data}) => { if (data && data.code === 0) { @@ -2017,10 +2012,6 @@ export default { async saveInquiryPartData() { await this.modelBlur(220) await this.umIdBlur(510) - if (this.inquiryPartModalData.partNo === '' || this.inquiryPartModalData.partNo == null) { - this.$message.warning('请输入产品编码!') - return - } if (this.inquiryPartModalData.partDesc === '' || this.inquiryPartModalData.partDesc == null) { this.$message.warning('请输入产品描述!') return @@ -2348,32 +2339,32 @@ export default { }) }, - openSaveDataDialog(){ - if (this.modalData.title === '询价新增') { - let rfqNos = []; - this.dataList.forEach((item) => { - // 如果item.rfqNo为XJ开头 - if (item.rfqNo.startsWith('XJ')) { - // 解析数字部分 - const numPart = parseInt(item.rfqNo.replace('XJ', ''), 10); - if (!isNaN(numPart)) { - rfqNos.push(numPart); - } - } - }); - if (rfqNos.length === 0) { - // 如果没有XJ开头的rfqNo - this.modalData.rfqNo = 'XJ00000001'; - } else { - // 取到最大的XJ开头的rfqNo - let maxRfqNo = Math.max(...rfqNos); - - // 生成新的rfqNo,确保有9位数,前面补零 - maxRfqNo += 1; // 增加最大值 - this.modalData.rfqNo = 'XJ' + String(maxRfqNo).padStart(8, '0'); - } - } - }, + // openSaveDataDialog(){ + // if (this.modalData.title === '询价新增') { + // let rfqNos = []; + // this.dataList.forEach((item) => { + // // 如果item.rfqNo为XJ开头 + // if (item.rfqNo.startsWith('XJ')) { + // // 解析数字部分 + // const numPart = parseInt(item.rfqNo.replace('XJ', ''), 10); + // if (!isNaN(numPart)) { + // rfqNos.push(numPart); + // } + // } + // }); + // if (rfqNos.length === 0) { + // // 如果没有XJ开头的rfqNo + // this.modalData.rfqNo = 'XJ00000001'; + // } else { + // // 取到最大的XJ开头的rfqNo + // let maxRfqNo = Math.max(...rfqNos); + // + // // 生成新的rfqNo,确保有9位数,前面补零 + // maxRfqNo += 1; // 增加最大值 + // this.modalData.rfqNo = 'XJ' + String(maxRfqNo).padStart(8, '0'); + // } + // } + // }, // 保存弹框关闭事件 closeSaveDataDialog() { this.modalData = { diff --git a/src/views/modules/part/partCostInformation.vue b/src/views/modules/part/partCostInformation.vue index a4c8d9d..98fbe10 100644 --- a/src/views/modules/part/partCostInformation.vue +++ b/src/views/modules/part/partCostInformation.vue @@ -47,10 +47,11 @@ fixed="right" header-align="center" align="center" - width="60" + width="100" label="操作"> @@ -121,7 +122,7 @@ - + @@ -131,16 +132,45 @@ + + + + + + + + + 关闭 + + + diff --git a/src/views/modules/part/standardRoutingOperation.vue b/src/views/modules/part/standardRoutingOperation.vue index 7e62619..5c4b585 100644 --- a/src/views/modules/part/standardRoutingOperation.vue +++ b/src/views/modules/part/standardRoutingOperation.vue @@ -276,7 +276,7 @@ export default { }, { userId: this.$store.state.user.name, - functionId: 601003, + functionId: 6010012, serialNumber: '6010012Table2SetupCrewSize', tableId: '6010012Table2', tableName: '标准工序表', @@ -330,7 +330,7 @@ export default { }, { userId: this.$store.state.user.name, - functionId: 601003, + functionId: 6010012, serialNumber: '6010012Table2CrewSize', tableId: '6010012Table2', tableName: '标准工序表', @@ -383,7 +383,7 @@ export default { columnWidth: 100 }, { - functionId: 601003, + functionId: 6010012, serialNumber: '6010012Table1WorkCenterNo', tableId: '6010012Table1', tableName: '标准工序表',