Browse Source

HL-5563新增Q2通知单时,索赔金额框取消默认值0.00

hella_online_20240823
zhang_li 4 weeks ago
parent
commit
05a57ca0cb
  1. 9
      src/views/qms/inspectionQ2/index.vue

9
src/views/qms/inspectionQ2/index.vue

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

Loading…
Cancel
Save