From 52f96d632b75e0d5981305993a46bfd492d5421c Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Mon, 23 Mar 2026 11:34:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20yp005?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/yp/YP005.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/views/business/comps/template/comps/yp/YP005.vue b/src/views/business/comps/template/comps/yp/YP005.vue index 4098387..c581be3 100644 --- a/src/views/business/comps/template/comps/yp/YP005.vue +++ b/src/views/business/comps/template/comps/yp/YP005.vue @@ -193,17 +193,16 @@ export default { methods: { // 点击按钮 handleClickButton(key,rowIndex,colIndex,e,data){ + let content = this.getFilledFormData(); + let tableList = content.stepTableFormData + let qxsj = tableList[rowIndex].qxsj + let timeArr = qxsj?qxsj.split('~'):['',''] if(key === "exportBtn"){ this.currentRowIndex = rowIndex; this.$refs.ImportExcelDialog.show() } if(key === "startBtn"){ - debugger let startTime = moment().format("YYYY/MM/DD HH:mm") - let content = this.getFilledFormData(); - let tableList = content.stepTableFormData - let qxsj = tableList[rowIndex].qxsj - let timeArr = qxsj?qxsj.split('~'):['',''] timeArr[0] = startTime this.$refs.tableRef.updateDataSourceByRowIndex(rowIndex,{ qxsj: timeArr.join('~'), @@ -222,10 +221,6 @@ export default { if(key === "endBtn"){ debugger let endTime = moment().format("YYYY/MM/DD HH:mm") - let content = this.getFilledFormData(); - let tableList = content.stepTableFormData - let qxsj = tableList[rowIndex].qxsj - let timeArr = qxsj?qxsj.split('~'):['',''] timeArr[1] = endTime this.$refs.tableRef.updateDataSourceByRowIndex(rowIndex,{ qxsj: timeArr.join('~'),