guoyuji
2024-11-08 b0c0f18e390e729817c97ca2b375a2fd1e2ed9a1
Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
6个文件已修改
161 ■■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/ProjectMange.vue 93 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/Compute.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ComputeCard.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ComputeDetail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ProcessCardDetail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ProjectDetail.vue 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/ProjectMange.vue
@@ -2,6 +2,9 @@
import {reactive, ref} from "vue";
import {useI18n} from "vue-i18n";
import {Search} from "@element-plus/icons-vue";
import {ElDatePicker} from "element-plus";
import useOrderInfoStore from "@/stores/sd/order/orderInfo";
const { t } = useI18n()
const xGrid = ref()
@@ -13,7 +16,7 @@
  align: 'center',//文字居中
  stripe:true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true,height: 30, useKey: true},//鼠标移动或选择高亮
  id: 'GlassInventory',
  id: 'ProjectMange',
  scrollX:{enabled: true},
  scrollY:{ enabled: true ,gt:0},//开启虚拟滚动
  showOverflow:true,
@@ -87,28 +90,84 @@
  },
})
const startDate = ref(null);
const endDate = ref(null);
const oderInfo = useOrderInfoStore()
//定义工程状态
const optionVal = ref('0')
const options = [
  {
    value: '0',
    label: '全部',
  },
  {
    value: '1',
    label: '1',
  },
  {
    value: '2',
    label: '2',
  },
  {
    value: '3',
    label: '10',
  },
  {
    value: '4',
    label: '20',
  },
  {
    value: '5',
    label: '100',
  },
  {
    value: '6',
    label: '200',
  },
]
</script>
<template>
    <div id="mange">
      <span>优化日期</span>
      <vxe-date-picker v-model="startDate" style="margin-left: 20px"></vxe-date-picker>
      <vxe-date-picker v-model="endDate" style="margin-left: 10px"></vxe-date-picker>
      <div id="select">
        <span>优化日期</span>
        <el-date-picker
            style="margin-left:10px; margin-top: -5px; "
            v-model="oderInfo.mangeDate"
            type="daterange"
            format="YYYY/MM/DD"
            value-format="YYYY-MM-DD"
            :start-placeholder="$t('basicData.startDate')"
            :end-placeholder="$t('basicData.endDate')"
            :default-time="defaultTime"
      <!-- 工程状态选择框 -->
      <vxe-select style="margin-left: 30px">
        <vxe-option value="">全部</vxe-option>
        <vxe-option value="">1</vxe-option>
        <vxe-option value="">2</vxe-option>
        <vxe-option value="">10</vxe-option>
        <vxe-option value="">20</vxe-option>
        <vxe-option value="">100</vxe-option>
        <vxe-option value="">200</vxe-option>
      </vxe-select>
        />
        <el-select
            style="margin-left:10px; margin-top: -5px; "
            :default-first-option="true"
            ref="getSelect"
            v-model="optionVal"
            class="m-2"
            @change="getWorkOrder"
              >
      <el-button type="primary" :icon="Search" style="margin-left:10px;margin-top: -5px">查询</el-button>
          <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
          />
        </el-select>
        <el-button
            style="margin-left:10px;margin-top: -5px"
            @click="searchByDateRange"
            type="primary" :icon="Search">
          查询
        </el-button>
      </div>
      <vxe-grid
          @filter-change="filterChanged"
          height="100%"
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/Compute.vue
@@ -15,7 +15,7 @@
  align: 'center',//文字居中
  stripe: true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true, height: 30, useKey: true},//鼠标移动或选择高亮
  id: 'ProcessCard-Detail',
  id: 'Compute',
  scrollX: {enabled: true},
  scrollY: {enabled: true, gt: 0},//开启虚拟滚动
  showOverflow: true,
