Commit bd87aaa767ebea597867f6560d80226b9be7cb99

Authored by 肖超群
2 parents 0e594c95 7c89d145

Merge branch 'develop' of http://www.huahengrobot.com:90/wms/wms4 into develop

ant-design-vue-jeecg/src/views/system/QuartzJobList.vue
... ... @@ -176,6 +176,7 @@ export default {
176 176 title: '操作',
177 177 dataIndex: 'action',
178 178 align: "center",
  179 + fixed: "right",
179 180 width: 180,
180 181 scopedSlots: {customRender: 'action'},
181 182 }
... ...
ant-design-vue-jeecg/src/views/system/config/modules/ZoneForm.vue
... ... @@ -14,8 +14,12 @@
14 14 </a-form-model-item>
15 15 </a-col>
16 16 <a-col :span="24">
17   - <a-form-model-item label="包含库位类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="locationTypeCode">
18   - <a-input v-model="model.locationTypeCode" placeholder="请输入包含库位类型编码,用英文逗号分割"></a-input>
  17 + <a-form-model-item label="绑定的库位类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="locationTypeCode">
  18 + <j-select-multiple
  19 + v-model="model.locationTypeCode"
  20 + :options="locationTypeList"
  21 + placeholder="请选择库位类型">
  22 + </j-select-multiple>
19 23 </a-form-model-item>
20 24 </a-col>
21 25 </a-row>
... ... @@ -28,6 +32,7 @@
28 32  
29 33 import {httpAction, getAction} from '@/api/manage'
30 34 import {validateDuplicateValue} from '@/utils/util'
  35 +import {getLocationTypeList} from '@/api/api'
31 36  
32 37 export default {
33 38 name: 'ZoneForm',
... ... @@ -42,6 +47,7 @@ export default {
42 47 },
43 48 data() {
44 49 return {
  50 + locationTypeList: [],
45 51 model: {},
46 52 labelCol: {
47 53 xs: {span: 24},
... ... @@ -78,8 +84,18 @@ export default {
78 84 created() {
79 85 //备份model原始值
80 86 this.modelDefault = JSON.parse(JSON.stringify(this.model));
  87 + this.loadFrom();
81 88 },
82 89 methods: {
  90 + loadFrom() {
  91 + getLocationTypeList().then((res) => {
  92 + if (res.success) {
  93 + this.locationTypeList = res.result.map((item, index, arr) => {
  94 + return {label: item.name, value: item.code}
  95 + })
  96 + }
  97 + });
  98 + },
83 99 add() {
84 100 this.edit(this.modelDefault);
85 101 },
... ...