半成品入库

This commit is contained in:
2023-06-30 17:28:11 +08:00
parent a65922cc60
commit d7ec91aa0e
12 changed files with 260 additions and 46 deletions

8
src/config/filter.js Normal file
View File

@@ -0,0 +1,8 @@
const filter = {
numeric (value, bit) {
if (!value) return ''
return Number(value).toFixed(bit)
}
}
export default filter

View File

@@ -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 = {

View File

@@ -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(