| | |
| | | import useOrderInfoStore from "@/stores/sd/order/orderInfo" |
| | | import {Printer} from "@element-plus/icons-vue/global"; |
| | | import SelectProcessCardDetail from "@/components/pp/SelectProcessCardDetail.vue"; |
| | | import OrderProcessCollect from "@/components/sd/order/OrderProcessCollect.vue"; |
| | | |
| | | //语言获取 |
| | | const {t} = useI18n() |
| | |
| | | |
| | | let productGlassTypeStore = useProductGlassTypeStore() |
| | | const dialogTableVisible = ref(false) |
| | | const dialogProcess = ref(false) |
| | | let router = useRouter() |
| | | let props = defineProps({ |
| | | rowIndex: {} |
| | |
| | | } |
| | | |
| | | }) |
| | | //流程卡进度用值 |
| | | let processVal = ref({ |
| | | orderId:null, |
| | | row: {}, |
| | | processId:null//用于后端数据返回,结果筛选 |
| | | }) |
| | | //定义页面总页数 |
| | | let pageTotal = ref('') |
| | | //定义数据返回结果 |
| | |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.total |
| | | produceList.value = produceList.value.concat(deepClone(res.data.data)) |
| | | console.log(produceList.value) |
| | | produceList.value.forEach(item => { |
| | | switch (item.layoutStatus) { |
| | | case "0": |
| | |
| | | |
| | | }) |
| | | } |
| | | |
| | | const onCellDblClick = ({ row, column }) => { |
| | | processVal.value.orderId = row.orderId |
| | | processVal.value.processId = row.processId |
| | | dialogProcess.value = true |
| | | }; |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | v-bind="gridOptions" |
| | | v-on="gridEvents" |
| | | @filter-change="filterChanged" |
| | | @cell-dblclick="onCellDblClick" |
| | | |
| | | > |
| | | <!-- @toolbar-button-click="toolbarButtonClickEvent"--> |
| | |
| | | |
| | | <el-dialog |
| | | id="sizePrintCalrd" |
| | | v-model="dialogProcess" |
| | | :title="$t('order.processCardCollect')" |
| | | destroy-on-close |
| | | style="width: 75%;height:75% "> |
| | | <order-process-collect |
| | | :orderId="processVal.orderId" |
| | | :processId="processVal.processId" |
| | | :row="processVal.row" |
| | | style="width: 100%;height: 100%" |
| | | /> |
| | | </el-dialog> |
| | | |
| | | <el-dialog |
| | | id="sizePrintCalrd" |
| | | v-model="dialogTableVisible" |
| | | :title="$t('processCard.combinedFrame')" |
| | | destroy-on-close |