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", type: "text",
}, },
temp: { temp: {
type: "inputNumber",
type: "input",
fillType: "preFill", fillType: "preFill",
}, },
text3: { text3: {
@ -47,7 +47,7 @@ export default {
type: "text", type: "text",
}, },
actTemp: { actTemp: {
type: "inputNumber",
type: "input",
fillType: "actFill", fillType: "actFill",
compareTo: "temp", compareTo: "temp",
copyFrom: "temp", copyFrom: "temp",

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

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

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

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

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

@ -35,7 +35,7 @@ export default {
type: "text", type: "text",
}, },
rm: { rm: {
type: "inputNumber",
type: "input",
fillType: "preFill", fillType: "preFill",
}, },
text3: { text3: {
@ -43,7 +43,7 @@ export default {
type: "text", type: "text",
}, },
rxry: { rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill", fillType: "actFill",
compareTo:"rm", compareTo:"rm",
copyFrom:"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", type:"text",
}, },
temp:{ temp:{
type:"inputNumber",
type:"input",
fillType:"preFill", fillType:"preFill",
}, },
text3:{ text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text", type:"text",
}, },
actTemp:{ actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill", fillType:"actFill",
compareTo:"temp", compareTo:"temp",
copyFrom:"temp", copyFrom:"temp",

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

@ -43,7 +43,7 @@ export default {
type: "text", type: "text",
}, },
rm: { rm: {
type: "inputNumber",
type: "input",
fillType: "preFill", fillType: "preFill",
}, },
text3: { text3: {
@ -51,7 +51,7 @@ export default {
type: "text", type: "text",
}, },
rxry: { rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill", fillType: "actFill",
compareTo:"rm", compareTo:"rm",
copyFrom:"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", type:"text",
}, },
temp:{ temp:{
type:"inputNumber",
type:"input",
fillType:"preFill", fillType:"preFill",
}, },
text3:{ text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text", type:"text",
}, },
actTemp:{ actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill", fillType:"actFill",
compareTo:"temp", compareTo:"temp",
copyFrom:"temp", copyFrom:"temp",

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

@ -36,7 +36,7 @@ export default {
type: "text", type: "text",
}, },
yjzs: { yjzs: {
type: "inputNumber",
type: "input",
fillType: "preFill", fillType: "preFill",
}, },
text3: { text3: {
@ -44,7 +44,7 @@ export default {
type: "text", type: "text",
}, },
sjwd: { sjwd: {
type: "inputNumber",
type: "input",
fillType: "actFill", fillType: "actFill",
compareTo: "yjzs", compareTo: "yjzs",
copyFrom: "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", type:"text",
}, },
yjwd:{ yjwd:{
type:"inputNumber",
type:"input",
fillType:"preFill", fillType:"preFill",
}, },
text3:{ text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text", type:"text",
}, },
sjwd:{ sjwd:{
type:"inputNumber",
type:"input",
fillType:"actFill", fillType:"actFill",
compareTo:"yjwd", compareTo:"yjwd",
copyFrom:"yjwd" copyFrom:"yjwd"

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

@ -35,7 +35,7 @@ export default {
type: "text", type: "text",
}, },
rm: { rm: {
type: "inputNumber",
type: "input",
fillType: "preFill", fillType: "preFill",
}, },
text3: { text3: {
@ -43,7 +43,7 @@ export default {
type: "text", type: "text",
}, },
rxry: { rxry: {
type: "inputNumber",
type: "input",
fillType: "actFill", fillType: "actFill",
compareTo:"rm", compareTo:"rm",
copyFrom:"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", type:"text",
}, },
temp:{ temp:{
type:"inputNumber",
type:"input",
fillType:"preFill", fillType:"preFill",
}, },
text3:{ text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text", type:"text",
}, },
actTemp:{ actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill", fillType:"actFill",
compareTo:"temp", compareTo:"temp",
copyFrom:"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", type:"text",
}, },
temp:{ temp:{
type:"inputNumber",
type:"input",
fillType:"preFill", fillType:"preFill",
}, },
text3:{ text3:{
@ -43,7 +43,7 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
type:"text", type:"text",
}, },
actTemp:{ actTemp:{
type:"inputNumber",
type:"input",
fillType:"actFill", fillType:"actFill",
compareTo:"temp", compareTo:"temp",
copyFrom:"temp", copyFrom:"temp",

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

@ -27,7 +27,7 @@
</CustomTable> </CustomTable>
</div> </div>
<LineLabel :label="getOperationStepsLabel()" /> <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')">{{ <el-button type="primary" @click="handleAddConfig('paralleConfigs')">{{
$t('template.common.xzpxpz') $t('template.common.xzpxpz')
}}</el-button> }}</el-button>
@ -35,11 +35,7 @@
$t('template.common.xzjtpz') $t('template.common.xzjtpz')
}}</el-button> }}</el-button>
</div> </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" <div v-for="(ladderConfig, ladderIndex) in formData.ladderConfigs"
:key="'ladder_' + ladderConfig.id"> :key="'ladder_' + ladderConfig.id">
@ -63,7 +59,6 @@
:configType="'paralle'" :ref="`paralleRef_${paralleIndex}`" :configType="'paralle'" :ref="`paralleRef_${paralleIndex}`"
:fieldItemLabel="getTableLabel('paralle')" :fieldItemLabel="getTableLabel('paralle')"
:showHeader="!isPcr234" :showHeader="!isPcr234"
:showHeaderLabel="!isGsp"
@deleteConfig="deleteConfig('paralleConfigs', paralleConfig)" :fillType="fillType" /> @deleteConfig="deleteConfig('paralleConfigs', paralleConfig)" :fillType="fillType" />
</div> </div>
<template v-if="sn === 'LBA005'"> <template v-if="sn === 'LBA005'">
@ -261,9 +256,6 @@ export default {
"paralle": "template.common.pxpz",//线 "paralle": "template.common.pxpz",//线
"ladder": "template.common.jtpz",// "ladder": "template.common.jtpz",//
} }
if(this.isGsp){
return "";
}
return obj[type] || '';// 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' type: 'text'
}, },
yjwd: { yjwd: {
type: 'inputNumber',
type: 'input',
fillType: 'preFill' fillType: 'preFill'
}, },
text4: { text4: {
@ -300,7 +300,7 @@ export const getStepFivth = ($this) => {
type: 'text' type: 'text'
}, },
sjwd: { sjwd: {
type: 'inputNumber',
type: 'input',
fillType: 'actFill', fillType: 'actFill',
compareTo: 'yjwd', compareTo: 'yjwd',
copyFrom: 'yjwd' copyFrom: 'yjwd'

Loading…
Cancel
Save