审批同意 变更优化

This commit is contained in:
‘huanghaiixia’
2026-01-14 11:05:28 +08:00
parent 5cf1c553ef
commit a635481219
8 changed files with 30 additions and 23 deletions

View File

@ -551,7 +551,7 @@
async function getFormValue() {
return formState
}
async function handleSubmit(type) {
async function handleSubmit(type, updateType) {
try {
await formRef.value.validateFields();
@ -567,7 +567,7 @@
lngFileUploadList: dataFile.value,
lngContractFactCpList: dataList.value,
lngContractApproRelList: dataListAppro.value,
approCode: pageType.value=='update' ? 'WTJ' : formState.approCode
approCode: pageType.value=='update'&&updateType ? 'WTJ' : formState.approCode
}
spinning.value = true;

View File

@ -517,7 +517,7 @@
async function getFormValue() {
return formState
}
async function handleSubmit(type) {
async function handleSubmit(type, updateType) {
try {
await formRef.value.validateFields();
let arr = contractQty.value.getQtyList()
@ -572,7 +572,7 @@
"uomCode": formState.uomCode,
}
],
approCode: pageType.value=='update' ? 'WTJ' : formState.approCode
approCode: pageType.value=='update'&&updateType ? 'WTJ' : formState.approCode
}
spinning.value = true;

View File

@ -541,7 +541,7 @@
async function getFormValue() {
return formState
}
async function handleSubmit(type) {
async function handleSubmit(type, updateType) {
try {
await formRef.value.validateFields();
let arr = contractQty.value.getQtyList()
@ -598,7 +598,7 @@
"uomCode": formState.uomCode,
}
],
approCode: pageType.value=='update' ? 'WTJ' : formState.approCode
approCode: pageType.value=='update'&&updateType ? 'WTJ' : formState.approCode
}
spinning.value = true;