teddyhuang преди 5 години
родител
ревизия
7864d3c157
променени са 2 файла, в които са добавени 5 реда и са изтрити 4 реда
  1. +4
    -3
      app/src/components/Inventory.vue
  2. +1
    -1
      src/main/java/com/moze/rms/dao/AssertDAO.java

+ 4
- 3
app/src/components/Inventory.vue Целия файл

@@ -507,21 +507,22 @@
});
},
clearSinglePropInSearchItem(key) {
console.log(key);
const self = this;
this.searchItem[key] = null;
console.log(this.searchItem);
this.haveSearch = false;
Object.keys(this.searchItem).forEach(function(key){
if (self.searchItem[key] !== null) {
if (self.searchItem[key] && self.searchItem[key] !== null) {
this.haveSearch = true;
}
});
this.getInventories();
},
async clearSearchItem() {
const self = this;
Object.keys(this.searchItem).forEach(function(key){
self.searchItem[key] = null;
});
this.getInventories();
// this.searchItem = {};
// await this.cols.forEach((item) => {
// this.searchItem[item.colname] = null;


+ 1
- 1
src/main/java/com/moze/rms/dao/AssertDAO.java Целия файл

@@ -96,7 +96,7 @@ public interface AssertDAO extends SqlObject {
sql += "'資產群組',";
sql += "'0',";
sql += "'nvarchar',";
sql += "'2',";
sql += "'1',";
sql += "'true',";
sql += "'true',";
sql += "'true',";


Зареждане…
Отказ
Запис