Browse Source

隐藏截止时间按钮+下架策略下物料分组改成下拉框

hella_online_20240815
wangyufei 3 months ago
parent
commit
e0dee287f5
  1. 23
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
  2. 3
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

23
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -157,13 +157,29 @@
:value="cur.value" :value="cur.value"
/> />
</el-select> </el-select>
<el-input key="物料分组" <el-select key="物料分组"
v-model="item.Value"
placeholder="请输入物料分组,多个物料分组以逗号分隔"
style="flex: 1"
clearable
multiple
collapse-tags
v-if="item.ParamCode == 'ItemGroup'"
>
<el-option
v-for="cur in getStrDictOptions(DICT_TYPE.ITEM_GROUP)"
:key="'物料分组Value'+cur.value"
:label="cur.label"
:value="cur.value"
/>
</el-select>
<!-- <el-input key="物料分组"
v-model="item.Value" v-model="item.Value"
placeholder="请输入物料分组,多个物料分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
/> /> -->
<el-input key="项目" <el-input key="项目"
v-model="item.Value" v-model="item.Value"
placeholder="请输入项目,多个项目以逗号分隔" placeholder="请输入项目,多个项目以逗号分隔"
@ -1064,6 +1080,9 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
/** 提交表单 */ /** 提交表单 */
const emit = defineEmits(['success']) // success const emit = defineEmits(['success']) // success
const submitForm = async () => { const submitForm = async () => {
console.log('规则条件',formData.value.condition)
// //
if (!formRef) return if (!formRef) return
const valid = await formRef.value.validate() const valid = await formRef.value.validate()

3
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

@ -206,6 +206,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
width: 180 width: 180
}, },
isTable: false, isTable: false,
isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -431,7 +432,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
isForm: false, isForm: false,
isSearch: false, isSearch: true,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

Loading…
Cancel
Save