Crunchy
2024-05-23 196c31f1f040c315de09a6808fc9cd63c63f9950
src/components/view/b2-standard-template.vue
@@ -167,8 +167,11 @@
            this.addPower = add
         },
         templateWrite(row) {
            this.isShow = true
            this.row = row
            this.$axios.get(this.$api.StandardTemplate.getEditTemplatePreparation + '?id=' + row.id).then(res => {
               this.row = row
               this.row.thing = res.data
               this.isShow = true
            })
         },
         closed() {
            this.loading = true
@@ -196,7 +199,7 @@
               }
            }
        data.data[0].celldata.forEach(a=>{
          if(a.v.ps!=undefined&&a.v.ps.value==='检验值'){
          if(a.v.ps!=undefined&&(a.v.ps.value==='检验值' || a.v.ps.value==='设备名称' || a.v.ps.value==='设备编码' || a.v.ps.value==='结论')){
            if(a.v.v === undefined){
              a.v.v = ""
            }