小小儁爺
2026-01-22 519f571634e66a541a40cf9694d933552a0f3802
1.看板部署2.存货绑定工艺路线弹出框显示默认选中的
已重命名1个文件
已复制1个文件
已修改5个文件
87 ■■■■ 文件已修改
src/permission.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kanbanManager/ckgl.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kanbanManager/jghjcj.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kanbanManager/zpcj.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/materialManager/inventoryList.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/qualityManager/processCheck.vue 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/permission.js
@@ -9,7 +9,7 @@
NProgress.configure({ showSpinner: false }) // NProgress Configuration
const whiteList = ['/login', '/zhkb', '/cj', '/ckgl'] // no redirect whitelist
const whiteList = ['/login', '/zhkb', '/zpcj', '/jghjcj', '/ckgl'] // no redirect whitelist
router.beforeEach(async(to, from, next) => {
  // start progress bar
src/router/index.js
@@ -40,8 +40,12 @@
    component: () => import('@/views/kanbanManager/zhkb'),
    hidden: true
  }, {
    path: '/cj',
    component: () => import('@/views/kanbanManager/cj'),
    path: '/zpcj',
    component: () => import('@/views/kanbanManager/zpcj'),
    hidden: true
  }, {
    path: '/jghjcj',
    component: () => import('@/views/kanbanManager/jghjcj'),
    hidden: true
  }, {
    path: '/ckgl',
src/views/kanbanManager/ckgl.vue
@@ -425,22 +425,22 @@
    // èŽ·å–echarts
    getEcharts() {
      ProcureOutsourcRightTop().then(res => {
        loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
        loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name + i.specification)))
      })
      ProductionStockedInRightBottom().then(res => {
        loadEcharts('bar04', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
        loadEcharts('bar04', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name + i.specification)))
      })
      this.echartsRightTop = setInterval(() => {
        ProcureOutsourcRightTop().then(res => {
          loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
          loadEcharts('bar03', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name + i.specification)))
        })
      }, 1000 * 15)
      this.echartsRightBottom = setInterval(() => {
        ProductionStockedInRightBottom().then(res => {
          loadEcharts('bar04', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name)))
          loadEcharts('bar04', bar02(res.data.filter(i => i.qty > 0).map(i => i.qty), res.data.filter(i => i.qty > 0).map(i => i.materiel_name + i.specification)))
        })
      }, 1000 * 15)
    },
src/views/kanbanManager/jghjcj.vue
copy from src/views/kanbanManager/cj.vue copy to src/views/kanbanManager/jghjcj.vue
Îļþ´Ó src/views/kanbanManager/cj.vue ¸´ÖÆ
@@ -9,8 +9,8 @@
          <span>浙江阿鲁克健身器材有限公司</span>
        </div>
        <div class="kb_headTime kb_header_text" style="top: 35px;left:  828px">
          <span>车间数字化看板</span>
        <div class="kb_headTime kb_header_text" style="top: 35px;left:  772px">
          <span>金工焊接车间数字化看板</span>
        </div>
        <div class="kb_headTime" style="top: 35px;right:  25px">
