|
|
@ -125,6 +125,13 @@ const updataTableColumns = (val) => { |
|
|
|
|
|
|
|
// 查询页面返回 |
|
|
|
const searchTableSuccess = (formField, searchField, val, formRef, type, row) => { |
|
|
|
console.log("formField",formField) |
|
|
|
console.log("searchField",searchField) |
|
|
|
console.log("val",val) |
|
|
|
console.log("formRef",formRef) |
|
|
|
console.log("type",row) |
|
|
|
|
|
|
|
|
|
|
|
nextTick(() => { |
|
|
|
if (type == 'tableForm') { |
|
|
|
// 明细查询页赋值 |
|
|
@ -170,6 +177,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
setV['purchaseReceiptRecordNumber'] = val[0]['number'] |
|
|
|
setV['supplierCode'] = val[0]['supplierCode'] |
|
|
|
setV['asnNumber'] = val[0]['asnNumber'] |
|
|
|
setV['ppNumber'] = val[0]['ppNumber'] |
|
|
|
|
|
|
|
// 获取子表数据 getBomDisassemble |
|
|
|
PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailList({ |
|
|
@ -374,7 +383,7 @@ const openForm = async (type: string, row?: number) => { |
|
|
|
/** 详情操作 */ |
|
|
|
const detailRef = ref() |
|
|
|
const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
|
detailRef.value.openDetail(row, titleName, titleValue) |
|
|
|
detailRef.value.openDetail(row, titleName, titleValue,'requestPurchasereturnMain') |
|
|
|
} |
|
|
|
|
|
|
|
/** 关闭按钮操作 */ |
|
|
|