| | |
| | | </el-row> |
| | | </div> |
| | | <ValueTable :tableRowClassName="changeRowClass" class="value-table" ref="insOrderPlan" |
| | | :isColumnWidth="true" |
| | | :url="$api.insOrderPlan.selectInsOrderPlanList" :upUrl="$api.user.updateUser" :componentData="componentData" @handleInspection="handleInspection" |
| | | :key="upIndex"/> |
| | | </div> |
| | |
| | | type: 'text', |
| | | method: 'handleInspection', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.insState == 3 || row.insState == 5||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | return row.userName == null || row.insState == 3 || row.insState == 5||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | // disabFun: (row, index) => { |
| | | // return row.userId == null || row.insState == 3 || row.insState == 5 |
| | |
| | | type: 'text', |
| | | method: 'handleConnect', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.orderUserId == null || row.insState == 5 || row.insState == 3||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | return row.userName == null || row.insState == 5 || row.insState == 3||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | }, |
| | | { |
| | |
| | | font: '复核', |
| | | type: 'text', |
| | | method: 'handleReview', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null || row.insState != 3 ||JSON.parse(localStorage.getItem("user")).name != row.userName |
| | | disabFun: (row, userName) => { |
| | | return row.userName == null || row.insState != 3 ||(row.checkName&&!row.checkName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | }, { |
| | | id: '', |
| | |
| | | type: 'text', |
| | | method: 'claimFun', |
| | | disabFun: (row, index) => { |
| | | return row.userId != null |
| | | return row.userName != null||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) |
| | | } |
| | | } |
| | | ], |