@@ -152,7 +152,7 @@
  },
  methods: {
    async getWorkShopProduceTopData() {
      WorkShopProduceTopData({ wkshopcode: '1' }).then(res => {
      WorkShopProduceTopData({ wkshopcode: '02,03' }).then(res => {
        const flag = this.compareArrays(this.configTableTop.data, res.data)
        if (!flag) {
          this.configTableTop.data = res.data.map(i =>
@@ -189,14 +189,15 @@
        // { code: '04', name: '喷漆' },
        // { code: '05', name: '组装成品' }
        { code: '1', name: '生产部' }
        { code: '02', name: '金工车间' },
        { code: '03', name: '焊接车间' }
      ]
      const res4 = await WorkShopProduceBottomLeftData({ wkshopcode: temp.map(i => i.code).join(',') })
      // this.cjzl03_xData = res4.data['101,001'].map(i => i.click_date)
      // this.cjzl03_yData = res4.data['101,001'].map(i => i.count)
      const a = res4.data['1'].map(i => i.click_date) // echarts横坐标
      const a = res4.data['004'].map(i => i.click_date) // echarts横坐标
      const b = temp.map(i => i.name)// legendData值
      const c = [
        // res4.data['01'].map(i => i.count),
@@ -204,7 +205,7 @@
        // res4.data['03'].map(i => i.count),
        // res4.data['04'].map(i => i.count),
        // res4.data['05'].map(i => i.count)
        res4.data['1'].map(i => i.count)
        res4.data['004'].map(i => i.count)
      ]// çºµåæ ‡å€¼
      loadEcharts('cjzl03', cjzl03(a, b, c))
@@ -223,7 +224,8 @@
        // { code: '04', name: '喷漆' },
        // { code: '05', name: '组装成品' }
        { code: '1', name: '生产部' }
        { code: '02', name: '金工车间' },
        { code: '03', name: '焊接车间' }
      ]
      const res5 = await WorkShopProduceBottomRightData({ wkshopcode: temp.map(i => i.code).join(',') })
      this.RightBottom = res5.data
src/views/kanbanManager/zpcj.vue
ÎļþÃû´Ó src/views/kanbanManager/cj.vue ÐÞ¸Ä
@@ -9,8 +9,8 @@
          <span>浙江阿鲁克健身器材有限公司</span>
        </div>
        <div class="kb_headTime kb_header_text" style="top: 35px;left:  828px">
          <span>车间数字化看板</span>
        <div class="kb_headTime kb_header_text" style="top: 35px;left:  800px">
          <span>装配车间数字化看板</span>
        </div>
        <div class="kb_headTime" style="top: 35px;right:  25px">
@@ -152,7 +152,7 @@
  },
  methods: {
    async getWorkShopProduceTopData() {
      WorkShopProduceTopData({ wkshopcode: '1' }).then(res => {
      WorkShopProduceTopData({ wkshopcode: '004' }).then(res => {
        const flag = this.compareArrays(this.configTableTop.data, res.data)
        if (!flag) {
          this.configTableTop.data = res.data.map(i =>
@@ -189,14 +189,14 @@
        // { code: '04', name: '喷漆' },
        // { code: '05', name: '组装成品' }
        { code: '1', name: '生产部' }
        { code: '004', name: '装配车间' }
      ]
      const res4 = await WorkShopProduceBottomLeftData({ wkshopcode: temp.map(i => i.code).join(',') })
      // this.cjzl03_xData = res4.data['101,001'].map(i => i.click_date)
      // this.cjzl03_yData = res4.data['101,001'].map(i => i.count)
      const a = res4.data['1'].map(i => i.click_date) // echarts横坐标
      const a = res4.data['004'].map(i => i.click_date) // echarts横坐标
      const b = temp.map(i => i.name)// legendData值
      const c = [
        // res4.data['01'].map(i => i.count),
@@ -204,7 +204,7 @@
        // res4.data['03'].map(i => i.count),
        // res4.data['04'].map(i => i.count),
        // res4.data['05'].map(i => i.count)
        res4.data['1'].map(i => i.count)
        res4.data['004'].map(i => i.count)
      ]// çºµåæ ‡å€¼
      loadEcharts('cjzl03', cjzl03(a, b, c))
@@ -223,7 +223,7 @@
        // { code: '04', name: '喷漆' },
        // { code: '05', name: '组装成品' }
        { code: '1', name: '生产部' }
        { code: '004', name: '装配车间' }
      ]
      const res5 = await WorkShopProduceBottomRightData({ wkshopcode: temp.map(i => i.code).join(',') })
      this.RightBottom = res5.data
src/views/materialManager/inventoryList.vue
@@ -1701,10 +1701,9 @@
            // let waitFlag = false// å›žæ˜¾ç­‰å¾…是否放行
            this.dialogFormRoute.routeOperationArr.forEach((item, index) => {
              item.isSelected1 = false
              item.isSelected1 = this.defaultroute_code === item.code
              item.isSelected2 = false
              if (index === 0) {
                item.isSelected1 = true
              if (item.isSelected1) {
                this.projectTableData = item.Data
              }
              if (item.flag === 'Y') {
src/views/qualityManager/processCheck.vue
@@ -74,7 +74,21 @@
          </div>
        </div>
        <div class="content2" style="width: 60%;margin-left: 30px;">
          <div class="orderMsg">方案名称:{{ form.checkstandname }}</div>
          <div class="orderMsg">方案名称:
            <el-select
              v-model="form.checkstandcode"
              placeholder="请选择"
              @change="selectChange"
            >
              <el-option
                v-for="item in checkstandArr"
                :key="item.checkstandcode"
                :label="item.checkstandname"
                :value="item.checkstandcode"
              />
            </el-select>
          </div>
          <!--          <div class="orderMsg">方案名称:{{ form.checkstandname }}</div>-->
          <div class="orderMsg">抽样方式:{{
            form.sampmethod === 'FIXED' ? '固时抽检' : form.sampmethod === 'SCARE' ? '比例抽检' : ''
          }}
@@ -307,7 +321,9 @@
      stepActive: 0, // å½“前处于第几件
      checkItemArr: [],
      check_result: ''
      check_result: '',
      checkstandArr: []
    }
  },
@@ -344,6 +360,18 @@
    this.getFocus()
  },
  methods: {
    // ä¸‹æ‹‰åˆ‡æ¢
    async  selectChange(val) {
      this.stepActive = 0
      const t = this.checkstandArr.find(i => i.checkstandcode === val)
      this.form.sampmethod = t.sampmethod
      this.form.sampscare = t.sampmethod === 'FIXED' ? t.sampscare : Math.ceil(this
        .form.good_qty * t.sampscare / 100)
      this.form.sampscare = this.form.sampscare <= this.form.good_qty ? this.form.sampscare : this.form.good_qty
      await this.getMesOrderStepCheckItemList()
    },
    // èŽ·å–èšç„¦
    getFocus() {
      this.$nextTick(() => {
@@ -365,6 +393,8 @@
      this.form.stepname = res.labcont[0].stepname
      this.form.good_qty = res.labcont[0].good_qty
      this.checkstandArr = res.chekstand
      this.form.checkstandcode = res.chekstand[0].checkstandcode
      this.form.checkstandname = res.chekstand[0].checkstandname
      this.form.sampmethod = res.chekstand[0].sampmethod