Browse Source

主子表合并

master_hella_20240701
yufei0306 6 months ago
parent
commit
b12b81a7b3
  1. 7
      src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

7
src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

@ -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 [

Loading…
Cancel
Save