|
|
@ -272,7 +272,8 @@ const handleDeleteTable = (item, index) => { |
|
|
|
|
|
|
|
// 主子数据 提交 |
|
|
|
const submitForm = async (formType, data) => { |
|
|
|
data.details = tableData.value // 拼接子表数据参数 |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
console.log(data); |
|
|
|
if (formType === 'create') { |
|
|
|
await PurchaseclaimRequestMainApi.createPurchaseclaimRequestMain(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|