|
@@ -23,7 +23,6 @@ var myGoods = new Vue({
|
|
smallTypeID:0,//二级
|
|
smallTypeID:0,//二级
|
|
tinyTypeID:0//三级
|
|
tinyTypeID:0//三级
|
|
},
|
|
},
|
|
- classFlyInfoArr:[{name:'全部',value:''}],
|
|
|
|
classificationFirstList:[],
|
|
classificationFirstList:[],
|
|
classificationTwoList:[],
|
|
classificationTwoList:[],
|
|
classificationThreeList:[],
|
|
classificationThreeList:[],
|
|
@@ -31,7 +30,7 @@ var myGoods = new Vue({
|
|
checkList:[],
|
|
checkList:[],
|
|
isCheckedAll:false,
|
|
isCheckedAll:false,
|
|
noMore:false,
|
|
noMore:false,
|
|
- isRequset:false
|
|
|
|
|
|
+ check:false,
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
pageTotal: function () {
|
|
pageTotal: function () {
|
|
@@ -143,7 +142,6 @@ var myGoods = new Vue({
|
|
GetThreeClassFn: function(value){//获取三级分类菜单
|
|
GetThreeClassFn: function(value){//获取三级分类菜单
|
|
var _this = this;
|
|
var _this = this;
|
|
PublicApi.GetThreeClassFication({smallTypeId:value},function (response) {
|
|
PublicApi.GetThreeClassFication({smallTypeId:value},function (response) {
|
|
- console.log(response,'三级分类')
|
|
|
|
if(response.code==0){
|
|
if(response.code==0){
|
|
if(response.data.length>0){
|
|
if(response.data.length>0){
|
|
_this.classificationThreeList = response.data;
|
|
_this.classificationThreeList = response.data;
|
|
@@ -283,7 +281,9 @@ var myGoods = new Vue({
|
|
location.href ='/supplier/release.html?productID='+pros.productID+'&type=edit';
|
|
location.href ='/supplier/release.html?productID='+pros.productID+'&type=edit';
|
|
},
|
|
},
|
|
ischeck: function(pros){//为未选中的时候改变为true,反之为true
|
|
ischeck: function(pros){//为未选中的时候改变为true,反之为true
|
|
|
|
+ var _this = this;
|
|
pros.productsChecked = !pros.productsChecked;
|
|
pros.productsChecked = !pros.productsChecked;
|
|
|
|
+ _this.check = ! _this.check;
|
|
this.updateCheckAllBtn();
|
|
this.updateCheckAllBtn();
|
|
},
|
|
},
|
|
updateCheckAllBtn: function() {// 全选勾选判断
|
|
updateCheckAllBtn: function() {// 全选勾选判断
|