|
|
@ -267,7 +267,6 @@ |
|
|
|
/** 详情操作 */ |
|
|
|
const detailRef = ref() |
|
|
|
const openDetail = (row : any, titleName : any, titleValue : any) => { |
|
|
|
console.log("row",row.type); |
|
|
|
if(row.type == 'DISCRETE'){ |
|
|
|
PurchaseDetail.allSchemas.formSchema.map((item) => { |
|
|
|
if (item.field == 'orderQty') { |
|
|
@ -451,6 +450,7 @@ |
|
|
|
if(field == 'type' && cur == 'DISCRETE'){ |
|
|
|
PurchaseDetail.allSchemas.tableFormColumns.map((item) => { |
|
|
|
if (item.field == 'orderQty') { |
|
|
|
console.log("AAAAAA",item) |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|
}) |
|
|
@ -458,6 +458,7 @@ |
|
|
|
if(field == 'type' && cur == 'SCHEDULE'){ |
|
|
|
PurchaseDetail.allSchemas.tableFormColumns.map((item) => { |
|
|
|
if (item.field == 'orderQty') { |
|
|
|
console.log("BBBBB",item) |
|
|
|
item.tableForm.disabled = true |
|
|
|
} |
|
|
|
}) |
|
|
|