Browse Source

feat:[模板管理][update]

luojie
luojie 1 week ago
parent
commit
7ad955fed1
14 changed files with 28 additions and 36 deletions
  1. +2
    -2
      src/components/Template/StepComponents/jcb/fyxks.vue
  2. +2
    -2
      src/components/Template/StepComponents/jcb/ycfyks.vue
  3. +2
    -2
      src/components/Template/StepComponents/pcr/lx.vue
  4. +2
    -2
      src/components/Template/StepComponents/pcr/lxdy.vue
  5. +2
    -2
      src/components/Template/StepComponents/pcr/sy_pcr.vue
  6. +2
    -2
      src/components/Template/StepComponents/qxwdx/qxlx.vue
  7. +2
    -2
      src/components/Template/StepComponents/ry/dc.vue
  8. +2
    -2
      src/components/Template/StepComponents/ry/hwhy.vue
  9. +2
    -2
      src/components/Template/StepComponents/ry/jrjb.vue
  10. +2
    -2
      src/components/Template/StepComponents/ry/lx.vue
  11. +2
    -2
      src/components/Template/StepComponents/ry/sy.vue
  12. +2
    -2
      src/components/Template/StepComponents/xbjzpz/fr_xbjzpz.vue
  13. +2
    -10
      src/views/business/comps/template/comps/sp/SP00456.vue
  14. +2
    -2
      src/views/business/comps/template/formConfig/xb/xb001.js

+ 2
- 2
src/components/Template/StepComponents/jcb/fyxks.vue View File

@ -39,7 +39,7 @@ export default {
type: "text",
},
temp: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -47,7 +47,7 @@ export default {
type: "text",
},
actTemp: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo: "temp",
copyFrom: "temp",

+ 2
- 2
src/components/Template/StepComponents/jcb/ycfyks.vue View File

@ -69,7 +69,7 @@ export default {
type: "text",
},
rm: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text5: {
@ -77,7 +77,7 @@ export default {
type: "text",
},
rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"

+ 2
- 2
src/components/Template/StepComponents/pcr/lx.vue View File

@ -51,7 +51,7 @@ export default {
type: "text",
},
rm: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -59,7 +59,7 @@ export default {
type: "text",
},
rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"

+ 2
- 2
src/components/Template/StepComponents/pcr/lxdy.vue View File

@ -35,7 +35,7 @@ export default {
type: "text",
},
rm: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -43,7 +43,7 @@ export default {
type: "text",
},
rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"

+ 2
- 2
src/components/Template/StepComponents/pcr/sy_pcr.vue View File

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
temp:{
type:"inputNumber",
type:"input",
fillType:"preFill",
},
text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill",
compareTo:"temp",
copyFrom:"temp",

+ 2
- 2
src/components/Template/StepComponents/qxwdx/qxlx.vue View File

@ -43,7 +43,7 @@ export default {
type: "text",
},
rm: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -51,7 +51,7 @@ export default {
type: "text",
},
rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"

+ 2
- 2
src/components/Template/StepComponents/ry/dc.vue View File

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
temp:{
type:"inputNumber",
type:"input",
fillType:"preFill",
},
text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill",
compareTo:"temp",
copyFrom:"temp",

+ 2
- 2
src/components/Template/StepComponents/ry/hwhy.vue View File

@ -36,7 +36,7 @@ export default {
type: "text",
},
yjzs: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -44,7 +44,7 @@ export default {
type: "text",
},
sjwd: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo: "yjzs",
copyFrom: "yjzs"

+ 2
- 2
src/components/Template/StepComponents/ry/jrjb.vue View File

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
yjwd:{
type:"inputNumber",
type:"input",
fillType:"preFill",
},
text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
sjwd:{
type:"inputNumber",
type:"input",
fillType:"actFill",
compareTo:"yjwd",
copyFrom:"yjwd"

+ 2
- 2
src/components/Template/StepComponents/ry/lx.vue View File

@ -35,7 +35,7 @@ export default {
type: "text",
},
rm: {
type: "inputNumber",
type: "input",
fillType: "preFill",
},
text3: {
@ -43,7 +43,7 @@ export default {
type: "text",
},
rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"

+ 2
- 2
src/components/Template/StepComponents/ry/sy.vue View File

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
temp:{
type:"inputNumber",
type:"input",
fillType:"preFill",
},
text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill",
compareTo:"temp",
copyFrom:"temp",

+ 2
- 2
src/components/Template/StepComponents/xbjzpz/fr_xbjzpz.vue View File

@ -35,7 +35,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
temp:{
type:"inputNumber",
type:"input",
fillType:"preFill",
},
text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text",
},
actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill",
compareTo:"temp",
copyFrom:"temp",

+ 2
- 10
src/views/business/comps/template/comps/sp/SP00456.vue View File

@ -27,7 +27,7 @@
</CustomTable>
</div>
<LineLabel :label="getOperationStepsLabel()" />
<div v-if="fillType === 'preFill' && !isPcr234 && !isGsp" class="mt-20">
<div v-if="fillType === 'preFill' && !isPcr234" class="mt-20">
<el-button type="primary" @click="handleAddConfig('paralleConfigs')">{{
$t('template.common.xzpxpz')
}}</el-button>
@ -35,11 +35,7 @@
$t('template.common.xzjtpz')
}}</el-button>
</div>
<div v-else-if="fillType === 'preFill' && isGsp" class="mt-20">
<el-button type="primary" @click="handleAddConfig('ladderConfigs')">{{
$t('template.common.addBtn')
}}</el-button>
</div>
<!-- 阶梯配制区域 -->
<div v-for="(ladderConfig, ladderIndex) in formData.ladderConfigs"
:key="'ladder_' + ladderConfig.id">
@ -63,7 +59,6 @@
:configType="'paralle'" :ref="`paralleRef_${paralleIndex}`"
:fieldItemLabel="getTableLabel('paralle')"
:showHeader="!isPcr234"
:showHeaderLabel="!isGsp"
@deleteConfig="deleteConfig('paralleConfigs', paralleConfig)" :fillType="fillType" />
</div>
<template v-if="sn === 'LBA005'">
@ -261,9 +256,6 @@ export default {
"paralle": "template.common.pxpz",//线
"ladder": "template.common.jtpz",//
}
if(this.isGsp){
return "";
}
return obj[type] || '';//
},
//

+ 2
- 2
src/views/business/comps/template/formConfig/xb/xb001.js View File

@ -292,7 +292,7 @@ export const getStepFivth = ($this) => {
type: 'text'
},
yjwd: {
type: 'inputNumber',
type: 'input',
fillType: 'preFill'
},
text4: {
@ -300,7 +300,7 @@ export const getStepFivth = ($this) => {
type: 'text'
},
sjwd: {
type: 'inputNumber',
type: 'input',
fillType: 'actFill',
compareTo: 'yjwd',
copyFrom: 'yjwd'

Loading…
Cancel
Save