Browse Source

Merge branch 'dev' into pre-production

fix_bug_pro20231227
pref_mail@163.com 1 year ago
parent
commit
1c7502ebc4
  1. 4
      src/views/mail/order/add.vue

4
src/views/mail/order/add.vue

@ -604,7 +604,7 @@
<script> <script>
import { import {
autonomouslySave, add,
update, update,
remove, remove,
getReservationInfo, getReservationInfo,
@ -2483,6 +2483,7 @@
// this.form.stockArticleList = this.packageList; // this.form.stockArticleList = this.packageList;
console.log('>>>>>>>>', this.form); console.log('>>>>>>>>', this.form);
if (this.reservationId) { if (this.reservationId) {
this.form.warehouseId = this.warehouseId;
this.form.id = this.reservationId; this.form.id = this.reservationId;
update(this.form).then(() => { update(this.form).then(() => {
this.$router.go(-1); this.$router.go(-1);
@ -2492,6 +2493,7 @@
}); });
}); });
} else { } else {
this.form.warehouseId = this.warehouseId;
add(this.form).then(() => { add(this.form).then(() => {
this.$message({ this.$message({
type: 'success', type: 'success',

Loading…
Cancel
Save