+
+
+
+
+
-
@@ -64,13 +76,14 @@ const suppliersId = ref
('');
},
importConfig: {
url: () => `/bizSuppliers/nuBizSuppliersMaterialInfo/importExcel?supplierId=${suppliersId.value}`,
- success: searchQuery,
+ success: headClose,
},
});
const formRef = ref();
const queryParam = reactive({});
const dataList = ref([]);
+ const emit = defineEmits(['register', 'ok']);
const myActiveKey = ref('1');
let pageNo = ref(1);
const pageSize = ref(20);
@@ -93,6 +106,12 @@ const suppliersId = ref('');
async function onPageChange(e) {
await reload();
}
+
+ function headClose(record) {
+ if(record.success){
+ emit('ok');
+ }
+ }
/**
* 查询
*/
@@ -159,6 +178,7 @@ const suppliersId = ref('');
background-color: white;
height: 64px;
border-radius: 8px;
+ margin-top: 15px;
}
.radio-group{
display: flex;
diff --git a/src/views/bizSuppliers/SuppDaoruModal.vue b/src/views/bizSuppliers/SuppDaoruModal.vue
index 4697f30..654a74d 100644
--- a/src/views/bizSuppliers/SuppDaoruModal.vue
+++ b/src/views/bizSuppliers/SuppDaoruModal.vue
@@ -17,7 +17,7 @@ import SuppDaoruList from './SuppDaoruList.vue'
import JModal from '/@/components/Modal/src/JModal/JModal.vue';
const title = ref('');
-const width = ref('1400');
+const width = ref('1200');
const visible = ref(false);
const disableSubmit = ref(false);
const registerForm = ref();