徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jiuhaoshenghuo/public/view_store/js/chunk-b4a05504.61926816.js

1 line
127 KiB

2 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b4a05504"],{"1a4d":function(t,e,i){},5953:function(t,e,i){"use strict";var a=i("1a4d"),o=i.n(a);o.a},"5e79":function(t,e,i){"use strict";var a=i("c9cc"),o=i.n(a);o.a},"696b":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{staticClass:"ivu-mt pt10",attrs:{bordered:!1,"dis-hover":""}},[i("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition}},[i("Row",{attrs:{type:"flex",gutter:24}},[i("Col",[i("FormItem",{attrs:{label:"商品分类:",labelWidth:80,"label-for":"cate_id"}},[i("el-cascader",{staticStyle:{width:"250px"},attrs:{placeholder:"请选择商品分类",size:"mini",options:t.cateData,props:t.props,filterable:"",clearable:""},on:{change:t.search},model:{value:t.formValidate.cate_id,callback:function(e){t.$set(t.formValidate,"cate_id",e)},expression:"formValidate.cate_id"}})],1)],1),i("Col",[i("FormItem",{attrs:{label:"商品展示:",labelWidth:80,"label-for":"show_type"}},[i("Select",{staticStyle:{width:"250px"},attrs:{placeholder:"请选择",clearable:""},on:{"on-change":t.search},model:{value:t.formValidate.show_type,callback:function(e){t.$set(t.formValidate,"show_type",e)},expression:"formValidate.show_type"}},[i("Option",{attrs:{value:"0"}},[t._v("全部")]),i("Option",{attrs:{value:"1"}},[t._v("移动端")]),i("Option",{attrs:{value:"2"}},[t._v("收银台")])],1)],1)],1),i("Col",[i("FormItem",{attrs:{label:"商品搜索:",labelWidth:80,"label-for":"store_name"}},[i("Input",{staticStyle:{width:"250px"},attrs:{"enter-button":"",placeholder:"请输入商品名称,关键字,ID"},model:{value:t.formValidate.store_name,callback:function(e){t.$set(t.formValidate,"store_name",e)},expression:"formValidate.store_name"}})],1)],1),i("Col",[i("div",{staticClass:"search",on:{click:t.search}},[t._v("搜索")])]),i("Col",[i("div",{staticClass:"reset",on:{click:t.reset}},[t._v("重置")])])],1)],1)],1),i("Card",{staticClass:"mt15 tablebox",attrs:{bordered:!1,"dis-hover":""}},[i("div",{staticClass:"product_tabs tabbox"},[i("Tabs",{on:{"on-click":t.onClickTab},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},t._l(t.headerList,(function(t,e){return i("TabPane",{key:e,attrs:{label:t.name+"("+t.count+")",name:t.type.toString()}})})),1)],1),i("div",{staticClass:"table mt20"},[1==t.product_status?i("router-link",{attrs:{to:t.routePre+"/product/edit_product"}},[i("Button",{staticClass:"bnt",attrs:{type:"primary"}},[t._v("添加商品")])],1):t._e(),i("Tooltip",{attrs:{content:"本页至少选中一项",disabled:!!t.checkUidList.length&&0==t.isAll}},[i("Button",{directives:[{name:"show",rawName:"v-show",value:"1"===t.formValidate.type,expression:"formValidate.type === '1'"}],staticClass:"bnt ml15",attrs:{disabled:!t.checkUidList.length&&0==t.isAll},on:{click:t.onDismount}},[t._v("批量下架")])],1),i("Tooltip",{attrs:{content:"本页至少选中一项",disabled:!!t.checkUidList.length&&0==t.isAll}},[i("Button",{directives:[{name:"show",rawName:"v-show",value:"2"===t.formValidate.type,expression:"formValidate.type === '2'"}],staticClass:"bnt ml15",attrs:{disabled:!t.checkUidList.length&&0==t.isAll},on:{click:t.onShelves}},[t._v("批量上架")])],1),i("Tooltip",{attrs:{content:"本页至少选中一项",disabled:!!t.checkUidList.length&&0==t.isAll}},[i("Button",{staticClass:"bnt ml15",attrs:{disabled:!t.checkUidList.length&&0==t.isAll},on:{click:t.openBatch}},[t._v("批量设置")])],1),i("vxe-table",{ref:"xTable",staticClass:"mt25",attrs:{loading:t.loading,"row-id":"id","checkbox-config":{reserve:!0},data:t.orderList},on:{"checkbox-all":t.checkboxAll,"checkbox-change":t.checkboxItem}},[i("vxe-column",{attrs:{type:"checkbox",width:"100"},scopedSlots:t._u([{key:"header",fn:function(){return[i("div",[i("Dropdown",{attrs:{transfer:""},on:{"on-click":t.allPages},scopedSlots:t._u([{key:"list",fn:function(){return[i("DropdownMenu",[i("DropdownItem",{attrs:{name:"0"}