Browse Source

检验模版新增隐藏编码

master_hella_20240701
songguoqiang 7 months ago
parent
commit
ec81c31f98
  1. 14
      src/views/qms/basicDataManage/inspectionTemplate/addForm.vue
  2. 6
      src/views/qms/basicDataManage/inspectionTemplate/index.vue

14
src/views/qms/basicDataManage/inspectionTemplate/addForm.vue

@ -10,7 +10,7 @@
<!-- <Form ref="formRefMain" :schema="formAllSchemasMain" :is-col="true" :rules="rules" /> --> <!-- <Form ref="formRefMain" :schema="formAllSchemasMain" :is-col="true" :rules="rules" /> -->
<el-form :model="data" label-width="auto" :rules="rules" ref="formMainRef"> <el-form :model="data" label-width="auto" :rules="rules" ref="formMainRef">
<el-row gutter="20"> <el-row gutter="20">
<el-col :span="12"> <el-col :span="12" v-if="data.code">
<el-form-item label="编码" prop="code"> <el-form-item label="编码" prop="code">
<el-input v-model="data.code" placeholder="根据系统生成" :disabled="true" /> <el-input v-model="data.code" placeholder="根据系统生成" :disabled="true" />
</el-form-item> </el-form-item>
@ -91,12 +91,12 @@
/> --> /> -->
<el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef"> <el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12" v-if="item.code">
<el-form-item label="编码" prop="code"> <el-form-item label="编码" prop="code">
<el-input v-model="item.code" placeholder="根据系统生成" :disabled="true" /> <el-input v-model="item.code" placeholder="根据系统生成" :disabled="true" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="检验方案模板"> <el-form-item label="检验方案模板">
<el-input <el-input
v-model="item.inspectionCode" v-model="item.inspectionCode"
@ -104,7 +104,7 @@
:disabled="true" :disabled="true"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col> -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="描述" prop="description"> <el-form-item label="描述" prop="description">
<el-input v-model="item.description" /> <el-input v-model="item.description" />
@ -115,7 +115,7 @@
<el-input v-model="item.sequenceCode" /> <el-input v-model="item.sequenceCode" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="检验特性"> <el-form-item label="检验特性">
<el-input <el-input
v-model="item.inspectionCharCode" v-model="item.inspectionCharCode"
@ -123,14 +123,14 @@
:disabled="true" :disabled="true"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col> -->
</el-row> </el-row>
</el-form> </el-form>
<div class="small-title">检验特性</div> <div class="small-title">检验特性</div>
<el-form :model="item" label-width="auto" :rules="rules" ref="formFeaturesRef"> <el-form :model="item" label-width="auto" :rules="rules" ref="formFeaturesRef">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12" v-if="item.inspectionCharacteristicsBaseVO.code">
<el-form-item label="编码"> <el-form-item label="编码">
<el-input <el-input
v-model="item.inspectionCharacteristicsBaseVO.code" v-model="item.inspectionCharacteristicsBaseVO.code"

6
src/views/qms/basicDataManage/inspectionTemplate/index.vue

@ -93,7 +93,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:agv-locationrelation:create'}), // defaultButtons.defaultAddBtn({hasPermi:'qms:programme-template:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:agv-locationrelation:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:agv-locationrelation:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:agv-locationrelation:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:agv-locationrelation:export'}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
@ -127,8 +127,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'qms:inspectionTemplate:update'}), // defaultButtons.mainListEditBtn({hasPermi:'qms:programme-template:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'qms:inspectionTemplate:delete'}), // defaultButtons.mainListDeleteBtn({hasPermi:'qms:programme-template:delete'}), //
] ]
// - // -

Loading…
Cancel
Save