chenlu
2025-04-10 30e2ad8ca10dd49901c52da26f166d32ee4e8454
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ComputeCard.vue
@@ -47,7 +47,10 @@
  columns:[
    {type: 'seq', title: t('basicData.Number'), width: 80},
    {field: 'check', title: '选择', width: 250, cellRender: checkboxCellRender },
    {field: "mq", title: '幕墙模式', width: 80, slots: { default: 'state' }},
    {field: "hp", title: '允许横排', width: 80, slots: { default: 'state' }},
    {field: "tempering", title: '钢化', width: 80, slots: { default: 'state' }},
    {field: 'process_id',width: 150, title: t('processCard.processId'), sortable: true},
    {field: 'technology_number',width: 70, title: '层', sortable: true},
    {field: 'TotalFloors',width: 150, title: '总层数', sortable: true},
@@ -207,6 +210,7 @@
  }
}
</script>
<template>
@@ -243,6 +247,15 @@
          </div>
        </div>
      </template>
      <template #state="{ row,column}">
        <el-checkbox
            v-if="row[column.field] === 1"
            :checked="true"/>
        <el-checkbox
            v-else
            :checked="false"/>
      </template>
    </vxe-grid>
  </div>
</template>