diff --git a/src/api/TechnologyCenter/CreatePackingList.js b/src/api/TechnologyCenter/CreatePackingList.js index 7e9efae5..7189ec4b 100644 --- a/src/api/TechnologyCenter/CreatePackingList.js +++ b/src/api/TechnologyCenter/CreatePackingList.js @@ -184,7 +184,7 @@ export function getSpareData(num) { data: { type: '1', name: 'PDM_装箱单_备件_查询数据', - param: `装箱单编号=${num}` + param: `项目流水号=${num}&机床流水号=${num}` } }) } @@ -201,26 +201,26 @@ export function deleteSpareData(num) { }) } -export function editSpareData(name, specification, unit, number, remark, num) { +export function editSpareData(MapNumber, name, specification, unit, number, remark, num) { return request({ url: '', method: 'post', data: { type: '2', name: 'PDM_装箱单_备件_修改数据', - param: `名称=${name}&规格=${specification}&数量=${number}&单位=${unit}&备注=${remark}&备件编号=${num}` + param: `图号=${MapNumber}&名称=${name}&规格=${specification}&数量=${number}&单位=${unit}&备注=${remark}&备件编号=${num}` } }) } -export function addSpareData(name, specification, unit, number, remark, num) { +export function addSpareData(MapNumber, name, specification, unit, number, remark, num, num1, num2) { return request({ url: '', method: 'post', data: { type: '2', name: 'PDM_装箱单_备件_增加数据', - param: `名称=${name}&规格=${specification}&数量=${number}&单位=${unit}&备注=${remark}&装箱单编号=${num}` + param: `图号=${MapNumber}&名称=${name}&规格=${specification}&数量=${number}&单位=${unit}&备注=${remark}&装箱单编号=${num}&项目流水号=${num1}&机床流水号=${num2}` } }) } diff --git a/src/api/TechnologyCenter/ImportParts.js b/src/api/TechnologyCenter/ImportParts.js index 78f6b224..65480ad3 100644 --- a/src/api/TechnologyCenter/ImportParts.js +++ b/src/api/TechnologyCenter/ImportParts.js @@ -242,18 +242,6 @@ export function searchMachine(project) { } }) } - -export function searchMachine2(project) { - return request({ - url: '', - method: 'post', - data: { - type: '1', - name: 'PDM_零件明细表_外购件和标准件_数据导入保存_机床_查询数据gj', - param: `项目=${project}` - } - }) -} // 查询组号 export function searchGroupNum(project, name) { return request({ diff --git a/src/utils/request.js b/src/utils/request.js index c4edcdbc..bb056595 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -18,8 +18,8 @@ const service = axios.create({ // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, + baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, + // baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8077/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.0.112:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 diff --git a/src/views/TechnologyCenter/CreatePackingList/index.vue b/src/views/TechnologyCenter/CreatePackingList/index.vue index 5b683f91..43ce1c0c 100644 --- a/src/views/TechnologyCenter/CreatePackingList/index.vue +++ b/src/views/TechnologyCenter/CreatePackingList/index.vue @@ -10,7 +10,7 @@ :value="item.value"/> 增加 - 导出 + 导出
总装箱单
- + + + + + + @@ -418,11 +423,170 @@ 确定 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

数 控 轧 辊 铣 扁 专机

装          箱          单

GJR1322-ZD
+ +

出厂编号:

中   华   人   民   共   和   国

江   苏   高   精   机   电   装   备   有   限   公   司

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
装        箱        单{{ receiptName }}
本装箱单所列的包装品开箱后应立即清点
箱号 + 箱体尺寸
+
毛中净重
一、主机
序号
代号名称数量
备注
{{ list.序号 }}{{ list.代号 }}{{ list.名称 }}{{ list.数量 }}{{ list.备注 }}
二、机床所属部件
序号代号名称
规格数量备注
{{ list.序号 }}{{ list.代号 }}{{ list.名称 }}{{ list.规格 }}{{ list.数量 }}{{ list.备注 }}
三、随机供应备件
序号
名称代号
数量
备注
{{ index + 1 }}{{ list.名称 }}{{ list.代号 }}{{ list.数量 }}{{ list.备注 }}
四、随机技术文件
序号
名称
代号数量备注
{{ index + 1 }}{{ list.名称 }}{{ list.代号 }}{{ list.数量 }}{{ list.备注 }}
标记
处数
更改文件号
签字
日期
+
+ + + + + +
+