Browse Source

预约入库修复提交之后默认类型丢失

dev-xx
马远东 4 months ago
parent
commit
3ac6a8aa47
  1. 3
      src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

3
src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

@ -1060,6 +1060,7 @@ export default {
message: '操作成功!', message: '操作成功!',
}); });
this.form = {}; this.form = {};
this.form.serviceType='2'
this.data = []; this.data = [];
} else { } else {
this.$message.warning('请添加物资详情!!!'); this.$message.warning('请添加物资详情!!!');
@ -1070,6 +1071,7 @@ export default {
this.form.totalInput = null; this.form.totalInput = null;
} }
this.form.type = '1'; this.form.type = '1';
this.form.serviceType='2'
this.form.list = this.data; this.form.list = this.data;
await update(this.form); await update(this.form);
this.box = false; this.box = false;
@ -1110,6 +1112,7 @@ export default {
}); });
}); });
this.form = {}; this.form = {};
this.form.serviceType='2'
this.data = []; this.data = [];
// //
this.$store.commit('DEL_TAG', this.$store.state.tags.tag); this.$store.commit('DEL_TAG', this.$store.state.tags.tag);

Loading…
Cancel
Save