This commit is contained in:
hayu 2025-08-26 23:47:59 +08:00
parent 3226b3ce4f
commit 31b32f4f2f
3 changed files with 11 additions and 4 deletions

View File

@ -73,7 +73,7 @@ export function getUseringData(query) {
// 领用申请提交-新增
export function receiveSubmit(data) {
return request({
url: '/material/directRotation/submit',
url: '/material/directRotation/submitNew',
method: 'post',
data
})

View File

@ -232,7 +232,7 @@
@click="handleSave"
v-if="!isDetail"
>
{{ isEdit ? '保存' : '发起申请' }}
{{ isEdit ? '保存' : '发起提交' }}
</el-button>
<el-button
type="primary"
@ -1047,7 +1047,7 @@ export default {
if (this.selectedDataArray.length > 0) {
this.$refs['maForm'].validate(valid => {
if (valid) {
this.$modal.confirm('是否确认申请').then(async () => {
this.$modal.confirm('是否确认提交').then(async () => {
const isPass = this.multipleSelection.every(item => {
return item.directNum
})

View File

@ -971,6 +971,7 @@ export default {
//
synchSubmit() {
const loading = this.$loading({ text: '同步中...' })
const params = {
checkTimeSynch: this.dataSynch.checkTimeSynch,
nextCheckTimeSynch: this.dataSynch.nextCheckTimeSynch,
@ -990,9 +991,15 @@ export default {
pdfName: ''
}
this.dataSynch = {}
loading.close()
}
this.getList()
})
.finally(() => {
// 4. loading
loading.close();
// 5.
this.getList();
});
}
// handleExport() {