半成品入库
This commit is contained in:
8
src/config/filter.js
Normal file
8
src/config/filter.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const filter = {
|
||||
numeric (value, bit) {
|
||||
if (!value) return ''
|
||||
return Number(value).toFixed(bit)
|
||||
}
|
||||
}
|
||||
|
||||
export default filter
|
||||
@@ -123,8 +123,10 @@ export const getBcpStor = () => post('api/pda/bcp/in/getBcpStor', {})
|
||||
// 1.2单据类型下拉框
|
||||
export const getBillType = () => post('api/pda/bcp/in/getBillType', {})
|
||||
// 1.3物料选择页面
|
||||
export const getMaterial = (code) => post('api/pda/bcp/in/getMaterial', {
|
||||
material_code: code
|
||||
export const getMaterial = (code, page, size) => post('api/pda/bcp/in/getMaterial', {
|
||||
material_code: code,
|
||||
page: page,
|
||||
size: size
|
||||
})
|
||||
// export const getMaterial = (code) => {
|
||||
// let res = {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Dialog } from './utils.js'
|
||||
import store from '../vuex/store'
|
||||
import router from '@/router'
|
||||
|
||||
axios.defaults.timeout = 50000
|
||||
axios.defaults.timeout = 5000
|
||||
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8'
|
||||
|
||||
axios.interceptors.request.use(
|
||||
|
||||
Reference in New Issue
Block a user