生产工序

This commit is contained in:
砂糖
2025-08-14 16:30:13 +08:00
parent 970c550590
commit 0f279eaeec
19 changed files with 1268 additions and 63 deletions

View File

@@ -0,0 +1,26 @@
import { listProcesse } from "@/api/wms/craft";
const state = {
processList: [],
}
const mutations = {
SET_PROCESS_LIST(state, processList) {
state.processList = processList;
},
}
const actions = {
getProcessList({ commit }) {
listProcesse({ pageSize: 1000 }).then(response => {
commit('SET_PROCESS_LIST', response.rows);
});
}
}
export default {
namespaced: true,
state,
mutations,
actions
}

View File

@@ -12,8 +12,8 @@ const mutations = {
const actions = {
getFinancialAccounts({ commit }) {
listAccount().then(response => {
commit('SET_FINANCIAL_ACCOUNTS', response.data);
listAccount({ pageSize: 1000 }).then(response => {
commit('SET_FINANCIAL_ACCOUNTS', response.rows);
});
}
}