|
@ -47,9 +47,10 @@ |
|
|
:formAllSchemas="ProcessproductionRequestMain.allSchemas" |
|
|
:formAllSchemas="ProcessproductionRequestMain.allSchemas" |
|
|
:apiUpdate="ProcessproductionRequestMainApi.updateProcessproductionRequestMain" |
|
|
:apiUpdate="ProcessproductionRequestMainApi.updateProcessproductionRequestMain" |
|
|
:apiCreate="ProcessproductionRequestMainApi.createProcessproductionRequestMain" |
|
|
:apiCreate="ProcessproductionRequestMainApi.createProcessproductionRequestMain" |
|
|
:tableData="tableData" |
|
|
|
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
:isBusiness="true" |
|
|
:isBusiness="true" |
|
|
|
|
|
:tableAllSchemas="ProcessproductionRequestDetail.allSchemas" |
|
|
|
|
|
:tableFormRules="ProcessproductionRequestDetailRules" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
@ -108,7 +109,7 @@ const updataTableColumns = (val) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
getListApi: ProcessproductionRequestMainApi.getProcessproductionRequestMainPage // 分页接口 |
|
|
getListApi: ProcessproductionRequestDetailApi.getProcessproductionRequestDetailPage // 分页接口 |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
// 获得表格的各种操作 |
|
@ -152,7 +153,7 @@ const buttonBaseClick = (val, item) => { |
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|
const butttondata = (row,$index) => { |
|
|
const butttondata = (row,$index) => { |
|
|
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1 |
|
|
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 [] |
|
|
} |
|
|
} |
|
|
return [ |
|
|
return [ |
|
|