|
@@ -864,7 +864,7 @@
|
|
})
|
|
})
|
|
toPromise().then((response) => {
|
|
toPromise().then((response) => {
|
|
if (this.reader) {
|
|
if (this.reader) {
|
|
- this.reader.cancel()
|
|
|
|
|
|
+ this.reader.cancel()
|
|
}
|
|
}
|
|
this.$notify({
|
|
this.$notify({
|
|
title: '成功',
|
|
title: '成功',
|
|
@@ -1029,6 +1029,17 @@
|
|
grossWeight(this.weighingList)
|
|
grossWeight(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+ getweighing({
|
|
|
|
+ id: response
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.weighingList = response
|
|
|
|
+ this.inspect = JSON.parse(
|
|
|
|
+ JSON.stringify(this.weighingList)
|
|
|
|
+ )
|
|
|
|
+ this.isShowPrint = true
|
|
|
|
+ })
|
|
if (this.reader) {
|
|
if (this.reader) {
|
|
this.reader.cancel()
|
|
this.reader.cancel()
|
|
}
|
|
}
|
|
@@ -1043,9 +1054,7 @@
|
|
})
|
|
})
|
|
|
|
|
|
// debugger
|
|
// debugger
|
|
- this.inspect = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
|
|
|
|
- this.isShowPrint = true
|
|
|
|
this.weighingList = {
|
|
this.weighingList = {
|
|
grossWeight: 0,
|
|
grossWeight: 0,
|
|
selfLoading: 0,
|
|
selfLoading: 0,
|
|
@@ -1092,7 +1101,28 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
tabClick(val) {
|
|
tabClick(val) {
|
|
- this.weighingList = []
|
|
|
|
|
|
+ this.weighingList = {
|
|
|
|
+ grossWeight: 0,
|
|
|
|
+ tare: 0,
|
|
|
|
+ tips: '',
|
|
|
|
+ buckleMiscellaneous: 0,
|
|
|
|
+ netWeight: 0,
|
|
|
|
+ receivableWeighingFee: '',
|
|
|
|
+ warehouseInOutDetail: {
|
|
|
|
+ grade: '',
|
|
|
|
+ imperfectGrain: '',
|
|
|
|
+ impurity: '',
|
|
|
|
+ jiaorenli: '',
|
|
|
|
+ bulkDensity: '',
|
|
|
|
+ mildewGrain: '',
|
|
|
|
+ },
|
|
|
|
+ qualityInspectionManagement: {
|
|
|
|
+ boxNo: '暂无',
|
|
|
|
+ boxNoOther: '暂无',
|
|
|
|
+ titleNo: '暂无',
|
|
|
|
+ titleNoOther: '暂无',
|
|
|
|
+ },
|
|
|
|
+ }
|
|
this.index = val
|
|
this.index = val
|
|
// this.disabled=true
|
|
// this.disabled=true
|
|
if (val == 0) {
|
|
if (val == 0) {
|