Browse Source

feat:[模板管理][update]

luojie
luojie 3 weeks ago
parent
commit
8891a93113
10 changed files with 17 additions and 5 deletions
  1. +3
    -0
      src/components/Template/StepComponents/jcb/jzks.vue
  2. +1
    -0
      src/components/Template/mixins/stepMixins.js
  3. +2
    -1
      src/views/business/comps/template/comps/dl/DL010.vue
  4. +2
    -1
      src/views/business/comps/template/comps/lba/LBA008.vue
  5. +2
    -1
      src/views/business/comps/template/comps/pcr/PCR005.vue
  6. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR007.vue
  7. +2
    -1
      src/views/business/comps/template/comps/pcr/PCR009.vue
  8. +2
    -1
      src/views/business/comps/template/comps/pcr/PCR011.vue
  9. +1
    -0
      src/views/business/comps/template/comps/yp/YP003.vue
  10. +1
    -0
      src/views/business/comps/template/comps/yp/YP005.vue

+ 3
- 0
src/components/Template/StepComponents/jcb/jzks.vue View File

@ -19,6 +19,9 @@ export default {
components: {
StepFormPackage
},
mounted() {
console.log(this.getStepData(),"getStepData()")
},
computed: {
formConfig() {
let config = [{

+ 1
- 0
src/components/Template/mixins/stepMixins.js View File

@ -4,6 +4,7 @@ import { getLatestSn, getLatestSnArr } from '@/api/template'
export default {
inject: {
templateFillType: { default: 'preFill' },
getStepData: { default: () => null },
getMybh: { default: () => null }
},
dicts: [

+ 2
- 1
src/views/business/comps/template/comps/dl/DL010.vue View File

@ -426,7 +426,8 @@ export default {
sjlhnzsjyjrl: '', // 0.9%
sjgs: '', //
lx: '', //
sjjrxq: '' //
sjjrxq: '', //
id: this.getuuid()
}
})

+ 2
- 1
src/views/business/comps/template/comps/lba/LBA008.vue View File

@ -247,7 +247,8 @@ export default {
list.push({
dwbh: item[0],
zzlx: item[1],
targetStartSolutionVolumePrecision: 3
targetStartSolutionVolumePrecision: 3,
id:this.getuuid(),
})
})
this.$refs.stepTableRef.addRows(list)

+ 2
- 1
src/views/business/comps/template/comps/pcr/PCR005.vue View File

@ -256,7 +256,8 @@ export default {
sxbs: item[2],
ysypxytj: item[3],
targetDiluentVolumePrecision: 3,
actSolutionVolumePrecision: 3
actSolutionVolumePrecision: 3,
id:this.getuuid(),
})
})
this.$refs.stepTableRef.addRows(list)

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR007.vue View File

@ -211,6 +211,7 @@ export default {
list.push({
ypmc: item[0],
cyqypgsjyjtjtj: item[1],
id:this.getuuid(),
})
})
this.$refs.stepTableRef.addRows(list)

+ 2
- 1
src/views/business/comps/template/comps/pcr/PCR009.vue View File

@ -252,7 +252,8 @@ export default {
list.push({
ypmc: item[0],
zzz: item[1],
targetStartSolutionVolumePrecision: 3
targetStartSolutionVolumePrecision: 3,
id:this.getuuid(),
})
})
this.$refs.stepTableRef.addRows(list)

+ 2
- 1
src/views/business/comps/template/comps/pcr/PCR011.vue View File

@ -227,7 +227,8 @@ export default {
excelData.forEach(item => {
list.push({
ypmc: item[0],
targetStartSolutionVolumePrecision: 3
targetStartSolutionVolumePrecision: 3,
id:this.getuuid(),
})
})
this.$refs.stepTableRef.addRows(list)

+ 1
- 0
src/views/business/comps/template/comps/yp/YP003.vue View File

@ -251,6 +251,7 @@ export default {
return {
checked: undefined,
tagValue: item[0],
id:this.getuuid(),
}
})
this.$refs.tableRef.updateDataSourceByRowIndex(this.currentRowIndex, { dwbh: tagData });

+ 1
- 0
src/views/business/comps/template/comps/yp/YP005.vue View File

@ -271,6 +271,7 @@ export default {
return {
checked:undefined,
tagValue:item[0],
id:this.getuuid(),
}
})
this.$refs.tableRef.updateDataSourceByRowIndex(this.currentRowIndex,{zz:tagData});

Loading…
Cancel
Save