From a9abf9c64338b6698bdc641e90d9833be67861d9 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Fri, 22 Dec 2023 10:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aftersales/aftersalesWorkOrderAdd.vue | 20 +++---- .../signfor/distributionSignforedt.vue | 60 +++++++++++-------- vite.config.js | 4 +- 3 files changed, 46 insertions(+), 38 deletions(-) diff --git a/src/views/aftersales/aftersalesWorkOrderAdd.vue b/src/views/aftersales/aftersalesWorkOrderAdd.vue index ffb64d99..4d9c83d9 100644 --- a/src/views/aftersales/aftersalesWorkOrderAdd.vue +++ b/src/views/aftersales/aftersalesWorkOrderAdd.vue @@ -1002,16 +1002,16 @@ const ConfirmForm = () => { delete DataSubmit.processor; //移除多余字段 console.log(DataSubmit, '处理好的数据'); // 提交表单信息stringify - // $_submit(DataSubmit).then(res => { - // if (res.data.code == 200) { - // ElMessage({ - // message: res.data.msg, - // type: 'success', - // }); - // Indexform.value = {}; //重置表单 - // $router.push('/aftersales/aftersalesWorkOrder'); //添加成功跳转到列表 - // } - // }); + $_submit(DataSubmit).then(res => { + if (res.data.code == 200) { + ElMessage({ + message: res.data.msg, + type: 'success', + }); + Indexform.value = {}; //重置表单 + $router.push('/aftersales/aftersalesWorkOrder'); //添加成功跳转到列表 + } + }); }; // 选择司机带出车次号日期 const changeDeliveryDriver=(val)=>{ diff --git a/src/views/distribution/signfor/distributionSignforedt.vue b/src/views/distribution/signfor/distributionSignforedt.vue index d888c98e..b372fcf0 100644 --- a/src/views/distribution/signfor/distributionSignforedt.vue +++ b/src/views/distribution/signfor/distributionSignforedt.vue @@ -386,8 +386,8 @@ height="500" style="width: 100%" ref="tableRef" - @select-all="selectAll" - @select="selectChange" + @select-all="qsselectAll" + @select="qsselectChange" > - 勾选数量:{{TcTemp.length}} + 勾选数量:{{sptemp.length}} @@ -465,7 +465,7 @@ 新增 @@ -580,6 +580,7 @@ + 勾选数量:{{ZCTableData.length}} @@ -671,7 +672,7 @@ - + 勾选数量:{{TcTemp.length}}