From b12b81a7b36c6b262ab6d84d5e5e49256a27f917 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Mon, 27 May 2024 19:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=AD=90=E8=A1=A8=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processproduction/processproductionRequest/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue index aaa809414..0c24f2cac 100644 --- a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue +++ b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue @@ -47,9 +47,10 @@ :formAllSchemas="ProcessproductionRequestMain.allSchemas" :apiUpdate="ProcessproductionRequestMainApi.updateProcessproductionRequestMain" :apiCreate="ProcessproductionRequestMainApi.createProcessproductionRequestMain" - :tableData="tableData" @searchTableSuccess="searchTableSuccess" :isBusiness="true" + :tableAllSchemas="ProcessproductionRequestDetail.allSchemas" + :tableFormRules="ProcessproductionRequestDetailRules" /> @@ -108,7 +109,7 @@ const updataTableColumns = (val) => { const { tableObject, tableMethods } = useTable({ - getListApi: ProcessproductionRequestMainApi.getProcessproductionRequestMainPage // 分页接口 + getListApi: ProcessproductionRequestDetailApi.getProcessproductionRequestDetailPage // 分页接口 }) // 获得表格的各种操作 @@ -152,7 +153,7 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = (row,$index) => { const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1 - if(findIndex>0&&findIndex<$index){ + if(findIndex>-1&&findIndex<$index){ return [] } return [