zhanghl
2025-04-17 9c7185b3a7edd01aaedc2605df20a1c4495b0d3c
Merge remote-tracking branch 'origin/dev' into dev
已修改2个文件
13 ■■■■ 文件已修改
src/views/mainPlan/apsPartRoutStat/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/weldSeam/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/apsPartRoutStat/index.vue
@@ -40,6 +40,7 @@
const gridOptions = reactive({
  border: true,
  stripe: true,
  loading: false,
  showOverflow: true,
  showHeaderOverflow: true,
src/views/mainPlan/weldSeam/index.vue
@@ -226,7 +226,8 @@
    title: '生产基地',
    field: 'productionBase',
    width: 150, 
    fixed: 'left'
    fixed: 'left',
    type: 'html'
  },
  {
    title: '订单需求',
@@ -275,6 +276,7 @@
    title: '是否满足',
    field: 'isSatisfy',
    width: 150,
    type: 'html'
  },
  { title: '操作', width: 100, fixed:"right", slots: { default: 'buttons' } }
]);
@@ -452,9 +454,9 @@
function getList() {
  loading.value = true;
  query(queryParams.value).then(response => {
    dataList.value = response.rows;
    let responseData = response.rows;
    // exportData.value = response.rows;
    dataList.value.forEach(item=>{
    responseData.forEach(item=>{
      let data = [];
      data.push(item.year);
      data.push(item.month);
@@ -469,8 +471,12 @@
      data.push(item.requirementDayWeldSeam);
      data.push(item.productionDayWeldSeam);
      data.push(item.isSatisfy);
      item.productionBase = item.isSatisfy === '否' ? `<div class='el-badge'><sup class="el-badge__content is-fixed is-dot" style="right: 2px; top: 2px;"></sup>${item.productionBase}</div>` : item.productionBase
      item.isSatisfy = item.isSatisfy === '否' ? `<font color='red'>${item.isSatisfy}</font>` : item.isSatisfy
      exportData.value.push(data);
    })
    dataList.value = responseData;
    loading.value = false;
  });
}