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