|
|
@ -166,7 +166,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
|
setV['itemName'] = '' |
|
|
|
setV['standardCostPrice'] = '' |
|
|
|
setV['lightQty'] = 0 |
|
|
|
setV['claimAmount'] = 0 |
|
|
|
setV['claimAmount'] = '' |
|
|
|
setV['otherclaimAmount'] = 0 |
|
|
|
setV['summaryAmount'] = 0 |
|
|
|
setV['disbursementAmount'] = 0 |
|
|
@ -425,6 +425,13 @@ const handleFinish = async (id: number) => { |
|
|
|
const basicFormRef = ref() |
|
|
|
const openForm = (type: string, row?: any) => { |
|
|
|
basicFormRef.value.open(type, row) |
|
|
|
if(!row || !row.claimAmount){ |
|
|
|
nextTick(() => { |
|
|
|
basicFormRef.value.formRef.setValues({ |
|
|
|
claimAmount: '' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
if (type == 'create') { |
|
|
|
nextTick(() => { |
|
|
|
basicFormRef.value.formRef.setValues({ |
|
|
|