|
@@ -537,7 +537,13 @@
|
|
|
save() {
|
|
save() {
|
|
|
if (this.clientEnvironmentId == 21) {
|
|
if (this.clientEnvironmentId == 21) {
|
|
|
console.log(this.List, 'List');
|
|
console.log(this.List, 'List');
|
|
|
|
|
+ if (!this.warehouseId) {
|
|
|
|
|
+ return this.$message.warning('请选择仓库');
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
+ this.List.forEach((item) => {
|
|
|
|
|
+ item.warehouseId = this.warehouseId;
|
|
|
|
|
+ });
|
|
|
jobSave(this.List).then((res) => {
|
|
jobSave(this.List).then((res) => {
|
|
|
console.log(res);
|
|
console.log(res);
|
|
|
this.$message.success('入库成功');
|
|
this.$message.success('入库成功');
|