| | |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="positionCode" label="库位号"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入库位号'" v-model="model.positionCode" :disabled="disableSubmit"/> |
| | | <a-select |
| | | :disabled="disableSubmit" |
| | | :triggerChange="true" |
| | | :options="locationCodeOptions" |
| | | v-model="model.positionCode" |
| | | /> |
| | | </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: 'ParaCommonToolModal', |
| | |
| | | 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) { |