NNowhZzU
2023-12-27 af366f9fa67bd6eaca2731783766ef3954b5a1bf
north-glass-erp/northglass-erp/src/views/pp/rework/Rework.vue
@@ -7,35 +7,19 @@
import {useRouter} from "vue-router";
import  GlassType from '@/components/basic/product/GlassType.vue'
const router = useRouter()
let flag = $ref(true)
let flag1 = $ref(true)
function intoRelease(){
  if(flag){
    router.push('/main/rework/AddRework')
  }else {
    router.push('/main/rework/SelectRework')
  }
  flag=!flag
let indexFlag=$ref(1)
function changeRouter(index){
  indexFlag=index
}
// function intoAddWorkOrder(){
//   if(flag1){
//     router.push('/main/Replenish/PrintReplenishFlowCard')
//   }else {
//     router.push('/main/Replenish/SelectReplenish')
//   }
//   flag1=!flag1
// }
</script>
<template>
  <div id="main">
    <div id="div-title">
      <el-breadcrumb :separator-icon="ArrowRight">
        <el-breadcrumb-item :to="{ path: '/main/rework/SelectRework' }">返工管理</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: '/main/rework/AddRework' }">返工新增</el-breadcrumb-item>
        <el-breadcrumb-item @click="changeRouter(1)" :class="indexFlag===1?'indexTag':''" :to="{ path: '/main/rework/SelectRework' }">返工管理</el-breadcrumb-item>
        <el-breadcrumb-item @click="changeRouter(2)" :class="indexFlag===2?'indexTag':''" :to="{ path: '/main/rework/AddRework' }">返工新增</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: '/main/processCard/SelectPrintFlowCard' }" style="display: none">打印</el-breadcrumb-item>
      </el-breadcrumb>
    </div>
@@ -47,6 +31,9 @@
</template>
<style scoped>
:deep(.indexTag .el-breadcrumb__inner){
  color: #5CADFE !important;
}
#main{
  width: 100%;
  height: 100%;