|
|
@@ -41,7 +41,8 @@ export default {
|
|
|
globalIsRequesting:false,
|
|
|
globalCgMyCharge:0,
|
|
|
globalLookStock:0,
|
|
|
- globalDefaultClassId:0
|
|
|
+ globalDefaultClassId:0,
|
|
|
+ globalOnStock:0
|
|
|
};
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
@@ -172,7 +173,7 @@ export default {
|
|
|
}
|
|
|
let that = this
|
|
|
getItemList({classId:this.globalClassId,requestType:this.globalRequestType,page:this.globalPage,
|
|
|
- search:this.globalPy,customId:this.globalCustomId,globalCgMyCharge:this.globalCgMyCharge,lookStock:this.globalLookStock}).then(res=>{
|
|
|
+ search:this.globalPy,customId:this.globalCustomId,globalCgMyCharge:this.globalCgMyCharge,lookStock:this.globalLookStock,onStock:this.globalOnStock}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
that.globalItemData = that.globalPage == 1 ? res.data.list : that.globalItemData.concat(res.data.list)
|
|
|
if(res.data.moreData == 1){
|