小小儁爺
2024-11-06 5dd20c609f767dfb5c78b3902e5e85457d0a0822
1.优化
已修改1个文件
24 ■■■■■ 文件已修改
src/views/workOrder/workOrderList.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/workOrder/workOrderList.vue
@@ -809,7 +809,6 @@
                placeholder="请输入工序单价"
                oninput="value=value.replace(/[^0-9.]/g,'')"
                style="width: 100%"
                @click=""
              />
            </template>
          </el-table-column>
@@ -2576,14 +2575,19 @@
            {
              stepcode: i,
              stepname: this.stepSelectArr.find(j => j.stepcode === i).stepname,
              stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : 0
              // stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : 0
              stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : ''
            }
          )
        })
      }
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
  },
  created() {
    this.handleRequest()
  },
  mounted() {
@@ -2910,7 +2914,7 @@
              {
                stepcode: i.step_code,
                stepname: i.stepname,
                stepprice: i.stepprice
                stepprice: i.stepprice === 0 ? '' : i.stepprice
              }
            )
          })
@@ -2927,7 +2931,7 @@
                {
                  stepcode: i.step_code,
                  // stepname: i.stepname,
                  stepprice: i.stepprice
                  stepprice: i.stepprice === 0 ? '' : i.stepprice
                }
              )
            })
@@ -2941,7 +2945,7 @@
              {
                stepcode: i.step_code,
                stepname: i.stepname,
                stepprice: i.stepprice
                stepprice: i.stepprice === 0 ? '' : i.stepprice
              }
            )
          })
@@ -2966,7 +2970,7 @@
          {
            stepcode: i.step_code,
            stepname: i.step_name,
            stepprice: i.unprice
            stepprice: i.unprice === 0 ? '' : i.unprice
          }
        )
      })
@@ -3025,7 +3029,7 @@
            {
              stepcode: i.step_code,
              // stepname: i.stepname,
              stepprice: i.unprice
              stepprice: i.unprice === 0 ? '' : i.unprice
            }
          )
        })
@@ -3053,7 +3057,7 @@
            {
              stepcode: i.step_code,
              // stepname: i.stepname,
              stepprice: i.stepprice
              stepprice: i.stepprice === 0 ? '' : i.stepprice
            }
          )
        })
@@ -3114,7 +3118,7 @@
              {
                stepseq: j + 1,
                stepcode: i.stepcode,
                stepprice: i.stepprice,
                stepprice: i.stepprice === '' ? 0 : parseFloat(i.stepprice),
                isbott: j === 0 ? 'Y' : 'N',
                isend: j === this.stepTableData.length - 1 ? 'Y' : 'N'
              }