linwenxin 9 kuukautta sitten
vanhempi
commit
bd5cb80076

+ 11 - 8
src/views/auxiliaryFittings/AuxiliaryAccessoriesWarehouse/index.vue

@@ -451,15 +451,18 @@ export default {
             })
           } else {
             websitGoodsMoveAdd({ ...this.formData }).then(res => {
-              websitGoodsMoveSubmit({ id: this.formData.id }).then(res => {
-                websitGoodsMoveConfirm({ id: this.formData.id, statusEnum: 'OK' }).then(res => {
-                  this.$message({
-                    type: 'success',
-                    message: `审核成功!`
+              websitGoodsMoveDetail({ id: this.formData.id }).then(res => {
+                Object.assign(this.formData, res.data)
+                websitGoodsMoveSubmit({ id: this.formData.id }).then(res => {
+                  websitGoodsMoveConfirm({ id: this.formData.id, statusEnum: 'OK' }).then(res => {
+                    this.$message({
+                      type: 'success',
+                      message: `审核成功!`
+                    })
+                    cancel('list')
+                    this.$refs.pageRef.refreshList()
+                    // 备注
                   })
-                  cancel('list')
-                  this.$refs.pageRef.refreshList()
-                  // 备注
                 })
               })
             })