|
@@ -81,6 +81,7 @@ const supplierArr = ref<any[]>([]);
|
|
|
|
|
|
|
|
// 获取所有的供应商
|
|
// 获取所有的供应商
|
|
|
async function getSupplier(params: any) {
|
|
async function getSupplier(params: any) {
|
|
|
|
|
+ supplierOptions.value = [];
|
|
|
const res = await getAllSupplierMethod(params);
|
|
const res = await getAllSupplierMethod(params);
|
|
|
if (res && res.length > 0) {
|
|
if (res && res.length > 0) {
|
|
|
supplierArr.value = res;
|
|
supplierArr.value = res;
|