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,7 +84,10 @@ | ||
84 | <template #toolbar> | 84 | <template #toolbar> |
85 | <a-button type="primary" @click="handleRateModal">比重计算</a-button> | 85 | <a-button type="primary" @click="handleRateModal">比重计算</a-button> |
86 | <a-button type="primary" @click="handleExportModal">导出</a-button> | 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 | >分析利润</a-button | 91 | >分析利润</a-button |
89 | > | 92 | > |
90 | <a-button | 93 | <a-button |
src/views/project/order/tableData.tsx
@@ -1482,11 +1482,22 @@ export function getFormConfig(): Partial<FormProps> { | @@ -1482,11 +1482,22 @@ export function getFormConfig(): Partial<FormProps> { | ||
1482 | span: 6, | 1482 | span: 6, |
1483 | }, | 1483 | }, |
1484 | labelWidth: 150, | 1484 | labelWidth: 150, |
1485 | - | ||
1486 | componentProps: { | 1485 | componentProps: { |
1487 | options: customerCode, | 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 | field: `midCheckResult`, | 1502 | field: `midCheckResult`, |
1492 | label: `中期验货结果`, | 1503 | label: `中期验货结果`, |