| | |
| | | <el-button v-show="active==1" size="small" @click="templateDia=true"> |
| | | <span style="color: #3A7BFA;">保存模板</span> |
| | | </el-button> |
| | | <el-button v-if="active==1&&addObj.sampleType!=undefined&&(addObj.sampleType.indexOf('电缆')>-1 ||addObj.sampleType.indexOf('综合')>-1)" size="small" type="primary" @click="openCableConfig">电缆配置</el-button> |
| | | <el-button v-if="active==1&&addObj.sampleType!=undefined&&addObj.sampleType.indexOf('电缆')>-1" size="small" type="primary" @click="openAuxiliaryCore">辅助线芯配置</el-button> |
| | | <el-button v-show="active==1||(tabIndex==4&&active==2)" :loading="saveLoad" size="small" type="primary" @click="save">提交</el-button> |
| | | <el-button |
| | | v-if="active==1&&addObj.sampleType!=undefined&&(addObj.sampleType.indexOf('电缆')>-1 ||addObj.sampleType.indexOf('综合')>-1)" |
| | | size="small" type="primary" @click="openCableConfig">电缆配置 |
| | | </el-button> |
| | | <el-button v-if="active==1&&addObj.sampleType!=undefined&&addObj.sampleType.indexOf('电缆')>-1" size="small" |
| | | type="primary" @click="openAuxiliaryCore">辅助线芯配置 |
| | | </el-button> |
| | | <el-button v-show="active==1||(tabIndex==4&&active==2)" :loading="saveLoad" size="small" type="primary" |
| | | @click="save">提交 |
| | | </el-button> |
| | | <!-- 审核 --> |
| | | <el-button v-show="active==3" :disabled="saveLoad" :loading="saveLoad" size="small" |
| | | @click="upInsOrderOfState(2)">不通过</el-button> |
| | | @click="upInsOrderOfState(2)">不通过 |
| | | </el-button> |
| | | <el-button v-show="active==3" :loading="saveLoad" size="small" type="primary" |
| | | @click="upInsOrderOfState(1)">通过</el-button> |
| | | @click="upInsOrderOfState(1)">通过 |
| | | </el-button> |
| | | <el-button size="small" @click="goBack"> |
| | | <span style="color: #3A7BFA;">返回</span> |
| | | </el-button> |
| | |
| | | <el-descriptions-item label="联系方式">{{ addObj.phone || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="原始记录模板" :span="4"> |
| | | <div v-if="boundTemplateList.length" class="template-tag-list"> |
| | | <el-tag v-for="item in boundTemplateList" :key="item.templateId" size="small" effect="plain">{{ item.name }}</el-tag> |
| | | <el-tag v-for="item in boundTemplateList" :key="item.templateId" size="small" effect="plain">{{ |
| | | item.name |
| | | }} |
| | | </el-tag> |
| | | </div> |
| | | <span v-else class="order-detail__empty">暂未绑定原始记录模板</span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="备注" :span="4">{{ addObj.remark || '-' }}</el-descriptions-item> |
| | | </el-descriptions> |
| | | <el-form v-show="false" ref="addObj" :inline="true" :model="addObj" :rules="addObjRules" label-width="108px" label-position="right"> |
| | | <el-form v-show="false" ref="addObj" :inline="true" :model="addObj" :rules="addObjRules" label-width="108px" |
| | | label-position="right"> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="委托编号:" prop="entrustCode"> |
| | | <el-input v-model="addObj.entrustCode" clearable disabled placeholder="系统生成" size="small"></el-input> |
| | | <el-input v-model="addObj.entrustCode" clearable disabled placeholder="系统生成" |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="检验类别:" prop="orderType"> |
| | | <el-select v-model="addObj.orderType" :disabled="active>1&&tabIndex!=4" clearable size="small" style="width: 100%;"> |
| | | <el-option v-for="(a, ai) in dict.type.check_type1" :key="ai" :label="a.label" :value="a.value"></el-option> |
| | | <el-select v-model="addObj.orderType" :disabled="active>1&&tabIndex!=4" clearable size="small" |
| | | style="width: 100%;"> |
| | | <el-option v-for="(a, ai) in dict.type.check_type1" :key="ai" :label="a.label" |
| | | :value="a.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="委托单位:" prop="company"> |
| | | <el-input v-model="addObj.company" disabled placeholder="选择委托单位" size="small" style="width: 208px"> |
| | | <el-input v-model="addObj.company" disabled placeholder="选择委托单位" size="small" |
| | | style="width: 208px"> |
| | | <template slot="append"> |
| | | <el-button slot="append" :disabled="active>1&&tabIndex!=4" icon="el-icon-search" |
| | | @click="openCompanyList"></el-button> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="联系方式:" prop="phone"> |
| | | <el-input v-model="addObj.phone" :disabled="active>1&&tabIndex!=4" clearable placeholder="选择委托客户" size="small"></el-input> |
| | | <el-input v-model="addObj.phone" :disabled="active>1&&tabIndex!=4" clearable placeholder="选择委托客户" |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="紧急程度:" prop="type"> |
| | | <el-select v-model="addObj.type" :disabled="active>1&&tabIndex!=4" clearable size="small"> |
| | | <el-option v-for="(a, ai) in dict.type.urgency_level" :key="ai" :label="a.label" :value="a.value"></el-option> |
| | | <el-option v-for="(a, ai) in dict.type.urgency_level" :key="ai" :label="a.label" |
| | | :value="a.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="样品名称:" prop="sample"> |
| | | <el-input v-model="addObj.sample" disabled size="small" style="width: 208px"> |
| | | <template slot="append"><el-button slot="append" :disabled="active>1&&tabIndex!=4" icon="el-icon-search" |
| | | @click="selectStandardTree = true"></el-button></template> |
| | | <template slot="append"> |
| | | <el-button slot="append" :disabled="active>1&&tabIndex!=4" icon="el-icon-search" |
| | | @click="selectStandardTree = true"></el-button> |
| | | </template> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-col :span="6"> |
| | | <el-form-item label="样品状态:" prop="sampleStatus"> |
| | | <el-select v-model="addObj.sampleStatus" :disabled="active>1&&tabIndex!=4" size="small"> |
| | | <el-option v-for="(a,ai) in dict.type.sample_status_list" :key="ai" :label="a.label" :value="a.value"></el-option> |
| | | <el-option v-for="(a,ai) in dict.type.sample_status_list" :key="ai" :label="a.label" |
| | | :value="a.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="抽检数量:" prop="testQuantity"> |
| | | <el-input v-model="addObj.testQuantity" :disabled="active>1&&tabIndex!=4" clearable size="small"></el-input> |
| | | <el-input v-model="addObj.testQuantity" :disabled="active>1&&tabIndex!=4" clearable |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="来样方式:" prop="formType"> |
| | | <el-select v-model="addObj.formType" :disabled="active>1&&tabIndex!=4" size="small" clearable> |
| | | <el-option v-for="(a,ai) in dict.type.form_type" :key="ai" :label="a.label" :value="a.value"></el-option> |
| | | <el-option v-for="(a,ai) in dict.type.form_type" :key="ai" :label="a.label" |
| | | :value="a.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="样品处理方式:" prop="processing"> |
| | | <el-radio-group v-model="addObj.processing" :disabled="active>1&&tabIndex!=4" size="mini" style="display: flex; flex-direction: column;"> |
| | | <el-radio-group v-model="addObj.processing" :disabled="active>1&&tabIndex!=4" size="mini" |
| | | style="display: flex; flex-direction: column;"> |
| | | <el-radio :label="0" border style="margin-right: 0">委托单位取回</el-radio> |
| | | <el-radio :label="1" border>实验室处理</el-radio> |
| | | </el-radio-group> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="委托人:" prop="prepareUser"> |
| | | <el-input v-model="addObj.prepareUser" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable size="small"></el-input> |
| | | <el-input v-model="addObj.prepareUser" :disabled="active>1&&tabIndex!=4" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="委托人英文:" prop="prepareUserEn"> |
| | | <el-input v-model="addObj.prepareUserEn" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable size="small"></el-input> |
| | | <el-input v-model="addObj.prepareUserEn" :disabled="active>1&&tabIndex!=4" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="备注:" prop="remark"> |
| | | <el-input v-model="addObj.remark" :autosize="{ minRows: 2, maxRows: 2}" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | <el-input v-model="addObj.remark" :autosize="{ minRows: 2, maxRows: 2}" |
| | | :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | size="small" style="width: 100%" type="textarea"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="备注英文:" prop="remarkEn"> |
| | | <el-input v-model="addObj.remarkEn" :autosize="{ minRows: 2, maxRows: 2}" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | <el-input v-model="addObj.remarkEn" :autosize="{ minRows: 2, maxRows: 2}" |
| | | :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | size="small" type="textarea"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="样品名称:" prop="sampleView"> |
| | | <el-input v-model="addObj.sampleView" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | <el-input v-model="addObj.sampleView" :disabled="active>1&&tabIndex!=4" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="样品名称英文:" prop="sampleViewEn"> |
| | | <el-input v-model="addObj.sampleViewEn" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | <el-input v-model="addObj.sampleViewEn" :disabled="active>1&&tabIndex!=4" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="委托人工号:" prop="prepareCode"> |
| | | <el-input v-model="addObj.prepareCode" :disabled="active>1&&tabIndex!=4" :placeholder="active>1 ? '' : '请输入'" clearable |
| | | <el-input v-model="addObj.prepareCode" :disabled="active>1&&tabIndex!=4" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable |
| | | size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <span style="width: 150px;font-size: 14px;text-align: right;">特殊标准:</span> |
| | | <el-input v-model="specialStandardMethod" :disabled="!isSpecial" clearable size="small"></el-input> |
| | | <el-button v-show="active==1" size="small" style="margin-left: 10px" |
| | | type="primary" @click="editSpecial">编辑</el-button> |
| | | type="primary" @click="editSpecial">编辑 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <el-table ref="sampleTable" :data="sampleList" border class="el-table sampleTable" highlight-current-row |
| | |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="scope.row.standardMethodListId" :disabled="scope.row.model==null||active>1" |
| | | :loading="methodLoad" :readonly="active>1" clearable placeholder="检验标准" |
| | | size="small" style="width: 100%;" @change="(value)=>methodChange(value, scope.row)" @clear="productList = []" @focus="methodFocus"> |
| | | size="small" style="width: 100%;" @change="(value)=>methodChange(value, scope.row)" |
| | | @clear="productList = []" @focus="methodFocus"> |
| | | <el-option v-for="item in methods" :key="item.id" :label="item.code" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | max-height="400px" style="margin-bottom: 10px;" tooltip-effect="dark" |
| | | @select="selectOne" @selection-change="selectProduct" @select-all="handleAll"> |
| | | <el-table-column v-if="active==1" :selectable="selectable0" type="selection" width="65"></el-table-column> |
| | | <el-table-column label="检验项分类" min-width="140" prop="inspectionItemClass" show-overflow-tooltip></el-table-column> |
| | | <el-table-column label="检验项分类" min-width="140" prop="inspectionItemClass" |
| | | show-overflow-tooltip></el-table-column> |
| | | <el-table-column label="检验项" min-width="140" prop="inspectionItem" show-overflow-tooltip> |
| | | <template slot="header" slot-scope="scope"> |
| | | <div style="display: flex;align-items: center;flex-direction: column;font-size: 14px"> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="要求值" min-width="220px" prop="ask"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)&&scope.row.inspectionValueType!='5'" v-model="scope.row.ask" :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="要求值" |
| | | <el-input |
| | | v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)&&scope.row.inspectionValueType!='5'" |
| | | v-model="scope.row.ask" :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="要求值" |
| | | size="small" type="textarea" |
| | | @change="e=>requestChange(e,scope.row,'ask')"></el-input> |
| | | <span v-else> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="要求描述" min-width="220px" prop="tell"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)" v-model="scope.row.tell" :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="要求描述" |
| | | <el-input v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)" v-model="scope.row.tell" |
| | | :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="要求描述" |
| | | size="small" type="textarea" |
| | | @change="e=>requestChange(e,scope.row,'tell')"></el-input> |
| | | <span v-else> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="条件" min-width="140" prop="radius" show-overflow-tooltip> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)" v-model="scope.row.radius" :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="条件" |
| | | <el-input v-if="(active==1||tabIndex==4)&&(isAskOnlyRead || isSpecial)" v-model="scope.row.radius" |
| | | :autosize="{ minRows: 1, maxRows: 3}" clearable placeholder="条件" |
| | | size="small" type="textarea" |
| | | @change="e=>requestChange(e,scope.row,'radius')"> |
| | | </el-input> |
| | |
| | | <el-table-column label="计量单位" prop="unit" show-overflow-tooltip width="100"></el-table-column> |
| | | <el-table-column label="单价" prop="price" show-overflow-tooltip width="100"></el-table-column> |
| | | <el-table-column label="区间" min-width="120" prop="section" show-overflow-tooltip></el-table-column> |
| | | <el-table-column :filter-method="filterHandler" :filters="filters" label="子实验室" min-width="130" prop="sonLaboratory" |
| | | <el-table-column :filter-method="filterHandler" :filters="filters" label="子实验室" min-width="130" |
| | | prop="sonLaboratory" |
| | | show-overflow-tooltip></el-table-column> |
| | | <el-table-column v-if="isSpecial&&active==1" label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button v-if="!scope.row.repetitionTag" size="small" type="text" @click="addProductList(productList,scope.row,scope.$index)">插入行</el-button> |
| | | <el-button v-if="!!scope.row.repetitionTag&&scope.row.delete" size="small" type="text" @click="deleteProductList(scope.$index,productList)">删除</el-button> |
| | | <el-button v-if="!scope.row.repetitionTag" size="small" type="text" |
| | | @click="addProductList(productList,scope.row,scope.$index)">插入行 |
| | | </el-button> |
| | | <el-button v-if="!!scope.row.repetitionTag&&scope.row.delete" size="small" type="text" |
| | | @click="deleteProductList(scope.$index,productList)">删除 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </div> |
| | | <el-dialog :visible.sync="selectUserDia" title="选择单位" width="70%"> |
| | | <div v-if="selectUserDia" class="body"> |
| | | <el-form :inline="true" size="small" @submit.native.prevent> |
| | | <el-form-item label="委托单位"> |
| | | <el-input v-model="companyQuery" clearable placeholder="请输入委托单位" |
| | | @keyup.enter.native="searchCompany"></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="searchCompany">查询</el-button> |
| | | <el-button @click="resetCompanySearch">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <lims-table :tableData="tableData1" :column="column1" |
| | | :isSelection="true" :handleSelectionChange="selectMethod" |
| | | @pagination="pagination1" height="400px" key="tableData1" |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="selectStandardTree" title="选择样品" width="500px"> |
| | | <div v-if="selectStandardTree" v-loading="selectStandardTreeLoading" class="body" style="height: 60vh;overflow-y: auto;user-select: none;"> |
| | | <div v-if="selectStandardTree" v-loading="selectStandardTreeLoading" class="body" |
| | | style="height: 60vh;overflow-y: auto;user-select: none;"> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-input v-model="search" clearable placeholder="输入关键字进行搜索" size="small" |
| | | style="margin-bottom: 5px;" suffix-icon="el-icon-search" @blur="searchFilter" @clear="searchFilter" |
| | | style="margin-bottom: 5px;" suffix-icon="el-icon-search" @blur="searchFilter" |
| | | @clear="searchFilter" |
| | | @keyup.enter.native="searchFilter"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-tree ref="tree" :data="list" :default-expanded-keys="expandedKeys" :filter-node-method="filterNode" |
| | | :props="{ children: 'children', label: 'label' }" highlight-current node-key="label" @node-click="handleNodeClick" |
| | | :props="{ children: 'children', label: 'label' }" highlight-current node-key="label" |
| | | @node-click="handleNodeClick" |
| | | @node-expand="nodeOpen" @node-collapse="nodeClose" @dblclick.native="activeStandardTree"> |
| | | <div slot-scope="{ node, data }" class="custom-tree-node"> |
| | | <el-row> |
| | |
| | | <el-button :loading="templateLoading" type="primary" @click="addTemplateDia">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false" :visible.sync="issuedDialogVisible" title="检验下发" width="400px"> |
| | | <el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false" |
| | | :visible.sync="issuedDialogVisible" title="检验下发" width="400px"> |
| | | <div class="body" style="max-height: 60vh;"> |
| | | <el-row> |
| | | <el-col :span="22" class="search_thing"> |
| | |
| | | <el-col :span="22" class="search_thing"> |
| | | <div class="search_label"><span class="required-span">* </span>指派人员:</div> |
| | | <div class="search_input"> |
| | | <el-select v-model="distributeData.userId" filterable placeholder="请选择" size="small" style="width: 100%;" @change="changeUser"> |
| | | <el-select v-model="distributeData.userId" filterable placeholder="请选择" size="small" |
| | | style="width: 100%;" @change="changeUser"> |
| | | <el-option v-for="item in personList" :key="item.value" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | <el-col v-if="distributeData.userId" :span="22" class="search_thing"> |
| | | <div class="search_label">试验室:</div> |
| | | <div class="search_input"> |
| | | <el-select v-model="distributeData.sonLaboratory" filterable placeholder="请选择" size="small" style="width: 100%;"> |
| | | <el-option v-for="item in newJuLaboratoryList" :key="item.value" :label="item.label" :value="item.value"> |
| | | <el-select v-model="distributeData.sonLaboratory" filterable placeholder="请选择" size="small" |
| | | style="width: 100%;"> |
| | | <el-option v-for="item in newJuLaboratoryList" :key="item.value" :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <!--电缆配置--> |
| | | <cableConfig v-if="cableConfigShow" ref="cableConfigShow" :active="active" :isSpecial="isSpecial" :sampleSelectionList="sampleSelectionList" @goBackAdd="goBackAdd"/> |
| | | <cableConfig v-if="cableConfigShow" ref="cableConfigShow" :active="active" :isSpecial="isSpecial" |
| | | :sampleSelectionList="sampleSelectionList" @goBackAdd="goBackAdd"/> |
| | | <!--辅助线芯配置--> |
| | | <auxiliary-wire-core v-if="auxiliaryShow" :active="active" :isSpecial="isSpecial" :sampleSelectionList="sampleSelectionList" @goBackAdd2="goBackAdd2"></auxiliary-wire-core> |
| | | <auxiliary-wire-core v-if="auxiliaryShow" :active="active" :isSpecial="isSpecial" |
| | | :sampleSelectionList="sampleSelectionList" @goBackAdd2="goBackAdd2"></auxiliary-wire-core> |
| | | <!--特殊值处理框--> |
| | | <el-dialog :before-close="beforeClose" :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false" |
| | | <el-dialog :before-close="beforeClose" :close-on-click-modal="false" :close-on-press-escape="false" |
| | | :show-close="false" |
| | | :visible.sync="bsm1DiaAll" |
| | | min-width="400px" |
| | | title="检测到特殊项,请作出以下选择"> |
| | |
| | | <div class="search_label" style="width: 80px;"><span class="required-span">* </span>选项:</div> |
| | | <div class="search_input"> |
| | | <el-radio-group v-model="item.bsm1Val" v-removeAriaHidden @input="upBsmAll(item)"> |
| | | <el-radio v-for="(a, ai) in JSON.parse(item.bsmRow.sectionCopy)" :key="ai" :label="a" style="margin-bottom: 2px;margin-top: 2px;"></el-radio> |
| | | <el-radio v-for="(a, ai) in JSON.parse(item.bsmRow.sectionCopy)" :key="ai" :label="a" |
| | | style="margin-bottom: 2px;margin-top: 2px;"></el-radio> |
| | | </el-radio-group> |
| | | </div> |
| | | </el-col> |
| | |
| | | <div class="search_input"> |
| | | <el-radio-group v-model="item.bsm1Val" v-removeAriaHidden @input="upBsmAll(item)"> |
| | | <el-radio v-for="(a, ai) in JSON.parse(item.bsmRow.sectionCopy)" :key="ai" |
| | | :label="a">{{JSON.parse(item.bsmRow.askCopy)[ai]}}</el-radio> |
| | | :label="a">{{ JSON.parse(item.bsmRow.askCopy)[ai] }} |
| | | </el-radio> |
| | | </el-radio-group> |
| | | </div> |
| | | </el-col> |
| | |
| | | label="识别符值" |
| | | prop="value"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.value" placeholder="请输入" size="small" @input="inputValueHandler(scope.row,scope.$index)"></el-input> |
| | | <el-input v-model="scope.row.value" placeholder="请输入" size="small" |
| | | @input="inputValueHandler(scope.row,scope.$index)"></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | tableData1: [], |
| | | tableLoading1: false, |
| | | multipleSelection: [], |
| | | companyQuery: '', |
| | | column1: [ |
| | | {label: '客户名称', prop: 'company'}, |
| | | {label: '客户单位EN', prop: 'companyEn'}, |
| | |
| | | }, |
| | | openCompanyList () { |
| | | this.selectUserDia = true |
| | | this.getCompanyList() |
| | | this.resetCompanySearch() |
| | | }, |
| | | getCompanyList () { |
| | | selectCustomPageList({...this.page1}).then(res => { |
| | | this.tableLoading1 = true |
| | | selectCustomPageList({company: this.companyQuery, ...this.page1}).then(res => { |
| | | this.tableLoading1 = false |
| | | if (res.code === 200) { |
| | | this.tableData1 = res.data.records |
| | |
| | | }, |
| | | pagination1 (page) { |
| | | this.page1.size = page.limit |
| | | this.getCompanyList() |
| | | }, |
| | | searchCompany() { |
| | | this.page1.current = 1 |
| | | this.getCompanyList() |
| | | }, |
| | | resetCompanySearch() { |
| | | this.companyQuery = '' |
| | | this.page1.current = 1 |
| | | this.getCompanyList() |
| | | }, |
| | | selectMethod (row) { |
| | |
| | | return code[index] + '' + num |
| | | } |
| | | } |
| | | }catch(e){} |
| | | } catch (e) { |
| | | } |
| | | }, |
| | | replaceAll(str,find,value) { |
| | | if (str === undefined) { |
| | |
| | | type: "warning" |
| | | }).then(() => { |
| | | this.saveMethod(sampleList) |
| | | }).catch(() => {}) |
| | | }).catch(() => { |
| | | }) |
| | | }else{ |
| | | let isRTS = this.totalArr.find(a => a.ask != null && this.symbolList.find(b=>a.ask.includes(b)) && a.state == 1) |
| | | if (isRTS) { |
| | |
| | | } else { |
| | | this.methods = res.data.standardMethodList |
| | | } |
| | | } catch (e) {} |
| | | } catch (e) { |
| | | } |
| | | }) |
| | | }, |
| | | addStandardTree() { |
| | |
| | | row.sectionCopy = sectionCopy |
| | | row.ask = arr1[index] |
| | | row.tell = arr4[index] |
| | | } catch(e) {} |
| | | } catch (e) { |
| | | } |
| | | } |
| | | this.sampleList.forEach(item => { |
| | | if (this.sampleIds.indexOf(item.id) > -1||this.currentMethod.id==item.id) { |
| | |
| | | temp.pop(); |
| | | } |
| | | } |
| | | |
| | | backtrack([], nums); |
| | | return result; |
| | | }, |
| | |
| | | }).catch(e => { |
| | | this.$message.error('删除失败') |
| | | }) |
| | | }).catch(() => {}) |
| | | }).catch(() => { |
| | | }) |
| | | }, |
| | | // 保存模板 |
| | | addTemplateDia() { |
| | |
| | | >>>.warning-row { |
| | | color: #1890FF; |
| | | } |
| | | |
| | | .node_i { |
| | | color: orange; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | .template-tag-list { |
| | | min-height: 32px; |
| | | display: flex; |
| | |
| | | flex-wrap: wrap; |
| | | gap: 8px; |
| | | } |
| | | |
| | | /* 委托单信息:只读详情 */ |
| | | .order-detail__title { |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | color: #303133; |
| | | } |
| | | |
| | | .order-detail>>>.el-descriptions-item__label.is-bordered-label { |
| | | width: 104px; |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .order-detail>>>.el-descriptions-item__content { |
| | | color: #303133; |
| | | } |
| | | |
| | | /* 描述列表内不需要额外的行高占位,标签行与其它行等高 */ |
| | | .order-detail .template-tag-list { |
| | | min-height: 0; |
| | | } |
| | | |
| | | .order-detail__empty { |
| | | color: #c0c4cc; |
| | | } |