Commit bd1ad04f70186db83e69f800a85758374c9f9e47
1 parent
c0a7da12
feat: 新增跟单员disabled利润分析按钮
Showing
2 changed files
with
16 additions
and
2 deletions
src/views/project/order/index.vue
... | ... | @@ -84,7 +84,10 @@ |
84 | 84 | <template #toolbar> |
85 | 85 | <a-button type="primary" @click="handleRateModal">比重计算</a-button> |
86 | 86 | <a-button type="primary" @click="handleExportModal">导出</a-button> |
87 | - <a-button type="primary" @click="handleProfitModal" :disabled="!checkedKeys.length" | |
87 | + <a-button | |
88 | + type="primary" | |
89 | + @click="handleProfitModal" | |
90 | + :disabled="!checkedKeys.length || role === ROLE.TRACKER" | |
88 | 91 | >分析利润</a-button |
89 | 92 | > |
90 | 93 | <a-button | ... | ... |
src/views/project/order/tableData.tsx
... | ... | @@ -1482,11 +1482,22 @@ export function getFormConfig(): Partial<FormProps> { |
1482 | 1482 | span: 6, |
1483 | 1483 | }, |
1484 | 1484 | labelWidth: 150, |
1485 | - | |
1486 | 1485 | componentProps: { |
1487 | 1486 | options: customerCode, |
1488 | 1487 | }, |
1489 | 1488 | }, |
1489 | + // { | |
1490 | + // field: `selfTestPassEndTime`, | |
1491 | + // label: `自测通过结束空白`, | |
1492 | + // component: 'Select', | |
1493 | + // colProps: { | |
1494 | + // span: 6, | |
1495 | + // }, | |
1496 | + // labelWidth: 150, | |
1497 | + // componentProps: { | |
1498 | + // options: [{ label: '是' }], | |
1499 | + // }, | |
1500 | + // }, | |
1490 | 1501 | { |
1491 | 1502 | field: `midCheckResult`, |
1492 | 1503 | label: `中期验货结果`, | ... | ... |