Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
| | |
| | | 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() |
| | |
| | | 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, |
| | |
| | | }, |
| | | |
| | | }) |
| | | 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%" |
| | |
| | | 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, |
| | |
| | | </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> |
| | |
| | | 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, |
| | |
| | | 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, |
| | |
| | | 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, |
| | |
| | | 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() |
| | |
| | | await emit('changeDialog', command) |
| | | } |
| | | |
| | | const treeData = [ |
| | | { |
| | | id: 1, |
| | | label: '树形菜单选项 1' |
| | | }, |
| | | { |
| | | id: 2, |
| | | label: '树形菜单选项 2' |
| | | }, |
| | | ] |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | </div> |
| | | <!--工程文件菜单--> |
| | | <el-dropdown @command="handleCommand"> |
| | | <el-button class="buttons" type="primary" :icon="Folder"> |
| | | <el-button type="primary" :icon="Folder"> |
| | | 工程文件 |
| | | </el-button> |
| | | <template #dropdown> |
| | |
| | | </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> |
| | |
| | | </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> |
| | |
| | | </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> |
| | |
| | | <el-button class="buttons" type="primary" :icon="Tickets"> |
| | | 报告 |
| | | </el-button> |
| | | <!--关于--> |
| | | <el-button class="buttons" type="primary" :icon="InfoFilled"> |
| | | 关于 |
| | | </el-button> |
| | | |
| | | </template> |
| | | </vxe-grid> |
| | | </div> |