|
@@ -455,17 +455,23 @@ export default {
|
|
|
goodsMoveUpdate({ ...this.formData }).then(res => {
|
|
|
goodsMoveDetail({ id: this.formData.id }).then(res => {
|
|
|
Object.assign(this.formData, res.data)
|
|
|
- goodsMoveSubmit({ id: this.formData.id }).then(res => {
|
|
|
- goodsMoveConfirm({ id: this.formData.id, statusEnum: 'OK' }).then(res => {
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: `审核成功!`
|
|
|
+ goodsMoveSubmit({ id: this.formData.id })
|
|
|
+ .then(res => {
|
|
|
+ goodsMoveConfirm({ id: this.formData.id, statusEnum: 'OK' }).then(res => {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: `审核成功!`
|
|
|
+ })
|
|
|
+ cancel('list')
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
+ // 备注
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ goodsMoveDetail({ id: this.formData.id }).then(res => {
|
|
|
+ Object.assign(this.formData, res.data)
|
|
|
})
|
|
|
- cancel('list')
|
|
|
- this.$refs.pageRef.refreshList()
|
|
|
- // 备注
|
|
|
})
|
|
|
- })
|
|
|
})
|
|
|
})
|
|
|
}
|