Browse Source

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

hella_online_20240815
wangyufei 4 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"
/>
</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"
placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable
style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'"
/>
/> -->
<el-input key="项目"
v-model="item.Value"
placeholder="请输入项目,多个项目以逗号分隔"
@ -1064,6 +1080,9 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
/** 提交表单 */
const emit = defineEmits(['success']) // success
const submitForm = async () => {
console.log('规则条件',formData.value.condition)
//
if (!formRef) return
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
},
isTable: false,
isForm: false,
form: {
component: 'DatePicker',
componentProps: {
@ -431,7 +432,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
}
},
isForm: false,
isSearch: false,
isSearch: true,
search: {
component: 'DatePicker',
componentProps: {

Loading…
Cancel
Save