diff --git a/src/api/Inventory/Inboundscanning.js b/src/api/Inventory/Inboundscanning.js index 211ac2eb..b2e2d786 100644 --- a/src/api/Inventory/Inboundscanning.js +++ b/src/api/Inventory/Inboundscanning.js @@ -11,6 +11,28 @@ export function searchTable(partnumber) { } }) } +export function searchPartNumber(partnumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_基本件入库_零件图号', + param: '工艺计划流水号=' + partnumber + } + }) +} +export function CraftNumber(partnumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_基本件入库_工艺计划流水号', + param: '零件图号=' + partnumber + } + }) +} // 仓库查询 export function getinventory() { return request({ diff --git a/src/utils/request.js b/src/utils/request.js index 1af64819..6853e157 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -3,7 +3,7 @@ import axios from 'axios' // import store from '../store' // import { getToken } from '@/utils/auth' -export const wsuri = `ws://192.168.1.149:61101//WebMoudule//websocket` +export const wsuri = `ws://192.168.0.108:61101//WebMoudule//websocket` export const name = `OP8888` // 创建axios实例 @@ -15,7 +15,7 @@ const service = axios.create({ // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - baseURL: `http://192.168.0.105:8411/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.0.108:8411/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, diff --git a/src/views/Inventory/Inboundscanning/index.vue b/src/views/Inventory/Inboundscanning/index.vue index be81e77b..c2634d07 100644 --- a/src/views/Inventory/Inboundscanning/index.vue +++ b/src/views/Inventory/Inboundscanning/index.vue @@ -4,8 +4,8 @@ 零件图号 - - 查询 + + 查询 清空 @@ -91,7 +91,7 @@