|
@ -176,19 +176,10 @@ export function getMessageUnreadCount() { |
|
|
/** |
|
|
/** |
|
|
* 获取单据开关配置 |
|
|
* 获取单据开关配置 |
|
|
*/ |
|
|
*/ |
|
|
export function getSwitchByCode(code) { |
|
|
export function getSwitchByCode(params) { |
|
|
var params ={ |
|
|
|
|
|
filters:[{ |
|
|
|
|
|
column:"code", |
|
|
|
|
|
action:"==", |
|
|
|
|
|
value:code |
|
|
|
|
|
}], |
|
|
|
|
|
pageNo:1, |
|
|
|
|
|
pageSize:10, |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return request({ |
|
|
return request({ |
|
|
url: baseApi + "/wms/switch/senior", |
|
|
url: baseApi + "/wms/switch/getSwitchList", |
|
|
method: "post", |
|
|
method: "post", |
|
|
data: params |
|
|
data: params |
|
|
}); |
|
|
}); |
|
|