| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="工具分类编码"> |
| | | <a-input placeholder="请输入工具分类编码" v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="工具分类编码"> |
| | | <a-input placeholder="请输入工具分类编码" v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="工具分类名称"> |
| | | <a-input placeholder="请输入工具分类名称" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="工具编码"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入工具编码'" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="工具分类名称"> |
| | | <a-input placeholder="请输入工具分类名称" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="工具编码"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入工具编码'" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="中文名称"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入中文名称'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="中文名称"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入中文名称'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="外文名称"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入外文名称'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="型号/图号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入型号/图号'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="外文名称"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入外文名称'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="标注级别"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入标准级别'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="标准号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入标准号'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="序号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入序号'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="型号/图号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入型号/图号'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='上传图片' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="标注级别"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入标准级别'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="标准号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入标准号'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="序号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入序号'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管理参数 |
| | | </a-divider> |
| | |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="positionCode" label="库位号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入库位号'" v-model="model.positionCode" :disabled="disableSubmit"/> |
| | | <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="库位号"> |
| | | <a-select |
| | | :disabled="disableSubmit" |
| | | :triggerChange="true" |
| | | :options="locationCodeOptions" |
| | | v-model="model.positionCode" |
| | | /> |
| | | </a-form-item> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | |
| | | <script> |
| | | import { getAction,postAction, httpAction } from '@/api/manage' |
| | | import { validateDuplicateValueInDelFlag } from '@/utils/util' |
| | | import JSelectProduction from '@comp/jeecgbiz/JSelectProduction.vue' |
| | | import { getSystemConfigValue } from '@api/api' |
| | | import { duplicateCheck } from '@/api/api'//重复校验 |
| | | import { duplicateCheck } from '@/api/api'//重复校验 |
| | | import { ajaxGetDictItems } from '@/api/api' |
| | | |
| | | export default { |
| | | name: 'ParaHoleToolsModal', |
| | |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | }, |
| | | locationCodeOptions:[] |
| | | } |
| | | }, |
| | | created() { |
| | | ajaxGetDictItems("tms_goods_shelves,location_code,id", null).then((res) => { |
| | | if (res.success) { |
| | | this.locationCodeOptions = res.result |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | add(nodeSelected) { |