|
@@ -1869,17 +1869,19 @@ export default {
|
|
|
this.weighingList.boxNoOther = val.qualityInspectionManagement.boxNoOther
|
|
|
this.weighingList.titleNo = val.qualityInspectionManagement.titleNo
|
|
|
this.weighingList.titleNoOther = val.qualityInspectionManagement.titleNoOther
|
|
|
- if (this.tpyeNo == 2 && this.status == 1 && val && val.qualityInspectionManagement.confirm == 0 && this
|
|
|
- .warehouseName != '克东千丰库') {
|
|
|
- this.submitAllow = true
|
|
|
- this.$message({
|
|
|
- message: '该条质检信息未确认',
|
|
|
- type: 'warning'
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (this.tpyeNo == 2 && this.status == 1 && val && val.qualityInspectionManagement.confirm == 0 && this
|
|
|
+ // .warehouseName != '克东千丰库') {
|
|
|
+ // this.submitAllow = true
|
|
|
+ // this.$message({
|
|
|
+ // message: '该条质检信息未确认',
|
|
|
+ // type: 'warning'
|
|
|
+ // });
|
|
|
+ // }
|
|
|
this.paramType = val.qualityInspectionManagement.paramType
|
|
|
}
|
|
|
}
|
|
|
+ console.log(val)
|
|
|
+ this.weighingList.addressUrl = val.addressUrl
|
|
|
},
|
|
|
cancel() {
|
|
|
if (this.reader) {
|
|
@@ -2089,13 +2091,18 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ this.weighingList.addressUrl = this.weighingList.addressUrl+','+this.coverImgList.toString()
|
|
|
}
|
|
|
- if (this.tpyeNo == 2) {
|
|
|
- if (this.submitAllow) {
|
|
|
- this.$message.error('该条质检信息未确认')
|
|
|
- return
|
|
|
- }
|
|
|
+ else{
|
|
|
+ this.weighingList.addressUrl = this.coverImgList.toString()
|
|
|
}
|
|
|
+ // if (this.tpyeNo == 2) {
|
|
|
+ // if (this.submitAllow) {
|
|
|
+ // this.$message.error('该条质检信息未确认')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
this.$confirm('确定保存检斤信息?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -2104,7 +2111,7 @@ export default {
|
|
|
.then(() => {
|
|
|
this.deptBudgetList.secretaryWeigher =
|
|
|
localStorage.getItem('ws-pf_staffName')
|
|
|
- this.weighingList.addressUrl = this.coverImgList.toString()
|
|
|
+ // this.weighingList.addressUrl = this.coverImgList.toString()
|
|
|
var that = this
|
|
|
var warehousing = {}
|
|
|
//贸易入库保存需要再走入库接口
|