Browse Source

上架策略

master
zhangli 1 year ago
parent
commit
4952d0660a
  1. 8
      src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue
  2. 4
      src/views/wms/strategy/upShelfStrategy/AddForm.vue
  3. 2
      src/views/wms/strategy/upShelfStrategy/index.vue

8
src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue

@ -48,7 +48,7 @@
</el-select>
<div class="checkbox">
<el-checkbox-group v-model="formData.supplierType">
<el-checkbox :label="item.label" v-for="item in options.supplierTypeCheckbox" :key="item.value" />
<el-checkbox :label="item.label" v-for="item in options.supplierTypeOptions" :key="item.value" />
</el-checkbox-group>
</div>
</el-form-item>
@ -73,7 +73,7 @@
</el-select>
<div class="checkbox">
<el-checkbox-group v-model="formData.week">
<el-checkbox :label="item.label" v-for="item in options.weekCheckbox" :key="item.value" />
<el-checkbox :label="item.label" v-for="item in options.weekOptions" :key="item.value" />
</el-checkbox-group>
</div>
</el-form-item>
@ -177,11 +177,11 @@ const options = reactive({
//
rangeOptions: [{ value: 1, label: '包含' }, { value: 2, label: '大于', }],
//
supplierTypeCheckbox: [{ value: 1, label: '标准' }, { value: 2, label: '委外' }, { value: 3, label: '其他' }],
supplierTypeOptions: [{ value: 1, label: '标准' }, { value: 2, label: '委外' }, { value: 3, label: '其他' }],
//
supplierList: [{ value: 1, label: '供应商1' }, { value: 2, label: '供应商2' }, { value: 3, label: '供应商3' }],
//
weekCheckbox: [{ value: 1, label: '星期一' }, { value: 2, label: '星期二' }, { value: 3, label: '星期三' }, { value: 4, label: '星期四' }, { value: 5, label: '星期五' }, { value: 6, label: '星期六' }, { value: 7, label: '星期日' }],
weekOptions: [{ value: 1, label: '星期一' }, { value: 2, label: '星期二' }, { value: 3, label: '星期三' }, { value: 4, label: '星期四' }, { value: 5, label: '星期五' }, { value: 6, label: '星期六' }, { value: 7, label: '星期日' }],
//
warehouseList: [{ value: 1, label: '仓库1' }, { value: 2, label: '仓库2' }, { value: 3, label: '仓库3' }],
//

4
src/views/wms/strategy/groundingStrategy/AddForm.vue → src/views/wms/strategy/upShelfStrategy/AddForm.vue

@ -196,7 +196,7 @@
</template>
<script setup lang="ts">
import * as defaultButtons from '@/utils/disposition/defaultButtons'
defineOptions({ name: 'GroundingStrategyAddForm' })
defineOptions({ name: 'UpShelfStrategyAddForm' })
const { t } = useI18n() //
const message = useMessage() //
@ -264,7 +264,7 @@ const rules = ref({
inventoryStatus: [{ required: true, message: '请选择库存状态', trigger: 'blur' }],
storageType: [{ required: true, message: '请选择存储类型', trigger: 'blur' }],
inventoryAffair: [{ required: true, message: '请选择库存事务', trigger: 'blur' }],
warehouse: [{ required: true, message: '请选择库', trigger: 'blur' }],
warehouse: [{ required: true, message: '请选择库', trigger: 'blur' }],
})
//

2
src/views/wms/strategy/groundingStrategy/index.vue → src/views/wms/strategy/upShelfStrategy/index.vue

@ -9,7 +9,7 @@
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import AddForm from './AddForm.vue'
defineOptions({ name: 'GroundingStrategy' })
defineOptions({ name: 'UpShelfStrategy' })
//
const formRef = ref()
const openForm = (type: string) => {
Loading…
Cancel
Save