Browse Source

fix:[模板管理]优化

lkf
15881625488@163.com 2 months ago
parent
commit
afb965531a
2 changed files with 4 additions and 21 deletions
  1. +2
    -1
      src/components/Template/Table.vue
  2. +2
    -20
      src/views/business/comps/template/comps/sp/SP00456.vue

+ 2
- 1
src/components/Template/Table.vue View File

@ -15,7 +15,8 @@
</thead>
<tbody>
<tr v-for="(ditem, index) in dataSource" :key="index">
<td v-for="(item) in columns" :key="item.prop" class="no-break">{{ ditem[item.prop] }}</td>
<td v-for="(item) in columns" :key="item.prop" class="no-break">
{{item.prop=='ndz'? (ditem['nd']+ditem['nddw']):ditem[item.prop] }}</td>
</tr>
</tbody>
</table>

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

@ -595,7 +595,7 @@ export default {
debugger
let tmpResource = []
if (this.fillType === "actFill") {
//
//
if (content.ladderConfigs && content.ladderConfigs.length > 0) {
for (let i = 0; i < content.ladderConfigs.length; i++) {
let ladderConfigs = content.ladderConfigs[i]
@ -689,7 +689,7 @@ export default {
}
}
}
//
//
if (content.paralleConfigs && content.paralleConfigs.length > 0) {
for (let i = 0; i < content.paralleConfigs.length; i++) {
let paralleConfigs = content.paralleConfigs[i]
@ -742,24 +742,6 @@ export default {
yxzq: stepTableFormData[j].targetSolutionCycle,
yxzqdw: stepTableFormData[j].targetSolutionCyclePrecision,
})
//
tmpResource.push({
mc: null,
bh: paralleConfigs.subStartSolution,
ph: null,
nd: null,
nddw: null,
ndz: null,
ly: null,
sxrq: null,
kc: null,
kcdw: null,
type: 1,
syl: stepTableFormData[j].actSolutionVolume,
syldw: paralleConfigs.headerSelectFields.actSolutionVolumeUnit,
yxzq: null,
yxzqdw: null,
})
//
tmpResource.push({
mc: null,

Loading…
Cancel
Save