|
@@ -216,7 +216,6 @@
|
|
|
})
|
|
|
},
|
|
|
warehouseNameChange(e) {
|
|
|
- console.log(this.warehouseList)
|
|
|
for (let i = 0; i < this.warehouseList.length; i++) {
|
|
|
if (this.warehouseList[i].value == e) {
|
|
|
this.warehouseName = this.warehouseList[i].value
|
|
@@ -332,7 +331,6 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- console.log(response)
|
|
|
this.inspect = response.records
|
|
|
|
|
|
this.deptBudgetTotal = response.total
|
|
@@ -340,24 +338,20 @@
|
|
|
})
|
|
|
},
|
|
|
print(row) {
|
|
|
- console.log(row)
|
|
|
-
|
|
|
getinspectLook({
|
|
|
id: row.id,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- let printString = row.id+","+1
|
|
|
- getQRcode({printString}).toPromise()
|
|
|
- .then((res) => {
|
|
|
- this.isShowPrint = true
|
|
|
- this.printData = response
|
|
|
- this.printData.qrCodeUrl = res
|
|
|
- })
|
|
|
+ // let printString = localStorage.getItem('ws-pf_compId') + "," + row.qualityNo + "," + this.cangid
|
|
|
+ // getQRcode({printString}).toPromise()
|
|
|
+ // .then((res) => {
|
|
|
this.isShowPrint = true
|
|
|
this.printData = response
|
|
|
+ // this.printData.qrCodeUrl = res
|
|
|
+ // })
|
|
|
if (response.compName == '黑龙江秋收有限公司') {
|
|
|
- this.printData.compName = '黑龙江中天昊元贸易有限公司'
|
|
|
+ this.printData.compName = '黑龙江中天昊元贸易有限公司'
|
|
|
}
|
|
|
// window.location.href="../../../static/inspection.html?dataList="+JSON.stringify(response)
|
|
|
})
|