|
|
@ -35,7 +35,8 @@ |
|
|
|
:apiUpdate="PurchaseclaimRequestMainApi.updatePurchaseclaimRequestMain" |
|
|
|
:apiCreate="PurchaseclaimRequestMainApi.createPurchaseclaimRequestMain" :isBusiness="true" |
|
|
|
@handleAddTable="handleAddTable" @handleDeleteTable="handleDeleteTable" @searchTableSuccess="searchTableSuccess" |
|
|
|
@submitForm="submitForm" /> |
|
|
|
@submitForm="submitForm" |
|
|
|
@inputStringBlur="inputStringBlur"/> |
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
|
<Detail ref="detailRef" :isBasic="false" :allSchemas="PurchaseclaimRequestMain.allSchemas" |
|
|
@ -430,6 +431,14 @@ |
|
|
|
} |
|
|
|
getList() // 刷新当前列表 |
|
|
|
} |
|
|
|
const inputStringBlur =(headerItem,index,row) =>{ |
|
|
|
console.log("headerItem:",headerItem) |
|
|
|
console.log("row:",row) |
|
|
|
if(headerItem == 'singlePrice'){ |
|
|
|
// 输入完单价离开事件(金额 = 数量 乘以 单价) |
|
|
|
row.amount = row.qty * row.singlePrice |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|