This commit is contained in:
parent
3226b3ce4f
commit
31b32f4f2f
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue