diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js index 1f9c151..1f826d4 100644 --- a/src/lang/en/template/sp.js +++ b/src/lang/en/template/sp.js @@ -21,5 +21,13 @@ export default { sp010: { title: 'Bioanalytical Methods Sample Preparation Record (Whole Blood Stability)' + }, + //生物样品分析方法学样品制备表(Solution stability)-生物样品分析方法学样品制备表-储备液和工作液稳定性 + sp011: { + title: + 'Bioanalytical Methods Sample Preparation Record (Solution Stability)', + xzxsy: 'Select Diluent', + yjxsyxql: 'Expected Blank Diluent Extraction Volume', + sjxsyxql: 'Actual Blank Diluent Extraction Volume' } } diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js index e9b4750..ddb6358 100644 --- a/src/lang/zh/template/sp.js +++ b/src/lang/zh/template/sp.js @@ -19,5 +19,12 @@ export default { //生物样品分析方法学样品制备表(全血稳定) sp010: { title: '生物样品分析方法学样品制备表(全血稳定)' + }, + //生物样品分析方法学样品制备表(Solution stability)-生物样品分析方法学样品制备表-储备液和工作液稳定性 + sp011: { + title: '生物样品分析方法学样品制备表-储备液和工作液稳定性', + xzxsy: '选择稀释液', + yjxsyxql: '预计稀释液吸取量', + sjxsyxql: '实际稀释液吸取量' } } diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index b7e949c..cf57b80 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -18,6 +18,7 @@ import SWYPNBGZYZBB from "./comps/sp/SWYPNBGZYZBB.vue"; //色谱生物样品分析方法学样品制备表-10个类似 import ZQDYJMD from "./comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue"; import QXWDX from "./comps/sp/SWYPFXFFXYPZBB/QXWDX.vue"; +import CBYHGZYWDX from "./comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue"; import Demo from "./comps/sp/Demo.vue"; //公用 import SYWZPZJHB from "./comps/gy/SYWZPZJHB.vue"; @@ -27,7 +28,7 @@ export default { name: "TemplateTable", components: { MJYLQSQD, SYWZPZJHB, - SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB,ZQDYJMD,QXWDX + SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB,ZQDYJMD,QXWDX,CBYHGZYWDX }, props: { sn: { @@ -58,6 +59,7 @@ export default { 'SP004': 'SWYPNBGZYZBB', 'SP008': 'ZQDYJMD', 'SP010': 'QXWDX', + 'SP011': 'CBYHGZYWDX', 'SYWZPZJHB': 'SYWZPZJHB', 'MJYLQSQD': 'MJYLQSQD', } diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue new file mode 100644 index 0000000..95f1860 --- /dev/null +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYHGZYWDX.vue @@ -0,0 +1,374 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js index f0a926c..277de21 100644 --- a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js +++ b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js @@ -1,5 +1,7 @@ // 生物样品分析方法学样品制备表-表格配置 -export const getSWYPFXFFXYPZBBTableConfig = ($this, selectKey) => { +// selectKey:编号选择的数据源key +// isXsy是否时稀释液:稀释液的名称不一样 +export const getSWYPFXFFXYPZBBTableConfig = ($this, selectKey, isXsy) => { return [ { label: 'template.sp.sp008.bh', @@ -28,7 +30,7 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this, selectKey) => { { label: 'template.sp.sp008.yjryxql', prop: 'yjryxql', - width: 280, + width: 320, headerSelectKey: 'yjryxqlUnit', fillType: 'preFill', headerOptions: $this.getDictOptions('business_tjdw'), @@ -39,19 +41,19 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this, selectKey) => { { label: 'template.sp.sp008.sjryxql', prop: 'sjryxql', - width: 280, + width: 300, headerSelectKey: 'sjryxqlUnit', fillType: 'preFill', headerOptions: $this.getDictOptions('business_tjdw'), bodyType: 'inputNumber', bodyFillType: 'actFill', bodyMaxlength: 10, - compareTo: 'yjryxql' + bodyCompareTo: 'yjryxql' }, { - label: 'template.sp.sp008.yjjzxql', + label: isXsy ? 'template.sp.sp011.yjxsyxql' : 'template.sp.sp008.yjjzxql', prop: 'yjjzxql', - width: 280, + width: isXsy ? 350 : 280, headerSelectKey: 'yjjzxqlUnit', fillType: 'preFill', headerOptions: $this.getDictOptions('business_tjdw'), @@ -60,16 +62,16 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this, selectKey) => { bodyMaxlength: 10 }, { - label: 'template.sp.sp008.sjjzxql', + label: isXsy ? 'template.sp.sp011.sjxsyxql' : 'template.sp.sp008.sjjzxql', prop: 'sjjzxql', - width: 280, + width: isXsy ? 350 : 280, headerSelectKey: 'sjjzxqlUnit', fillType: 'preFill', headerOptions: $this.getDictOptions('business_tjdw'), bodyType: 'inputNumber', bodyFillType: 'actFill', bodyMaxlength: 10, - compareTo: 'yjjzxql' + bodyCompareTo: 'yjjzxql' }, { label: 'template.sp.sp008.hhwznd',