| | |
| | | |
| | | //获取七天前到当前时间 |
| | | function getNowTime() { |
| | | const start = new Date(new Date().getTime() - 3600 * 1000 * 24 * 7) |
| | | const start = new Date(new Date().getTime() - 3600 * 1000 * 24 * 10) |
| | | .toISOString() |
| | | .replace('T', ' ') |
| | | .slice(0, 10) //默认开始时间7天前 |
| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'SelectPrintFlowCard', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged |
| | | }, |
| | | {field: 'customer_name', title: t('processCard.customerName'), filters: [{data: ''}], slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged, width: 110}, |
| | | |
| | | { |
| | | field: 'project', |
| | | title: t('order.project'), |
| | |
| | | |
| | | toolbarConfig: { |
| | | buttons: [ |
| | | {'code': 'titleStyle', 'name': '标签样式',status: 'primary'} |
| | | {'code': 'titleStyle', 'name': t('processCard.labelStyle'),status: 'primary'} |
| | | ], |
| | | |
| | | zoom: true, |
| | |
| | | </vxe-grid> |
| | | <el-dialog |
| | | id="titleStyle" |
| | | :title="'标签样式'" |
| | | :title="$t('processCard.labelStyle')" |
| | | style="width: 70%;height:70% " |
| | | :close-on-click-modal="false" |
| | | :close-on-press-escape="false" |