作业编码初始化 bug 修复
This commit is contained in:
@@ -118,6 +118,7 @@ export const useTraceOrderStore = defineStore("traceOrder", () => {
|
||||
async function selectStation(stationId: string) {
|
||||
currentStationId.value = stationId;
|
||||
stationInfo.value = stationList.value.find((s: any) => s.id === stationId) ?? {};
|
||||
currentStationCode.value = stationInfo.value.code;
|
||||
}
|
||||
|
||||
async function refreshAll() {
|
||||
|
||||
@@ -33,10 +33,12 @@ const columns = [
|
||||
|
||||
const handleInfeed = (record: any) => {
|
||||
router.push({ name: 'Infeed' });
|
||||
traceOrderStore.selectStation(record.id);
|
||||
};
|
||||
|
||||
const handleOutfeed = (record: any) => {
|
||||
router.push({ name: 'Outfeed' });
|
||||
traceOrderStore.selectStation(record.id);
|
||||
};
|
||||
|
||||
function rowClick(record: TableItem) {
|
||||
|
||||
Reference in New Issue
Block a user