feat:增加换货单的逻辑,已发货短信模板更改

This commit is contained in:
一休哥哥6666
2026-06-15 13:42:52 +08:00
parent dfef98814b
commit 2991dd88bb
28 changed files with 575 additions and 628 deletions

View File

@@ -4,10 +4,15 @@ const state = {
const mutations = {
SET_DICT: (state, { key, value }) => {
if (key !== null && key !== "") {
state.dict.push({
key: key,
value: value
})
const index = state.dict.findIndex(item => item.key === key)
if (index >= 0) {
state.dict.splice(index, 1, { key: key, value: value })
} else {
state.dict.push({
key: key,
value: value
})
}
}
},
REMOVE_DICT: (state, key) => {