@@ -124,7 +124,12 @@
      </span>
      <span style="float: right ; margin-right: 120px">
        工程混排等级
      <vxe-select size="small" style="margin-left: 20px"></vxe-select>
      <vxe-select size="small" style="margin-left: 20px">
        <vxe-option value="null" >不混排</vxe-option>
        <vxe-option value="null" >轻度混排</vxe-option>
        <vxe-option value="null" >中度混排</vxe-option>
        <vxe-option value="null" >高度混排</vxe-option>
      </vxe-select>
      <el-button type="primary" style="margin-left: 20px">模拟计算</el-button>
      <el-button type="primary" style="margin-left: 50px">保存</el-button>
      </span><br>
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ComputeCard.vue
@@ -14,7 +14,7 @@
  align: 'center',//文字居中
  stripe:true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true,height: 30, useKey: true},//鼠标移动或选择高亮
  id: 'ProcessCard',
  id: 'ComputeCard',
  scrollX:{enabled: true},
  scrollY:{ enabled: true ,gt:0},//开启虚拟滚动
  showOverflow:true,
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ComputeDetail.vue
@@ -13,7 +13,7 @@
  align: 'center',//文字居中
  stripe:true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true,height: 30, useKey: true},//鼠标移动或选择高亮
  id: 'ProcessCard-Detail',
  id: 'ComputeDetail',
  scrollX:{enabled: true},
  scrollY:{ enabled: true ,gt:0},//开启虚拟滚动
  showOverflow:true,
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ProcessCardDetail.vue
@@ -13,7 +13,7 @@
  align: 'center',//文字居中
  stripe:true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true,height: 30, useKey: true},//鼠标移动或选择高亮
  id: 'ProcessCard-Detail',
  id: 'ProcessCardDetail',
  scrollX:{enabled: true},
  scrollY:{ enabled: true ,gt:0},//开启虚拟滚动
  showOverflow:true,
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/ProjectDetail.vue
@@ -11,7 +11,7 @@
  Grid,
  Edit,
  Printer,
  DocumentAdd, Minus, Menu, Warning, Checked, Upload, Suitcase, Refresh, CircleCloseFilled, Sort, Link, InfoFilled
  DocumentAdd, Minus, Menu,  Checked, Upload, Suitcase, Refresh, CircleCloseFilled, Sort, Link ,
} from "@element-plus/icons-vue";
const {t} = useI18n()
@@ -172,17 +172,6 @@
  await emit('changeDialog', command)
}
const treeData = [
  {
    id: 1,
    label: '树形菜单选项 1'
  },
  {
    id: 2,
    label: '树形菜单选项 2'
  },
]
</script>
<template>
@@ -231,7 +220,7 @@
        </div>
        <!--工程文件菜单-->
        <el-dropdown @command="handleCommand">
          <el-button class="buttons" type="primary" :icon="Folder">
          <el-button  type="primary" :icon="Folder">
            工程文件
          </el-button>
          <template #dropdown>
@@ -251,10 +240,10 @@
          </el-button>
          <template #dropdown>
            <el-dropdown-menu>
              <el-dropdown-item :command="1" :icon="Printer">打印优化版图</el-dropdown-item>
              <el-dropdown-item :command="2" :icon="Tickets">打印优化报告</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="DocumentCopy">合并打印</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Grid">缩略图</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Printer">打印优化版图</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Tickets">打印优化报告</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="DocumentCopy">合并打印</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Grid">缩略图</el-dropdown-item>
            </el-dropdown-menu>
          </template>
        </el-dropdown>
@@ -265,15 +254,14 @@
          </el-button>
          <template #dropdown>
            <el-dropdown-menu>
              <el-dropdown-item :command="1" :icon="Edit">全部重排</el-dropdown-item>
              <el-dropdown-item :command="2" :icon="DocumentAdd">新增版面</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Plus">增加加工次数</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Minus">删除版面</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Menu">镜像当前版面</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Grid">镜像所以版面</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Checked">保存修改</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Upload">导出剩余小片</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Warning">操作提示</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Edit">全部重排</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="DocumentAdd">新增版面</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Plus">增加加工次数</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Minus">删除版面</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Menu">镜像当前版面</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Grid">镜像所以版面</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Checked">保存修改</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Upload">导出剩余小片</el-dropdown-item>
            </el-dropdown-menu>
          </template>
        </el-dropdown>
@@ -284,10 +272,10 @@
          </el-button>
          <template #dropdown>
            <el-dropdown-menu>
              <el-dropdown-item :command="1" :icon="Refresh">刷新刀路</el-dropdown-item>
              <el-dropdown-item :command="2" :icon="Link">截断连续线</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="CircleCloseFilled">删除刀路</el-dropdown-item>
              <el-dropdown-item :command="3" :icon="Sort">当前刀路反向</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Refresh">刷新刀路</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Link">截断连续线</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="CircleCloseFilled">删除刀路</el-dropdown-item>
              <el-dropdown-item :command="null" :icon="Sort">当前刀路反向</el-dropdown-item>
            </el-dropdown-menu>
          </template>
        </el-dropdown>
@@ -299,11 +287,6 @@
        <el-button class="buttons" type="primary" :icon="Tickets">
          报告
        </el-button>
        <!--关于-->
        <el-button class="buttons" type="primary" :icon="InfoFilled">
          关于
        </el-button>
      </template>
    </vxe-grid>
  </div>