This commit is contained in:
qsh
2024-11-01 18:13:44 +08:00
parent 7e771a89e4
commit 91a509d49d
10 changed files with 280 additions and 53 deletions

View File

@@ -116,9 +116,9 @@
>
<el-option
v-for="item in supplierOptions"
:key="item.value"
:label="item.label"
:value="item.value"
:key="item.id"
:label="item.supplierName"
:value="item.id"
/>
</el-select>
</el-form-item>
@@ -267,7 +267,7 @@ import { getSimpleUserList as getUserOption } from '@/api/system/user'
import { getSimpleProductList } from '@/api/mall/product'
import * as SettleApi from '@/api/clue/settle'
import { getDictOptions } from '@/utils/dict'
import { getSupplierSimpleList } from '@/api/school/setting/supplier'
import { removeNullField } from '@/utils/index'
import { dateFormatter } from '@/utils/formatTime'
@@ -419,9 +419,12 @@ async function handleSaveSettle() {
const userOptions = ref([])
const prodOptions = ref([])
const supplierOptions = getDictOptions('erp_supplier')
const supplierOptions = ref([])
function getOptions() {
getSupplierSimpleList().then((data) => {
supplierOptions.value = data
})
// 产品
getSimpleProductList().then((data) => {
prodOptions.value = data