style:出库单据-字典类型修改

main
黄伟杰 1 month ago
parent 93c272565b
commit 49fb01e3b0

@ -192,7 +192,7 @@ const formRules = reactive({
const disabled = computed(() => formType.value === 'detail') const disabled = computed(() => formType.value === 'detail')
const formRef = ref() // Ref const formRef = ref() // Ref
const userList = ref<UserVO[]>([]) // const userList = ref<UserVO[]>([]) //
const WAREHOUSE_DOCUMENT_TYPES = 'warehouse_document_types' const WAREHOUSE_DOCUMENT_TYPES = 'warehouse_document_out_types'
const options = computed(() => getStrDictOptions(WAREHOUSE_DOCUMENT_TYPES)) const options = computed(() => getStrDictOptions(WAREHOUSE_DOCUMENT_TYPES))
watch(options, (items) => { watch(options, (items) => {
if (formType.value === 'create' && !formData.value.outType && items.length) { if (formType.value === 'create' && !formData.value.outType && items.length) {

@ -359,7 +359,7 @@ const queryParams = reactive({
outType: undefined, outType: undefined,
creator: undefined creator: undefined
}) })
const WAREHOUSE_DOCUMENT_TYPES = 'warehouse_document_types' const WAREHOUSE_DOCUMENT_TYPES = 'warehouse_document_out_types'
const stockOutTypeOptions = computed(() => getStrDictOptions(WAREHOUSE_DOCUMENT_TYPES)) const stockOutTypeOptions = computed(() => getStrDictOptions(WAREHOUSE_DOCUMENT_TYPES))
const outTypeToInfoKey = (outType: string) => { const outTypeToInfoKey = (outType: string) => {
const map: Record<string, string> = { const map: Record<string, string> = {

Loading…
Cancel
Save