|
|
@@ -78,7 +78,7 @@
|
|
|
<script>
|
|
|
import AppSearchModule from "@/components/module/app-search";
|
|
|
import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
-import ItemStock from "./components/ItemStock";
|
|
|
+import ItemStock from "./components/item";
|
|
|
import productMins from "@/mixins/product";
|
|
|
import { mapGetters } from "vuex";
|
|
|
import { getWeixinId } from "@/api/invite/index";
|
|
|
@@ -123,10 +123,8 @@ export default {
|
|
|
if(this.option.delStatus){
|
|
|
this.delStatus = this.option.delStatus
|
|
|
}
|
|
|
- if(this.option.warning){
|
|
|
- this.warning = this.option.warning
|
|
|
- }
|
|
|
- this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus,warning:this.warning,requestType:'itemList'})
|
|
|
+ let requestType = this.option.warning && this.option.warning == 1 ? 'warning' : 'itemList'
|
|
|
+ this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus,requestType:requestType})
|
|
|
let that = this
|
|
|
getWeixinId().then(res => {
|
|
|
that.getAppIdList = res.data
|