diff --git a/src/api/ManufacturingCenter/CreateWarehousePurchasing.js b/src/api/ManufacturingCenter/CreateWarehousePurchasing.js
new file mode 100644
index 00000000..b4485499
--- /dev/null
+++ b/src/api/ManufacturingCenter/CreateWarehousePurchasing.js
@@ -0,0 +1,111 @@
+import request from '@/utils/request'
+
+// 查询库存数
+export function searchInventoryNum(pageCurrent, pageSize, check1, val1, check2, val2, check3, val3, check4, state1) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_离线合同_物料余量_查询数据',
+ param: `物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&库存状态_check=${check4}&库存状态=${state1}`,
+ Pagination: pageCurrent + '&' + pageSize
+ }
+ })
+}
+// 新增采购明细单
+export function submitaddpurchasingdetailsform(name, applicant) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_仓库采购_表单_新增',
+ param: `表单名称=${name}&申请人=${applicant}`
+ }
+ })
+}
+// 查询采购明细单
+export function searchpurchasingDetailsForm(pageCurrent, pageSize, name) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_仓库采购_表单_查询',
+ param: `表单名称=${name}`,
+ Pagination: pageCurrent + '&' + pageSize
+ }
+ })
+}
+// 查询采购表单
+export function confirmEditpurchasingDetailsForm(name, id) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_仓库采购_表单_编辑',
+ param: `表单名称=${name}&id=${id}`
+ }
+ })
+}
+// 查询采购表单
+export function openDeletepurchasingDetailsForm(id) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_仓库采购_表单_删除',
+ param: `id=${id}`
+ }
+ })
+}
+// 选入物料信息
+export function addmateriel(formNumber, materielGroup) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_仓库采购_表单明细_增加数据',
+ param: `表单流水号=${formNumber}&物料流水号组=${materielGroup}`
+ }
+ })
+}
+// 查询采购明细
+export function searchtable2(formNumber) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_仓库采购_表单明细_查询数据',
+ param: `表单流水号=${formNumber}`
+ }
+ })
+}
+// 设置安全库存
+export function setSafeValue(...params) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_离线合同_物料安全库存_修改数据',
+ param: `物料流水号=${params[0]}&安全库存量=${params[1]}`
+ }
+ })
+}
+export function updateNumber(...params) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '采购管理_仓库采购_表单明细_编辑数据',
+ param: `id=${params[0]}&数量=${params[1]}&备注=${params[2]}`
+ }
+ })
+}
diff --git a/src/utils/request.js b/src/utils/request.js
index da3f9d7b..56ffd77d 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -16,8 +16,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.0.110:8002/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
-export const ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel
+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
// 技术中心程序发布时要更改下面所有的IP到0段
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
diff --git a/src/views/Inventory/PurchaseInRecord/index.vue b/src/views/Inventory/PurchaseInRecord/index.vue
index a38cd6ee..d0fc410b 100644
--- a/src/views/Inventory/PurchaseInRecord/index.vue
+++ b/src/views/Inventory/PurchaseInRecord/index.vue
@@ -48,7 +48,7 @@