代码优化
This commit is contained in:
parent
de74bcd662
commit
3d2d88b8fe
|
|
@ -29,6 +29,7 @@ declare module 'vue' {
|
|||
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElHeader: typeof import('element-plus/es')['ElHeader']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElImage: typeof import('element-plus/es')['ElImage']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
|
|
@ -36,6 +37,7 @@ declare module 'vue' {
|
|||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElPageHeader: typeof import('element-plus/es')['ElPageHeader']
|
||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
||||
ElProgress: typeof import('element-plus/es')['ElProgress']
|
||||
|
|
@ -45,6 +47,7 @@ declare module 'vue' {
|
|||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElStep: typeof import('element-plus/es')['ElStep']
|
||||
ElSteps: typeof import('element-plus/es')['ElSteps']
|
||||
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTag: typeof import('element-plus/es')['ElTag']
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ const handleViewBack = async (goods: any, row: any) => {
|
|||
type: 'warning',
|
||||
})
|
||||
.then(() => {
|
||||
return passApi({ orderId: row.orderId, orderStatus: 5, maIds: [goods.maId] })
|
||||
return passApi({ orderId: row.orderId, orderStatus: 20, maIds: [goods.maId] })
|
||||
})
|
||||
.then((res: any) => {
|
||||
if (res.code === 200) {
|
||||
|
|
@ -236,7 +236,7 @@ const handleViewBackAll = (row: any) => {
|
|||
type: 'warning',
|
||||
})
|
||||
.then(() => {
|
||||
return passApi({ orderId: row.orderId, orderStatus: 5 })
|
||||
return passApi({ orderId: row.orderId, orderStatus: 20 })
|
||||
})
|
||||
.then((res: any) => {
|
||||
if (res.code === 200) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue