|
|
@ -55,6 +55,7 @@ |
|
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
|
@submitForm="submitForm" |
|
|
|
@inputNumberChange="inputNumberChange" |
|
|
|
@tableFormSelectOnBlur="tableFormSelectOnBlur" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
@ -72,6 +73,7 @@ |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
|
:detailValidate="detailValidate" |
|
|
|
@detailBasicFormOnChange="qtyOnChange" |
|
|
|
@onBlur="onBlur" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 创建标签 --> |
|
|
@ -634,6 +636,18 @@ const qtyOnChange = (field,val) =>{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const onBlur = (field, e) => { |
|
|
|
if (field == 'reason') { |
|
|
|
detailRef.value.formRef.formRef.formModel[field] = e.target.value |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const tableFormSelectOnBlur = (field, val, row, index) => { |
|
|
|
if (field == 'reason') { |
|
|
|
tableData.value[index][field] = val.target.value |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|
getList() |
|
|
|