Browse Source

fix:[模板管理]BL001、DJ002、DJ003优化

luojie
ZHANGTENG\张腾 3 weeks ago
parent
commit
c9c7e42176
6 changed files with 11 additions and 7 deletions
  1. +1
    -1
      src/components/Template/CustomTable.vue
  2. +1
    -1
      src/lang/en/template/dj.js
  3. +1
    -1
      src/lang/zh/template/dj.js
  4. +6
    -0
      src/views/business/comps/template/comps/bl/BL001.vue
  5. +1
    -2
      src/views/business/comps/template/comps/dj/DJ002.vue
  6. +1
    -2
      src/views/business/comps/template/comps/dj/DJ003.vue

+ 1
- 1
src/components/Template/CustomTable.vue View File

@ -91,7 +91,7 @@
{{ $t(col.label) }}
</div>
<template
v-if="col.bodyType === 'input' || col.bodyType === 'inputNumber' || col.bodyType === 'select' || col.bodyType === 'dateTimeRange' || col.bodyType === 'radio'">
v-if="col.bodyType === 'input' || col.bodyType === 'inputNumber' || col.bodyType === 'select' || col.bodyType === 'dateTimeRange' || col.bodyType === 'dateTime' || col.bodyType === 'radio'">
<div class="flex flex1">
<HandleFormItem :fieldKey="prefixKey + '_' + col.prop + '_' + row.id"
:fieldItemLabel="fieldItemLabel" :type="col.bodyType"

+ 1
- 1
src/lang/en/template/dj.js View File

@ -13,7 +13,7 @@ export default {
cyd: '采样点',
ypmc: '样品名称',
dwbh: '动物编号',
cysj: '采样时间',
cysj: '采样开始时间',
sjbd: '时间比对',
sjbd: '时间比对',
yps: '样品数',

+ 1
- 1
src/lang/zh/template/dj.js View File

@ -13,7 +13,7 @@ export default {
cyd: '采样点',
ypmc: '样品名称',
dwbh: '动物编号',
cysj: '采样时间',
cysj: '采样开始时间',
sjbd: '时间比对',
sjbd: '时间比对',
yps: '样品数',

+ 6
- 0
src/views/business/comps/template/comps/bl/BL001.vue View File

@ -276,6 +276,7 @@ export default {
prop: "yps",
bodyType: 'inputNumber',
bodyFillType: 'actFill',
bodyDisabled: true,
width: 180,
},
]
@ -315,6 +316,7 @@ export default {
}
},
mounted() {
console.log(this.getFilledFormData(),111)
this.getTabletoCheck()
},
methods: {
@ -375,6 +377,10 @@ export default {
this.ypmcTaOptions = firstList;
})
},
//
changeTree(rowIndex, colIndex, value, row, type){
console.log(rowIndex, colIndex, value, row, type,9999)
},
}
}
</script>

+ 1
- 2
src/views/business/comps/template/comps/dj/DJ002.vue View File

@ -242,8 +242,7 @@ export default {
{
label: 'template.dj.dj003.cysj',
prop: "cysj",
bodyType: 'dateTimeRange',
width: 450,
bodyType: 'dateTime',
bodyFillType: 'actFill'
},
{

+ 1
- 2
src/views/business/comps/template/comps/dj/DJ003.vue View File

@ -198,8 +198,7 @@ export default {
{
label: 'template.dj.dj003.cysj',
prop: "cysj",
bodyType: 'dateTimeRange',
width: 450,
bodyType: 'dateTime',
bodyFillType: 'actFill'
},
{

Loading…
Cancel
Save