From bcecdb9b1925a3cd74b5d6f61edb5cf8943a7692 Mon Sep 17 00:00:00 2001 From: bryan sun Date: Wed, 6 Nov 2019 17:01:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=83=A8=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Inventory/MaterialOut.js | 20 + src/api/PurchasingCenter/OfflineContract.js | 14 +- src/utils/request.js | 6 +- src/views/Inventory/InventoryCheck/index.vue | 41 +- src/views/Inventory/MaterialOut/index.vue | 131 +++-- .../Inventory/OfflinePartsStorage/index.vue | 8 +- .../Inventory/PurchaseInRecord/index.vue | 4 +- .../Inventory/PurchaseOutRecord/index.vue | 4 +- .../Inventory/PurchasePartsStorage/index.vue | 14 +- .../InventoryQuery/index.vue | 435 +++++++++++++- .../ProcessTaskAssignment/index.vue | 92 +-- .../CreateInquirySheet/index.vue | 534 +++++++++--------- .../CreatePurchaseContract/index.vue | 71 +-- .../OfflineContract/index.vue | 290 +++++----- .../PurchaseContractRequestFund/index.vue | 26 +- src/views/layout/components/Navbar.vue | 25 +- 16 files changed, 1114 insertions(+), 601 deletions(-) diff --git a/src/api/Inventory/MaterialOut.js b/src/api/Inventory/MaterialOut.js index a1d42e3e..aebd121f 100644 --- a/src/api/Inventory/MaterialOut.js +++ b/src/api/Inventory/MaterialOut.js @@ -166,3 +166,23 @@ export function sendBack(...params) { } }) } +export function getPickingList() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单_查询数据_提示' + } + }) +} +export function setPickingList() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间装配管理_领料单_查询数据_修改提示' + } + }) +} diff --git a/src/api/PurchasingCenter/OfflineContract.js b/src/api/PurchasingCenter/OfflineContract.js index 58f4e99f..b0fee696 100644 --- a/src/api/PurchasingCenter/OfflineContract.js +++ b/src/api/PurchasingCenter/OfflineContract.js @@ -32,7 +32,7 @@ export function searchOfflineContract(pageCurrent, pageSize, check1, num, check2 method: 'post', data: { type: '1', - name: '采购管理_离线合同_查询数据', + name: '采购管理_离线合同_查询数据_新', param: `离线合同编号_check=${check1}&离线合同编号=${num}&供应商名称_check=${check2}&供应商名称=${name}`, Pagination: pageCurrent + '&' + pageSize } @@ -338,3 +338,15 @@ export function tiaozheng2(num1, num2) { } }) } +// 查询供应商 +export function searchSupplier1(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, check8, value8, check9, value9, check10, value10, check11, value11, check12, value12) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_供应商_查询数据_根据条件', + param: '供应商名称_check=' + check1 + '&供应商名称=' + value1 + '&企业性质_check=' + check2 + '&企业性质=' + value2 + '&创立日期_check=' + check3 + '&创立日期=' + value3 + '&注册资本_check=' + check4 + '&注册资本=' + value4 + '&税号_check=' + check5 + '&税号=' + value5 + '&电子信箱_check=' + check6 + '&电子信箱=' + value6 + '&地址_check=' + check7 + '&地址=' + value7 + '&帐号_check=' + check8 + '&帐号=' + value8 + '&开户行_check=' + check9 + '&开户行=' + value9 + '&电话号码_check=' + check10 + '&电话号码=' + value10 + '&传真_check=' + check11 + '&传真=' + value11 + '&货期_check=' + check12 + '&货期=' + value12 + } + }) +} diff --git a/src/utils/request.js b/src/utils/request.js index fc41e22d..03220e7d 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,8 +17,8 @@ export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoic export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx` export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx` -export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 -export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel +export const url = `http://192.168.0.110:8002/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 +export const ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel // 技术中心程序发布时要更改下面所有的IP到0段 export const ServerIP = `http://192.168.1.231:8411/webpage/file/` export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231 @@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` const service = axios.create({ - baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) export default service diff --git a/src/views/Inventory/InventoryCheck/index.vue b/src/views/Inventory/InventoryCheck/index.vue index cfc9a359..8d31b698 100644 --- a/src/views/Inventory/InventoryCheck/index.vue +++ b/src/views/Inventory/InventoryCheck/index.vue @@ -3,35 +3,28 @@
- 物料名称: - - 物料规格: - - 物料型号: - - 仓库名称: - + + + + - - - 货位名称: - + - 查询 + 查询 新增
- + - + - - - - + + + + + + - + - + - + + + + + + + + + + + + + - + - + - + - + @@ -142,7 +136,7 @@ - + @@ -152,11 +146,16 @@ {{ scope.row.备注 }} - + + + +
+ - 物料状态: - + 查询 - +
- + - + - + - - - - + - + - + - + @@ -284,17 +277,17 @@ {{ scope.row.物料名称 }} - + - + - + @@ -317,7 +310,7 @@ {{ Number(scope.row.滞货数量) }} - + @@ -332,6 +325,11 @@ {{ Number(scope.row.零件类型) === 1 ? 'BZ' : 'WG' }} + + +
+ - 物料状态: - + 查询 - +
- + - + - + - - - - + - + - - - - + - + - + - + - + - + @@ -479,6 +467,16 @@ {{ scope.row.备注 }} + + + + + +
@@ -594,16 +592,16 @@
- 离线合同号: - - 供应商: - + + + + 查询 + @click="pageCurrent2=1;pageSize2=10000;total2=0;searchTable2()">查询 选入物料 + + 生成 + + 保存 + + + + +

税率:

+ 快速修改价格 + 还原
- + - + - + - + - + @@ -665,12 +680,12 @@ {{ scope.row.规定到货时间.split(' ')[0] }} - + @@ -683,26 +698,9 @@ :page-size="pageSize2" :total="total2" style="display:inline-block;width:50%" - layout="total, sizes, prev, pager, next, jumper" + layout="total" @size-change="handleSizeChange2" @current-change="handleCurrentChange2"/> - - 生成 - - 保存 - - - - -

税率:

- 快速修改价格 - 还原
使用滞货数量: @@ -715,43 +713,43 @@ - - - - + + + + + + - + - + - + - + - + - + - + - - - - + + + +