| | |
| | | <span v-if="item.work==='y'" status="success" class="mart5">{{item.chineseName}}: 工作日; </span> |
| | | <span v-if="item.work==='n'" status="info" class="mart5">{{item.chineseName}}: 非工作日; </span> |
| | | </span> |
| | | <!-- <div v-for="(item, index) in JSON.parse(row.content.value).weekdays" :key="index"> |
| | | <vxe-tag v-if="item.work==='y'" status="success" class="mart5">{{item.chineseName}}: 工作日; </vxe-tag> |
| | | <vxe-tag v-if="item.work==='n'" status="info" class="mart5">{{item.chineseName}}: 非工作日; </vxe-tag> |
| | | </div> --> |
| | | </div> |
| | | <div v-if="row.type === '2'"> |
| | | <div>{{JSON.parse(row.content.value).holidays.startdate}}至{{JSON.parse(row.content.value).holidays.enddate}}</div> |
| | |
| | | { |
| | | title: "日历类型", |
| | | field: "type", |
| | | width: 150, |
| | | width: 200, |
| | | align: "center", |
| | | slots: { default: "status" }, |
| | | }, |
| | | { |
| | | title: "日历生效时间", |
| | | field: "effectiveDate", |
| | | width: 100, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "日历失效时间", |
| | | field: "expiringDate", |
| | | width: 150, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "日历内容", |
| | | field: "content", |
| | | width: 200, |
| | | width: 230, |
| | | align: "center", |
| | | slots: { default: "mark" }, |
| | | }, |
| | |
| | | { |
| | | title: '适用车间', |
| | | field: 'applicableWorkshop', |
| | | width: 150, |
| | | width: 200, |
| | | align: 'center', |
| | | formatter: (({ cellValue, row, column }) => { |
| | | |
| | |
| | | { |
| | | title: "适用工序", |
| | | field: "applicableProcess", |
| | | width: 90, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "创建者", |
| | | field: "createBy", |
| | | width: 90, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "创建时间", |
| | | field: "createTime", |
| | | width: 90, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { title: '操作', width: 100, fixed:"right", slots: { default: 'buttons' }, align: 'center' } |