diff --git a/src/api/materials/purchaseDoc/index.ts b/src/api/materials/purchaseDoc/index.ts index bcaaf4a..699f240 100644 --- a/src/api/materials/purchaseDoc/index.ts +++ b/src/api/materials/purchaseDoc/index.ts @@ -111,3 +111,13 @@ export const purchaseDocPlanList = (id) => { method: 'get' }); }; +/** + * 通过物流单号 物流详情 + * @param id + */ +export const logisticsDetial = (id) => { + return request({ + url: '/cailiaoshebei/ltn/logistics/' + id, + method: 'get' + }); +}; diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 63cbae5..c8a53c9 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -314,6 +314,11 @@ const uploadedSuccessfully = (res: any) => { emit('update:modelValue', listToString(fileList.value)); proxy?.$modal.closeLoading(); } + if (props.autoUpload) { + fileUploadRef.value?.clearFiles(); + fileList.value = []; + emit('update:modelValue', ''); // 同步到外部 v-model + } props.onUploadSuccess?.(fileList.value, res); }; @@ -356,7 +361,7 @@ const customUpload = async (options: any) => { data: formData, headers: { 'Content-Type': 'multipart/form-data', ...headers.value } }); - handleUploadSuccess(res, options.file); + handleUploadSuccess(res.data, options.file); } catch (err) { handleUploadError(); } diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 2aa716c..78ca0c8 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -54,8 +54,6 @@ const onNewsClick = (item: any) => { //并且写入pinia noticeStore.state.value.notices = newsList.value; //如果有formPath,就前往 - console.log(1111111111111111); - console.log(newsList.value[item]); if (newsList.value[item].route) { proxy?.$tab.openPage('/' + newsList.value[item].route, '', { id: newsList.value[item].detailId, type: 'view' }); } diff --git a/src/settings.ts b/src/settings.ts index 4b62c75..8d08686 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -11,7 +11,7 @@ const setting: DefaultSettings = { /** * 侧边栏主题 深色主题theme-dark,浅色主题theme-light */ - sideTheme: 'theme-dark', + sideTheme: 'theme-light', /** * 是否系统布局配置 */ @@ -20,12 +20,12 @@ const setting: DefaultSettings = { /** * 是否显示顶部导航 */ - topNav: false, + topNav: true, /** * 是否显示 tagsView */ - tagsView: true, + tagsView: false, /** * 是否固定头部 diff --git a/src/utils/sse.ts b/src/utils/sse.ts index 452ff85..464727c 100644 --- a/src/utils/sse.ts +++ b/src/utils/sse.ts @@ -25,7 +25,6 @@ export const initSSE = (url: any) => { }); watch(data, () => { - console.log(data.value); let label = ''; let route1 = ''; let detailId = ''; diff --git a/src/views/cory/template/indexEdit.vue b/src/views/cory/template/indexEdit.vue index 6dcdad1..91e3fe6 100644 --- a/src/views/cory/template/indexEdit.vue +++ b/src/views/cory/template/indexEdit.vue @@ -23,7 +23,7 @@ 点击编辑 - @@ -46,15 +45,23 @@ class="flex-1 mr-3" >
+ - + +
@@ -97,15 +104,23 @@ class="flex-1 mr-3" >
+ - + +
@@ -146,7 +161,7 @@ + + diff --git a/src/views/materials/purchaseDoc/index.vue b/src/views/materials/purchaseDoc/index.vue index 01a7cb4..7bbddd5 100644 --- a/src/views/materials/purchaseDoc/index.vue +++ b/src/views/materials/purchaseDoc/index.vue @@ -31,8 +31,8 @@ - - + + - + + + +
暂无文件
+ \ No newline at end of file diff --git a/src/views/materials/usageMaterials/purchase/index.vue b/src/views/materials/usageMaterials/purchase/index.vue index d9c522f..87fd599 100644 --- a/src/views/materials/usageMaterials/purchase/index.vue +++ b/src/views/materials/usageMaterials/purchase/index.vue @@ -450,27 +450,4 @@ onMounted(() => { diff --git a/src/views/materials/usageMaterials/purchase/indexSon.vue b/src/views/materials/usageMaterials/purchase/indexSon.vue index 2a27c1b..6bf9c30 100644 --- a/src/views/materials/usageMaterials/purchase/indexSon.vue +++ b/src/views/materials/usageMaterials/purchase/indexSon.vue @@ -18,7 +18,7 @@ - +