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 [