b9c96c36 by lihua

编辑反显

1 parent dfaae3ec
......@@ -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 = detailInfo.value?.productCode;
item.default = detailInfo.value?.productCode || item.default || '';
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!