mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 08:03:49 +08:00
Index content / bug completed, method of login checking in store/index.js added
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
show-action
|
||||
placeholder="请输入搜索关键词"
|
||||
@search="onSearch"
|
||||
@cancel="onCancel"
|
||||
class="rc-keyword"
|
||||
>
|
||||
<template #action>
|
||||
@@ -664,14 +665,20 @@ export default {
|
||||
element.checked = false;
|
||||
});
|
||||
},
|
||||
selectproduce(item) {
|
||||
this.$router.push({
|
||||
path: "/productdetails/producted",
|
||||
query: {
|
||||
stype: 1,
|
||||
productCode: item.productList[0].productCode,
|
||||
},
|
||||
});
|
||||
selectproduce(item,index){
|
||||
if(item.productList[0]==undefined){
|
||||
item.productlist[0].productCode=0;
|
||||
}
|
||||
if(item.productList[0]==undefined){
|
||||
item.productlist[0]=[];
|
||||
}
|
||||
this.$router.push({
|
||||
path: "/productdetails/producted",
|
||||
query: {
|
||||
stype: 1,
|
||||
productCode:item.productList[0].productCode
|
||||
},
|
||||
});
|
||||
},
|
||||
checkRxGoods(toggleSwitch){
|
||||
let _self = this;
|
||||
@@ -769,6 +776,10 @@ export default {
|
||||
onSearch(e) {
|
||||
this.usetmessage(this.activeIndex1, this.value);
|
||||
},
|
||||
onCancel() {
|
||||
debugger;
|
||||
this.value='';
|
||||
},
|
||||
selectGoods(item, index, onlyRefreshCategory) {
|
||||
this.activeIndex1 = index;
|
||||
this.resetAllOptions();
|
||||
|
||||
Reference in New Issue
Block a user