diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue index b5c1a91..7f6fe93 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/CBYDB.vue @@ -65,7 +65,7 @@ import TableList from "@/components/Template/Table"; import Step from "@/components/Template/Step"; import templateMixin from "../../../mixins/templateMixin"; import CustomTable from '@/components/Template/CustomTable.vue'; -import { getLatestSn } from '@/api/template'; +import { getLatestSnArr } from '@/api/template'; import {getSWYPFXFFXYPZBBTableConfig} from "../../../formConfig/SWYPFXFFXYPZBBTableConfig.js"; import TableOpertaion from "@/components/Template/operation/TableOpertaion.vue" import SelectReagentDialog from '../../../dialog/SelectReagentDialog.vue'; @@ -306,9 +306,14 @@ export default { async getCode(v){ const {stepTableFormData = []} = v; if(stepTableFormData && stepTableFormData.length>0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData_1[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData_1.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i0 && !stepTableFormData[0].bhCode){ - const result = await getLatestSn({ - count: stepTableFormData.length, - }) + let postSn = [] + for(let i=0;i