luojie 2 months ago
parent
commit
7fa70dbbfd
11 changed files with 45 additions and 100 deletions
  1. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue
  2. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue
  3. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/JZXY.vue
  4. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/QXWDX.vue
  5. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/RXJZXY.vue
  6. +7
    -18
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/Recovery.vue
  7. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XSKKX.vue
  8. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XZXHTYX.vue
  9. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZDYBS.vue
  10. +4
    -9
      src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue
  11. +2
    -1
      src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/JZXY.vue View File

@ -138,6 +138,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -291,16 +292,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/QXWDX.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/RXJZXY.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 7
- 18
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/Recovery.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -358,16 +359,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {
@ -388,16 +383,10 @@ export default {
count: stepTableFormData_1.length,
})
if(result.code == 200){
if(stepTableFormData_1.length===1){
this.$refs.rongyeTableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData_1.length;i++){
this.$refs.rongyeTableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData_1.length;i++){
this.$refs.rongyeTableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XSKKX.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/XZXHTYX.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZDYBS.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 4
- 9
src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue View File

@ -140,6 +140,7 @@ export default {
label: 'template.common.versionNumber',
type: "input",
fillType: "actFill",
prepend: "V",
maxlength: 50
},
//
@ -303,16 +304,10 @@ export default {
count: stepTableFormData.length,
})
if(result.code == 200){
if(stepTableFormData.length===1){
this.$refs.tableRef.updateDataSourceByRowIndex(0,{
bhCode: result.data,
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}else{
for(let i=0;i<stepTableFormData.length;i++){
this.$refs.tableRef.updateDataSourceByRowIndex(i,{
bhCode: result.data[i],
})
}
}
const params = {

+ 2
- 1
src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js View File

@ -19,7 +19,8 @@ export const getSWYPFXFFXYPZBBTableConfig = (
bodySubType: 'span',
bodySubKey: 'bhCode',
bodyFillType: 'preFill',
width: 280
width: 280,
myCodeFields: ['bh', 'bhOther', 'bhCode']
},
{
label: 'template.sp.sp008.ysry',

Loading…
Cancel
Save