Commit a4a6e02f by LJM

优化

parent 7033be75
Showing with 12 additions and 16 deletions
......@@ -568,7 +568,7 @@
}
//匹配到内容才开始调接口
if (result != '') {
this.request(API.analyzeQRCode, 'POST', { data: result, type: 'DigKey' }, true).then(res => {
this.request(API.identifyQrCodeNumAndSn, 'POST', { data: result, type: 'DigKey' }, true).then(res => {
if (res.code === 0) {
this.searchParams.goods_name = res.data.model; //赋值检索出来的型号
this.list = [];
......
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_Queue = 'http://192.168.1.252:16590'; //queue
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
// const API_BASE_Queue = 'http://192.168.1.252:16590'; //queue
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
//const API_BASE_Queue = 'http://queue.ichunt.net'; //queue系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API_BASE_Queue = 'http://queue.ichunt.net'; //queue系统
const API = {
/**
......@@ -356,11 +356,7 @@ const API = {
/**
* 修改理货照片
* */
changeStockTallyImages: API_BASE + '/api/stockIn/tallyReceive/changeStockTallyImages',
/**
* digikey扫码识别型号
* */
analyzeQRCode: API_BASE_Queue + '/analyzeQRCode'
changeStockTallyImages: API_BASE + '/api/stockIn/tallyReceive/changeStockTallyImages'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment