|
@@ -944,6 +944,13 @@
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
+ if (!this.weighingList.binNumber) {
|
|
|
+ this.$message({
|
|
|
+ message: '仓位号不能为空',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.tpyeNo == 1) {
|
|
|
if (!this.weighingList.tare) {
|
|
|
this.$message({
|
|
@@ -1098,6 +1105,7 @@
|
|
|
var weighingList1 = JSON.parse(JSON.stringify(this.weighingList))//为了解除双向绑定问题,不影响this.weighingList的数据
|
|
|
weighingList1.id = this.weighingList.warehouseInOutId
|
|
|
weighingList1.warehouseInOutDetail.id = this.weighingList.inOutDetailId
|
|
|
+ console.log(weighingList1)
|
|
|
addstorageputList(weighingList1)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -1202,6 +1210,7 @@
|
|
|
var weighingList1 = JSON.parse(JSON.stringify(this.weighingList))//为了解除双向绑定问题,不影响this.weighingList的数据
|
|
|
weighingList1.id = this.weighingList.warehouseInOutId
|
|
|
weighingList1.warehouseInOutDetail.id = this.weighingList.inOutDetailId
|
|
|
+ console.log(weighingList1)
|
|
|
addstorageputList(weighingList1)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -1239,8 +1248,6 @@
|
|
|
message: '提交成功',
|
|
|
type: 'success',
|
|
|
})
|
|
|
-
|
|
|
- // debugger
|
|
|
this.inspect = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
|
|
this.isShowPrint = true
|