|
@@ -177,9 +177,9 @@
|
|
|
console.log(localStorage.getItem('ws-pf_compName'))
|
|
|
this.deptBudgetList.renown=localStorage.getItem('ws-pf_compName')
|
|
|
// })
|
|
|
+ this.db=await global.default.openDB('warehouseReceipt')
|
|
|
if(localStorage.getItem('warehouseReceiptdata')){
|
|
|
this.deptBudgetList=JSON.parse(localStorage.getItem('warehouseReceiptdata'))
|
|
|
- this.db=await global.default.openDB('warehouseReceipt')
|
|
|
var data=await global.default.getDataByKey(this.db,'signalChat',1)
|
|
|
if(data){
|
|
|
if(data.modification&&data.modification.length>0){
|
|
@@ -372,7 +372,9 @@
|
|
|
if (_data[i].warehouseName == val) {
|
|
|
var data=await global.default.getDataByKey(this.db,'signalChat',1)
|
|
|
if(data){
|
|
|
- global.default.deleteDB(this.db,'signalChat',1)
|
|
|
+ if(data.modification&&data.modification.length>0){
|
|
|
+ global.default.deleteDB(this.db,'signalChat',1)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
this.goodstext='已选0辆车'
|