gaoluyang
2024-07-24 b9571944843271681b16bbf9afa9d97697ed4ed0
检测中心-班次时间配置功能
已修改2个文件
5 ■■■■■ 文件已修改
src/components/tool/value-table.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b3-classes.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/value-table.vue
@@ -627,7 +627,7 @@
          if (this.isShowZero) {
            this.tableData.map(item => {
              Object.keys(item).forEach(val => {
                if (item[val] === null && val.includes('Hours')) {
                if (item[val] === null && (val.includes('Hours') || val === 'total')) {
                  item[val] = 0
                }
              })
src/components/view/b3-classes.vue
@@ -620,7 +620,8 @@
    getTimeList () {
      this.configTimeVisibleLoading = true
      this.$axios.post(this.$api.performanceShift.getList).then(res => {
        if (res.code === 200) {
        if (res.code == 201) return
        if (res.data.length > 0) {
          res.data.forEach(item => {
            item.isEdit = false
            item.time.push(item.startTime)