Browse Source

fix:[模板管理]仪器信息字段

lkf
15881625488@163.com 2 months ago
parent
commit
5013de71bd
4 changed files with 9 additions and 34 deletions
  1. +5
    -0
      src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue
  2. +0
    -14
      src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue
  3. +0
    -16
      src/views/business/comps/template/comps/sp/SWYPFXFFXZKPZB.vue
  4. +4
    -4
      src/views/business/comps/template/mixins/templateMixin.js

+ 5
- 0
src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue View File

@ -541,6 +541,7 @@ export default {
const { actVol, actNd } = this.updateSjmbrynd(item, row.nd); const { actVol, actNd } = this.updateSjmbrynd(item, row.nd);
item.actSolutionVolume = actVol; item.actSolutionVolume = actVol;
item.actSolutionConcentration = actNd; item.actSolutionConcentration = actNd;
item.actSolutionExpire = row.sxr;
} }
// stepTableRef // stepTableRef
@ -550,7 +551,9 @@ export default {
let content = await this.validFormFields(["baseInfoRef", "stepFormPackageRef", "stepTableRef", "stepRef", "remarkRef"]); let content = await this.validFormFields(["baseInfoRef", "stepFormPackageRef", "stepTableRef", "stepRef", "remarkRef"]);
//resource //resource
let tmpResource = [] let tmpResource = []
debugger
if (this.fillType === "actFill") { if (this.fillType === "actFill") {
//
let tableList = content.stepTableFormData let tableList = content.stepTableFormData
if (tableList && tableList.length > 0) { if (tableList && tableList.length > 0) {
for (let i = 0; i < tableList.length; i++) { for (let i = 0; i < tableList.length; i++) {
@ -595,6 +598,8 @@ export default {
} }
} }
} }
//使
} }
this.resourceTmp = tmpResource this.resourceTmp = tmpResource

+ 0
- 14
src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue View File

@ -240,20 +240,6 @@ export default {
return { return {
resource: [], resource: [],
resourceData1: [], resourceData1: [],
sysjColumns: [
{ label: 'template.common.reagentName', prop: "mc" },//
{ label: 'template.common.reagentCode', prop: "bh" },//
{ label: 'template.common.reagentNo', prop: "ph" },//
{ label: 'template.common.concentration', prop: "nd" },//
{ label: 'template.common.source', prop: "source" },//
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//
],
yqsColumns: [
{ label: 'template.common.instrumentName', prop: "instrumentName" },
{ label: 'template.common.instrumentModel', prop: "instrumentModel" },
{ label: 'template.common.instrumentCode', prop: "instrumentCode" },
{ label: 'template.common.nextTestDate', prop: "nextTestDate" },
],
formData: {} formData: {}
}; };
}, },

+ 0
- 16
src/views/business/comps/template/comps/sp/SWYPFXFFXZKPZB.vue View File

@ -236,24 +236,8 @@ export default {
data() { data() {
return { return {
reagentType: "",//12 reagentType: "",//12
currentSubKey: "",//key currentSubKey: "",//key
rowIndex:0,// rowIndex:0,//
sysjColumns: [
{ label: 'template.common.reagentName', prop: "mc" },//
{ label: 'template.common.reagentCode', prop: "bh" },//
{ label: 'template.common.reagentNo', prop: "ph" },//
{ label: 'template.common.concentration', prop: "nd" },//
{ label: 'template.common.source', prop: "source" },//
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//
],
yqsColumns: [
{ label: 'template.common.instrumentName', prop: "instrumentName" },
{ label: 'template.common.instrumentModel', prop: "instrumentModel" },
{ label: 'template.common.instrumentCode', prop: "instrumentCode" },
{ label: 'template.common.nextTestDate', prop: "nextTestDate" },
],
formData: {} formData: {}
}; };
}, },

+ 4
- 4
src/views/business/comps/template/mixins/templateMixin.js View File

@ -128,10 +128,10 @@ export default {
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期 { label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期
], ],
yqsColumns: [ yqsColumns: [
{ label: 'template.common.instrumentName', prop: "instrumentName" },
{ label: 'template.common.instrumentModel', prop: "instrumentModel" },
{ label: 'template.common.instrumentCode', prop: "instrumentCode" },
{ label: 'template.common.nextTestDate', prop: "nextTestDate" },
{ label: 'template.common.instrumentName', prop: "mc" },//仪器名称
{ label: 'template.common.instrumentModel', prop: "xh" },//仪器型号
{ label: 'template.common.instrumentCode', prop: "bh" },//仪器编号
{ label: 'template.common.nextTestDate', prop: "jzrq" },//下次测试/校准/检定日期
], ],
} }
}, },

Loading…
Cancel
Save