54426d6a by lxs

数据定价更新

1 parent 506e6520
......@@ -80,7 +80,7 @@ const baseConfigFormItems: any = ref([
options: [],
props: {
label: "damName",
value: "damGuid",
value: "guid",
},
clearable: true,
filterable: true,
......
......@@ -293,10 +293,11 @@ const formItems: any = ref([
placeholder: '请选择',
options: productList.value,
props: {
value: 'damGuid',
value: 'guid',
label: 'damName'
},
clearable: true,
filterable: true
},
{
label: '描述',
......@@ -666,6 +667,9 @@ const clickCreateGroup = () => {
formItems.value.map(item => {
if (item.field === 'orderNum') {
item.default = null;
} else if(item.field === 'damGuid'){
item.options = productList.value;
item.default = '';
} else {
item.default = "";
}
......@@ -950,7 +954,7 @@ onActivated(async () => {
const getProducts = () => {
getDamCatalogList({ dataType: userData.superTubeFlag == 'Y' ? "P" : "D", sceneType: "Z" }).then((res: any) => {
if (res.code == proxy.$passCode) {
const data = res.data.records || [];
const data = res.data || [];
productList.value = data;
}
})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!