|
@@ -467,7 +467,7 @@ const rules = ref({
|
|
|
commercePlatform: [{ required: true, message: "请选择电商平台", trigger: "change" }],
|
|
|
quantity: [{ required: true, message: "请输入数量", trigger: "blur" }],
|
|
|
});
|
|
|
-const getDepartment = () => {
|
|
|
+const getDemandData = () => {
|
|
|
proxy.post("/department/page", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
if (res.rows && res.rows.length > 0) {
|
|
|
departmentList.value = res.rows.map((item) => {
|
|
@@ -479,7 +479,7 @@ const getDepartment = () => {
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
-getDepartment();
|
|
|
+getDemandData();
|
|
|
const uploadProductData = ref({});
|
|
|
const uploadProductFile = async (file) => {
|
|
|
const res = await proxy.post("/fileInfo/getSing", { fileName: file.name });
|