From 5d9b299357c718a3b9d6cb73ad27977ffc292ae0 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 9 Apr 2024 10:15:45 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/financialsector/index.js | 9 +++++++++ .../distributionDeliveryListedt.vue | 17 ++++++++++------- .../distributionDeliveryListmar.vue | 3 ++- .../Financialse/FinancialWarehousing.vue | 15 +++++++++++++-- 4 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 src/api/financialsector/index.js diff --git a/src/api/financialsector/index.js b/src/api/financialsector/index.js new file mode 100644 index 00000000..63dbadc9 --- /dev/null +++ b/src/api/financialsector/index.js @@ -0,0 +1,9 @@ +import request from '@/axios'; +//基础价格模板新增 +export const $_priceTemplate = data => { + return request({ + url: '/api/logpm-basicdata/priceTemplate', + method: 'post', + data, + }); +}; diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index 8927af23..721c5911 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -4701,13 +4701,16 @@ export default { // 复核签收确认弹窗 submitForm() { // 取消上门照片规则 - // if (!this.DoorstepPhoto.length) { - // ElMessage({ - // message: '至少上传一张上门照片', - // type: 'warning', - // }); - // return; - // } + if(this.$route.query.state){ + if (!this.DoorstepPhoto.length) { + ElMessage({ + message: '至少上传一张上门照片', + type: 'warning', + }); + return; + } + } + if (!this.StackingPhoto.length) { ElMessage({ message: '至少上传一张堆码照片', diff --git a/src/views/distribution/deliverylist/distributionDeliveryListmar.vue b/src/views/distribution/deliverylist/distributionDeliveryListmar.vue index c2422f1c..0086f557 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListmar.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListmar.vue @@ -1090,7 +1090,8 @@ export default { path: '/distribution/deliverylist/distributionDeliveryListedt', query: { data: encodeURIComponent(JSON.stringify(row)), - name: row.trainNumber + '-查看配送', + state:'imgType', + name: row.trainNumber + '-查看配送', }, }); }, diff --git a/src/views/financialsector/Financialse/FinancialWarehousing.vue b/src/views/financialsector/Financialse/FinancialWarehousing.vue index 2a5f343b..4cbed1f3 100644 --- a/src/views/financialsector/Financialse/FinancialWarehousing.vue +++ b/src/views/financialsector/Financialse/FinancialWarehousing.vue @@ -233,7 +233,9 @@ -
保存
+
+ 保存 +
@@ -241,7 +243,7 @@ import { ref } from 'vue'; import { defineProps } from 'vue'; import { getDictionaryBiz } from '@/api/system/dict'; //字典 - +import {$_priceTemplate} from '@/api/financialsector/index'; //价格模板 // 接收参数 const props = defineProps({ @@ -432,6 +434,10 @@ const onLoad=()=>{ } onLoad() +// 新增 +const Submit=()=>{ + console.log(form.value,'表单'); +} From f69adde2c8de2cb0c5f194780520ea3a0aa20d89 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 9 Apr 2024 10:27:49 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/financialsector/FinanceHome.vue | 7 ++++++- .../financialsector/Financialse/FinancialWarehousing.vue | 9 +++++++-- .../warehousesignedorder/distributionStockArticle.vue | 9 +++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/financialsector/FinanceHome.vue b/src/views/financialsector/FinanceHome.vue index e73d88c5..a7a5c87f 100644 --- a/src/views/financialsector/FinanceHome.vue +++ b/src/views/financialsector/FinanceHome.vue @@ -41,7 +41,7 @@ 安装 @@ -124,6 +124,11 @@ const removeTag = value => { Tabmenu.value = ServiceList.value.find(res => res.state).label; } }; + +// 提供数据的函数 +const provideData = () => { + console.log(`父组件的数据是:${11111}`); +};