From a8c741b0d5a7e704853d224ba7063f644d05a7db Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 30 Nov 2023 14:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=98=E7=82=B9=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/aftersales/VueTemp.vue | 7 +++++-- .../distribution/checkInventoryTask/createTask.vue | 11 ++++++++++- vite.config.js | 10 ++++++---- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/views/aftersales/VueTemp.vue b/src/views/aftersales/VueTemp.vue index ac9c35b4..0713c6e3 100644 --- a/src/views/aftersales/VueTemp.vue +++ b/src/views/aftersales/VueTemp.vue @@ -1660,9 +1660,12 @@ const selectionChange = list => { /** 页码改变执行的回调 */ const currentChange = () => { - console.log(''); + console.log('2'); }; - +// 每页多少条 +const sizeChange=(val)=>{ + console.log(val); +} const changeProcessingResults = val => { // 首先删除取消的项目 ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1)); diff --git a/src/views/distribution/checkInventoryTask/createTask.vue b/src/views/distribution/checkInventoryTask/createTask.vue index ab56eb51..c14d9d9d 100644 --- a/src/views/distribution/checkInventoryTask/createTask.vue +++ b/src/views/distribution/checkInventoryTask/createTask.vue @@ -691,6 +691,7 @@ const Tcrow = ref(); //弹窗当前行 const WrapBarEditing = ref({}); //弹窗数据编辑 const PopupEditing = ref(false); //弹窗编辑 const ElBtnClass = ref(null); +const DiskStatus=ref(true);//已盘、未盘状态 const UncountedDetails = ref(); //未盘点明细盘点必须参数 const contrastData = ref([]); //对比数据表格 const dialogcontrast = ref(false); //对比数据弹窗 @@ -1704,6 +1705,7 @@ const TcViewEvent = (val, Inso) => { }; // 点击详情按钮 const ViewEvent = val => { + DiskStatus.value=true;//表示当前在已盘点列表 InventoryDetails.value.forEach(item => { item.values = null; }); @@ -1770,6 +1772,7 @@ const NotCountedFn = (row, Inso, type = 0) => { // 未盘点明细 const DetailsNotCounted = row => { + DiskStatus.value=false;//表示当前在未盘点列表 InventoryDetails.value.forEach(item => { item.values = null; }); @@ -2225,6 +2228,7 @@ const InformationEditing = () => { // 弹窗品类搜索 const TcChenge = (event, val) => { + console.log(event, val); TcPdloading.value = true; console.log(row.value, '必须参数'); @@ -2239,7 +2243,12 @@ const TcChenge = (event, val) => { questId: qstId, }; - console.log(data, '要提交的数据'); +if ( DiskStatus.value) { + data.questStatus = 1; +}else{ + data.questStatus = 0; +} + $_getDetailInfo(data).then(res => { Tctotal.value = res.data.data.total; diff --git a/vite.config.js b/vite.config.js index e1c949ee..7429f304 100644 --- a/vite.config.js +++ b/vite.config.js @@ -19,12 +19,14 @@ export default ({ mode, command }) => { // target: 'http://192.168.10.123:8889', // target: 'http://192.168.10.101:8888', // 老zyc - // target: 'http://192.168.10.75:8777', - // 新zyc - target: 'http://192.168.6.141:8777', - + // target: 'http://192.168.10.75:8777', + // 新zyc + // target: 'http://192.168.6.141:8777', + target: 'http://192.168.6.116:8777', // tjj // target: 'http://192.168.10.25:13000', + // cg + // target: 'http://192.168.10.200:13000', // target: 'http://192.168.10.94:8888', // target: 'http://test.api.huitongys.com', // target: 'http://h5uapi.huitongys.com',