dfaae3ec by lihua

fix: 修复编辑反显

1 parent bfed5276
......@@ -571,7 +571,7 @@ onBeforeMount(() => {
baseInfoFormItems.value.forEach((item: any) => {
item.default = detailInfo.value[item.field] == null ? '' : detailInfo.value[item.field];
if (item.field == 'damName') {
item.default = item.productCode;
// item.default = detailInfo.value?.productCode;
if (detailInfo.value?.productCode) {
let item = catalogProductList.value.find(c => c.productId == detailInfo.value?.productCode);
!item && catalogProductList.value.push({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!