分切下料2

This commit is contained in:
2025-03-19 17:01:26 +08:00
parent 6b9ff24685
commit 0bd289b8ff
6 changed files with 61 additions and 19 deletions

View File

@@ -25,6 +25,12 @@ Vue.directive('enterNumber', {
}
});
Vue.filter('findByValue', (array, value) => {
if (!Array.isArray(array)) return ''
const item = array.find(item => item.value === value)
return item ? item.text : ''
});
import store from '@/vuex/store.js'
const app = new Vue({