You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB

new file: src/api/wms/accountcalendar/index.ts new file: src/api/wms/areabasic/index.ts new file: src/api/wms/bom/index.ts new file: src/api/wms/currencyexchange/index.ts new file: src/api/wms/customer/index.ts new file: src/api/wms/customerdock/index.ts new file: src/api/wms/customeritem/index.ts new file: src/api/wms/dock/index.ts new file: src/api/wms/itempackaging/index.ts new file: src/api/wms/location/index.ts new file: src/api/wms/locationgroup/index.ts new file: src/api/wms/process/index.ts new file: src/api/wms/productionline/index.ts new file: src/api/wms/productionlineitem/index.ts new file: src/api/wms/project/index.ts new file: src/api/wms/purchaseprice/index.ts new file: src/api/wms/saleprice/index.ts new file: src/api/wms/stdcostprice/index.ts new file: src/api/wms/supplier/index.ts new file: src/api/wms/supplieritem/index.ts new file: src/api/wms/systemcalendar/index.ts new file: src/api/wms/warehouse/index.ts new file: src/api/wms/workshop/index.ts new file: src/api/wms/workstation/index.ts new file: src/views/wms/accountcalendar/AccountcalendarForm.vue new file: src/views/wms/accountcalendar/index.vue new file: src/views/wms/areabasic/AreaForm.vue new file: src/views/wms/areabasic/index.vue new file: src/views/wms/bom/BomForm.vue new file: src/views/wms/bom/index.vue new file: src/views/wms/currencyexchange/CurrencyexchangeForm.vue new file: src/views/wms/currencyexchange/index.vue new file: src/views/wms/customer/CustomerForm.vue new file: src/views/wms/customer/index.vue new file: src/views/wms/customerdock/CustomerdockForm.vue new file: src/views/wms/customerdock/index.vue new file: src/views/wms/customeritem/CustomeritemForm.vue new file: src/views/wms/customeritem/index.vue new file: src/views/wms/dock/DockForm.vue new file: src/views/wms/dock/index.vue modified: src/views/wms/itembasic/index.vue new file: src/views/wms/itempackaging/ItempackagingForm.vue new file: src/views/wms/itempackaging/index.vue new file: src/views/wms/location/LocationForm.vue new file: src/views/wms/location/index.vue new file: src/views/wms/locationgroup/LocationgroupForm.vue new file: src/views/wms/locationgroup/index.vue new file: src/views/wms/process/ProcessForm.vue new file: src/views/wms/process/index.vue new file: src/views/wms/productionline/ProductionlineForm.vue new file: src/views/wms/productionline/index.vue new file: src/views/wms/productionlineitem/ProductionlineitemForm.vue new file: src/views/wms/productionlineitem/index.vue new file: src/views/wms/project/ProjectForm.vue new file: src/views/wms/project/index.vue new file: src/views/wms/purchaseprice/PurchasepriceForm.vue new file: src/views/wms/purchaseprice/index.vue new file: src/views/wms/saleprice/SalepriceForm.vue new file: src/views/wms/saleprice/index.vue new file: src/views/wms/stdcostprice/StdcostpriceForm.vue new file: src/views/wms/stdcostprice/index.vue new file: src/views/wms/supplier/SupplierForm.vue new file: src/views/wms/supplier/index.vue new file: src/views/wms/supplieritem/SupplieritemForm.vue new file: src/views/wms/supplieritem/index.vue new file: src/views/wms/systemcalendar/SystemcalendarForm.vue new file: src/views/wms/systemcalendar/index.vue new file: src/views/wms/warehouse/WarehouseForm.vue new file: src/views/wms/warehouse/index.vue new file: src/views/wms/workshop/WorkshopForm.vue new file: src/views/wms/workshop/index.vue new file: src/views/wms/workstation/WorkstationForm.vue new file: src/views/wms/workstation/index.vue
2 years ago
import request from '@/config/axios'
export interface ProcessVO {
code: string
name: string
description: string
type: string
workshopCode: string
productionLineCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询工序列表
export const getProcessPage = async (params) => {
return await request.get({ url: `/wms/process/page`, params })
}
// 查询工序详情
export const getProcess = async (id: number) => {
return await request.get({ url: `/wms/process/get?id=` + id })
}
// 新增工序
export const createProcess = async (data: ProcessVO) => {
return await request.post({ url: `/wms/process/create`, data })
}
// 修改工序
export const updateProcess = async (data: ProcessVO) => {
return await request.put({ url: `/wms/process/update`, data })
}
// 删除工序
export const deleteProcess = async (id: number) => {
return await request.delete({ url: `/wms/process/delete?id=` + id })
}
// 导出工序 Excel
export const exportProcess = async (params) => {
return await request.download({ url: `/wms/process/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/process/get-import-template' })
}