1 |
- webpackJsonp([1],{PSeb:function(e,t,n){"use strict";t.j=function(e){return Object(o.a)({url:"admin/stock/inventory/confirm/"+e,method:"post"})},t.e=function(e,t){return Object(o.a)({url:"admin/stock/inventory/"+e,method:"post",headers:{"Content-Type":"application/json"},data:t})},t.a=function(e){return Object(o.a)({url:"admin/stock/inventory",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.c=function(e){return Object(o.a)({url:"admin/stock/inventory/cancel/"+e,method:"post"})},t.b=function(e,t){return Object(o.a)({url:"admin/stock/inventory/audit/"+e,method:"post",data:t})},t.g=function(e){return Object(o.a)({url:"admin/stock/inventory/"+e,method:"get",loaidng:!1})},t.h=function(e){return Object(o.a)({url:"admin/stock/inventory",method:"get",loaidng:!1,params:e})},t.d=function(e){return Object(o.a)({url:"admin/stock/inventory/"+e,method:"delete"})},t.i=function(e){return Object(o.a)({url:"/admin/stock/inventory/syncStock/"+e,method:"get",loaidng:!1})},t.f=function(e,t){return Object(o.a)({url:"/admin/erp/warehouseOut/getGoodByWarehouseInventory/"+t,method:"get",loaidng:!1,params:e})};var o=n("vLgD")},Y38y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("Xxa5"),r=n.n(o),i=n("exGp"),s=n.n(i),a=n("Dd8w"),d=n.n(a),l=n("NYxO"),c=n("jQQ7"),u=n("PSeb"),p=n("dO7o"),m=n("hky6"),_=n("dClm"),v=(n("CIZm"),n("Pfph")),y={name:"goodsInventoryAdd",data:function(){return{loading:!1,adminList:[],dialogVisible:!1,warehouseList:[],deptList:[],deptListAll:[],id:"",type:"",goodsInventoryAddForm:{product_list:[],inventory_time:new Date,inventory_person_id:"",creator_id:""},goodsInventoryAddFormRule:{inventory_person_id:{required:!0,message:"请选择盘点人",trigger:"change"},warehouse_id:{required:!0,message:"请选择报损仓库",trigger:"change"},dept_id:{required:!0,message:"请选择所属部门",trigger:"change"},creator_id:{required:!0,message:"请选择制单人",trigger:"change"}},warehouseProduct:null,typeList:[],scanDialogVisible:!1,scanGoodsForm:{},sn_code:"",sn_code_list:[],index:"",selectBtn:!1}},computed:d()({},Object(l.b)(["user"]),{timeDefault:function(){var e=new Date;return e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" "+e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()}}),mounted:function(){"goodsInventoryAdd"===this.$route.name?(this.goodsInventoryAddForm.creator_id=this.user.uid,this.goodsInventoryAddForm.inventory_person_id=this.user.uid,this.goodsInventoryAddForm.dept_id=this.user.dept_id,this.goodsInventoryAddForm.inventory_time=this.timeDefault):"goodsInventoryDetail"===this.$route.name?this.type="detail":"goodsInventoryCheck"===this.$route.name&&(this.type="check",this.id=this.$route.params.id,this.GET_goodsInventoryAddDetail(),this.GET_AdministratorList(),this.GET_DeptList(),this.GET_WarehouseList()),this.GET_AdministratorList(),this.GET_DeptList(),this.GET_WarehouseList()},methods:{handleChangeInventoryType:function(e){var t=this;if(this.goodsInventoryAddForm.product_list=[],"ALL_INVENTORY"===e.value){if(!this.goodsInventoryAddForm.warehouse_id)return void this.$message.error("请先选择仓库!");this.loading=!0,u.f({page:1,size:1e4},this.goodsInventoryAddForm.warehouse_id).then(function(e){e.records.map(function(e){e.sn_code_list=[]}),t.goodsInventoryAddForm.product_list=e.records,t.selectBtn=!0,t.loading=!1}).catch(function(){t.loading=!1})}else this.selectBtn=!1},toSnCode:function(){var e=this;return s()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!=e.sku){t.next=2;break}return t.abrupt("return",e.$message.error("请录入正确的sku"));case 2:return t.next=4,p.l("inventory",e.sku,e.sn_code.replace(/\s+/g,"")).then(function(){var t=s()(r.a.mark(function t(n){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.sn_code="",e.goodsInventoryAddForm.product_list[e.index].sn_code_list.find(function(e){return e.sn_code===n.sn_code&&e.sku===n.sku})){t.next=9;break}if(!e.id){t.next=8;break}return t.next=6,p.o({send_order_id:e.id,item_id:e.goodsInventoryAddForm.product_list[e.index].id,sku:n}).then(function(t){e.goodsInventoryAddForm.product_list[e.index].sn_code_list.push(n)});case 6:t.next=9;break;case 8:e.goodsInventoryAddForm.product_list[e.index].sn_code_list.push(n);case 9:e.goodsInventoryAddForm.product_list[e.index].inventory_num=e.goodsInventoryAddForm.product_list[e.index].sn_code_list.length,console.log(e.goodsInventoryAddForm.product_list,e.goodsInventoryAddForm.product_list[e.index].sn_code_list.length),e.scanGoodsForm.bar_code="",e.$nextTick(function(){e.$refs.input.focus()});case 13:case"end":return t.stop()}},t,e)}));return function(e){return t.apply(this,arguments)}}());case 4:case"end":return t.stop()}},t,e)}))()},toSearch:function(){var e=this;p.k(this.goodsInventoryAddForm.warehouse_id,this.scanGoodsForm.bar_code.replace(/\s+/g,"")).then(function(t){t.sn_code_list=[],e.sku=t.product_vo.sku;var n=e.goodsInventoryAddForm.product_list.findIndex(function(e){return console.log("Comparing with:",e),e.goods_id===t.goods_id&&e.product_id===t.product_id&&e.warehouse_id===t.warehouse_id&&e.product_vo.sku===t.product_vo.sku});-1===n?(e.index=e.goodsInventoryAddForm.product_list.length,e.goodsInventoryAddForm.product_list.push(t)):e.index=n,t.product_vo.have_sn?e.$nextTick(function(){e.$refs.sn_input.focus()}):e.goodsInventoryAddForm.product_list[e.index].num+=1})},scanCode:function(){var e=this;this.goodsInventoryAddForm.warehouse_id?this.goodsInventoryAddForm.inventory_type?(this.scanDialogVisible=!0,this.$nextTick(function(){e.$refs.input.focus()})):this.$message.error("请选择盘点类型!"):this.$message.error("请选择仓库!")},getadminList:function(e){var t=this.adminList.find(function(t){return t.id===e});return t?t.real_name:"未知类型"},getRoleSplit:function(e){var t=this.typeList.find(function(t){return t.id===e});return t?t.label:"未知类型"},getWarehouse:function(e){var t=this.warehouseList.find(function(t){return t.id===e});return t?t.name:"未知类型"},printIng:function(){},forceUpdate:function(){this.$forceUpdate()},cleanGoodsList:function(){this.goodsInventoryAddForm.product_list=[]},GET_AdministratorList:function(){var e=this;v.i({page_no:1,page_size:9999,user_state:0}).then(function(t){e.adminList=t.data})},handlePassGoodsInventory:function(){var e=this;this.$confirm("确定通过吗?","提示",{type:"warning"}).then(function(){u.b(e.id,{status:"PASS"}).then(function(){e.$message.success("已通过!");var t=e.$route.params.callback;"function"==typeof t&&t(),e.$store.dispatch("delCurrentViews",{view:e.$route,$router:e.$router}),e.$router.push({name:"goodsInventory"})})}).catch(function(){})},handleRejectGoodsInventory:function(){var e=this;this.goodsInventoryAddForm.reject_reason?this.$confirm("确定拒绝吗?","提示",{type:"warning"}).then(function(){u.b(e.id,{status:"REJECT",reject_reason:e.goodsInventoryAddForm.reject_reason}).then(function(){e.$message.success("已拒绝!");var t=e.$route.params.callback;"function"==typeof t&&t(),e.$store.dispatch("delCurrentViews",{view:e.$route,$router:e.$router}),e.$router.push({name:"goodsInventory"})})}).catch(function(){}):this.$message.error("请填写驳回原因!")},changewarehouseList:function(e){this.$set(this.goodsInventoryAddForm,"warehouse_id",""),this.GET_WarehouseList({dept_id:e}),this.cleanGoodsList()},GET_WarehouseList:function(e){var t=this;_.G().then(function(e){t.warehouseList=e})},submitGoodsInventoryAddForm:function(){var e=this;this.$refs.goodsInventoryAddForm.validate(function(t){if(t){var n=e.goodsInventoryAddForm.id,o=e.MixinClone(e.goodsInventoryAddForm);o.inventory_type=o.inventory_type.id,o.dept_id&&(o.dept_name=e.deptListAll.find(function(e){return e.id===o.dept_id}).name),o.warehouse_id&&(o.warehouse_name=e.warehouseList.find(function(e){return e.id===o.warehouse_id}).name),o.creator_id&&(o.creator=e.adminList.find(function(e){return e.id===o.creator_id}).real_name),o.inventory_person_id&&(o.inventory_person=e.adminList.find(function(e){return e.id===o.inventory_person_id}).real_name),o.product_list=o.product_list.map(function(e){return{diff_num:e.usable_stock-e.inventory_num,inventory_num:1*e.inventory_num,product_name:e.product_name,product_sn:e.product_sn,product_id:e.product_id,specification:e.product_specification,unit:e.product_unit,remark:e.remark,product_stock_id:e.id,sn_code_list:e.sn_code_list}}),n?u.e(n,o).then(function(t){e.$message.success("修改成功!");var n=e.$route.params.callback;"function"==typeof n&&n(),e.$store.dispatch("delCurrentViews",{view:e.$route,$router:e.$router}),e.$router.push({name:"goodsInventory"})}):u.a(o).then(function(){e.$message.success("添加成功!");var t=e.$route.params.callback;"function"==typeof t&&t(),e.$store.dispatch("delCurrentViews",{view:e.$route,$router:e.$router}),e.$router.push({name:"goodsInventory"})})}})},handleSelectWarehouseEntryBatch:function(){var e=this;return s()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.goodsInventoryAddForm.warehouse_id){t.next=3;break}return e.$message.error("请先选择仓库!"),t.abrupt("return");case 3:return t.next=5,e.$EnwarehouseEntryBatch({goodsApi:"/admin/erp/warehouseOut/getGoodByWarehouseInventory/"+e.goodsInventoryAddForm.warehouse_id,warehouseList:e.warehouseList,selectedIds:e.id?e.goodsInventoryAddForm.product_list&&e.goodsInventoryAddForm.product_list.map(function(e){return e.id}):e.goodsInventoryAddForm.product_list.map(function(e){return e.id}),purchasePlanApiParams:{warehouse_id:e.goodsInventoryAddForm.warehouse_id}});case 5:n=t.sent,e.goodsInventoryAddForm.warehouse_id=n.warehouse_id,n.purchasePlans.map(function(e){e.sn_code_list=[]}),console.log(n.purchasePlans),e.goodsInventoryAddForm.product_list=n.purchasePlans;case 10:case"end":return t.stop()}},t,e)}))()},GET_DeptList:function(){var e=this;m.o().then(function(t){e.deptList=c.Foundation.buildTree(t,"0"),e.deptListAll=t}),m.u({dictType:"inventory_type"}).then(function(t){e.typeList=t.data})},handleChangeWareHouse:function(e){this.goodsInventoryAddForm.product_list=[]},GET_goodsInventoryAddDetail:function(){var e=this;u.g(this.id).then(function(t){e.goodsInventoryAddForm=t,e.GET_WarehouseList(),e.goodsInventoryAddForm.distribution_name=t.staff_name,e.goodsInventoryAddForm.product_list=e.goodsInventoryAddForm.product_list.map(function(e){return e.inventory_num=e.inventory_num,e.product_specification=e.specification,e.product_unit=e.unit,e.remain_num=e.stock_num,e})})}}},f=n("XyMi");var h=function(e){n("o1FO")},g=Object(f.a)(y,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"bg-in-stock"},[n("el-form",{ref:"goodsInventoryAddForm",staticClass:"change-form",attrs:{model:e.goodsInventoryAddForm,rules:e.goodsInventoryAddFormRule,"label-width":"120px",inline:""}},[n("h3",{staticStyle:{width:"100%"}},[e._v("盘点单")]),e._v(" "),"edit"===e.type||"detail"===e.type?n("el-form-item",{staticClass:"change-form-item",attrs:{label:"盘点编号",prop:"sn"}},[n("el-input",{attrs:{disabled:!0},model:{value:e.goodsInventoryAddForm.sn,callback:function(t){e.$set(e.goodsInventoryAddForm,"sn",t)},expression:"goodsInventoryAddForm.sn"}})],1):e._e(),e._v(" "),n("el-form-item",{staticClass:"change-form-item",attrs:{label:"盘点时间",prop:"inventory_time"}},[e.id?n("span",[e._v(e._s(e.goodsInventoryAddForm.inventory_time))]):n("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",disabled:"detail"===e.type||"audit"===e.type||"check"===e.type,placeholder:"选择日期时间"},model:{value:e.goodsInventoryAddForm.inventory_time,callback:function(t){e.$set(e.goodsInventoryAddForm,"inventory_time",t)},expression:"goodsInventoryAddForm.inventory_time"}})],1),e._v(" "),n("el-form-item",{staticClass:"change-form-item",attrs:{label:"仓库",prop:"warehouse_id"}},[e.id?n("span",[e._v(e._s(e.getWarehouse(e.goodsInventoryAddForm.warehouse_id)))]):n("el-select",{attrs:{disabled:"detail"===e.type||"audit"===e.type||"check"===e.type},on:{change:e.handleChangeWareHouse},model:{value:e.goodsInventoryAddForm.warehouse_id,callback:function(t){e.$set(e.goodsInventoryAddForm,"warehouse_id",t)},expression:"goodsInventoryAddForm.warehouse_id"}},e._l(e.warehouseList,function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}),1)],1),e._v(" "),n("el-form-item",{staticClass:"change-form-item",attrs:{label:"盘点人",prop:"inventory_person_id"}},[e.id?n("span",[e._v(e._s(e.getadminList(e.goodsInventoryAddForm.inventory_person_id)))]):n("el-select",{attrs:{disabled:"detail"===e.type||"audit"===e.type||"check"===e.type},on:{change:e.forceUpdate},model:{value:e.goodsInventoryAddForm.inventory_person_id,callback:function(t){e.$set(e.goodsInventoryAddForm,"inventory_person_id",t)},expression:"goodsInventoryAddForm.inventory_person_id"}},e._l(e.adminList,function(e){return n("el-option",{key:e.id,attrs:{label:e.real_name,value:e.id}})}),1)],1),e._v(" "),n("el-form-item",{staticClass:"change-form-item",attrs:{label:"制单人",prop:"creator_id"}},[e.id?n("span",[e._v(e._s(e.getadminList(e.goodsInventoryAddForm.creator_id)))]):n("el-select",{attrs:{disabled:"detail"===e.type||"audit"===e.type||"check"===e.type},on:{change:e.forceUpdate},model:{value:e.goodsInventoryAddForm.creator_id,callback:function(t){e.$set(e.goodsInventoryAddForm,"creator_id",t)},expression:"goodsInventoryAddForm.creator_id"}},e._l(e.adminList,function(e){return n("el-option",{key:e.id,attrs:{label:e.real_name,value:e.id}})}),1)],1),e._v(" "),n("el-form-item",{staticClass:"change-form-item",attrs:{label:"盘点类型",prop:"inventory_type"}},[e.id?n("span",[e._v(e._s(e.getRoleSplit(e.goodsInventoryAddForm.inventory_type)))]):n("el-select",{attrs:{disabled:"detail"===e.type||"audit"===e.type||"check"===e.type},on:{change:function(t){return e.handleChangeInventoryType(t)}},model:{value:e.goodsInventoryAddForm.inventory_type,callback:function(t){e.$set(e.goodsInventoryAddForm,"inventory_type",t)},expression:"goodsInventoryAddForm.inventory_type"}},e._l(e.typeList,function(e){return n("el-option",{key:e.id,attrs:{label:e.label,value:e}})}),1)],1),e._v(" "),n("div",{staticClass:"mx"},[n("h3",[e._v("商品明细")]),e._v(" "),"detail"!==e.type&&"check"!==e.type?n("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:e.scanCode}},[e._v("商品扫码")]):e._e(),e._v(" "),"detail"!==e.type&&"check"!==e.type?n("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary",disabled:e.selectBtn},on:{click:e.handleSelectWarehouseEntryBatch}},[e._v("选择")]):e._e()],1),e._v(" "),n("div",{staticStyle:{width:"100%",display:"block"}},[n("el-form-item",{staticStyle:{width:"100%"}},[n("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.goodsInventoryAddForm.product_list,border:"","cell-style":{textAlign:"center"},"header-cell-style":{textAlign:"center"},loading:e.loading}},[n("el-table-column",{attrs:{label:"库位号"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.area_stock_list?n("el-popover",{attrs:{placement:"right",trigger:"click"}},[n("div",e._l(t.row.area_stock_list,function(t){return n("p",{key:t.id},[e._v(e._s(t.warehouse_area_name))])}),0),e._v(" "),0!==t.row.area_stock_list.length?n("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.row.area_stock_list[0].warehouse_area_name))]):e._e()]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"商品编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.id?n("span",[e._v(" "+e._s(t.row.goods_vo.sn))]):n("span",[e._v(e._s(t.row.goods_vo.sn))])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"商品名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[(e.id,n("span",[e._v(e._s(t.row.goods_vo.name))]))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"sku"},scopedSlots:e._u([{key:"default",fn:function(t){return[(e.id,n("span",[e._v(" "+e._s(t.row.product_vo.sku))]))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"序列号",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"sn-code-container"},e._l(t.row.sn_code_list,function(t){return n("span",{key:t.id},[n("p",[e._v(e._s(t.sn_code))])])}),0)]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"product_vo.spec_name",label:"规格型号"}}),e._v(" "),n("el-table-column",{attrs:{label:"单位"},scopedSlots:e._u([{key:"default",fn:function(t){return[(e.id,n("span",[e._v(" "+e._s(t.row.product_vo.unit))]))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"库存数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.actual_stock)+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"盘点数量"},scopedSlots:e._u([{key:"default",fn:function(t){return["check"===e.type?n("span",[e._v(e._s(t.row.inventory_num))]):n("el-input",{attrs:{type:"number",min:0,maxlength:20,disabled:"detail"===e.type||"audit"===e.type||"check"===e.type},model:{value:t.row.inventory_num,callback:function(n){e.$set(t.row,"inventory_num",n)},expression:"scope.row.inventory_num"}})]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"差异"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.inventory_num-t.row.actual_stock||0)+"\n ")]}}])}),e._v(" "),"detail"!==e.type&&"audit"!==e.type&&"check"!==e.type?n("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){return e.goodsInventoryAddForm.product_list.splice(t.$index,1)}}},[e._v("删除")])]}}],null,!1,2952986069)}):e._e()],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"footer"},["audit"!==e.type&&"detail"!==e.type&&"check"!==e.type?n("el-button",{attrs:{type:"primary"},on:{click:e.submitGoodsInventoryAddForm}},[e._v("保存\n ")]):e._e(),e._v(" "),"check"==e.type?n("el-button",{on:{click:e.printIng}},[e._v("打印")]):e._e(),e._v(" "),n("el-button",{on:{click:function(t){return e.$router.back()}}},[e._v("返回\n ")])],1),e._v(" "),n("el-dialog",{attrs:{title:"扫码入库",visible:e.scanDialogVisible,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(t){e.scanDialogVisible=t}}},[n("el-form",{ref:"scanGoodsForm",attrs:{model:e.scanGoodsForm,"label-width":"120px",inline:""}},[n("el-form-item",{attrs:{label:"sku",prop:"bar_code"}},[n("el-input",{ref:"input",attrs:{minlength:0,maxlength:100},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch()}},model:{value:e.scanGoodsForm.bar_code,callback:function(t){e.$set(e.scanGoodsForm,"bar_code",t)},expression:"scanGoodsForm.bar_code"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"序列号",prop:"sn_code"}},[n("el-input",{ref:"sn_input",attrs:{minlength:0,maxlength:100},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSnCode()}},model:{value:e.sn_code,callback:function(t){e.sn_code=t},expression:"sn_code"}})],1)],1)],1),e._v(" "),n("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("el-form",{ref:"goodsInventoryAddForm",staticStyle:{width:"900px"},attrs:{model:e.goodsInventoryAddForm,"label-width":"120px",inline:""}},[n("el-form-item",{attrs:{label:"驳回原因",prop:"reject_reason",required:"true"}},[n("el-input",{attrs:{type:"textarea",minlength:0,maxlength:100},model:{value:e.goodsInventoryAddForm.reject_reason,callback:function(t){e.$set(e.goodsInventoryAddForm,"reject_reason",t)},expression:"goodsInventoryAddForm.reject_reason"}})],1)],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleRejectGoodsInventory()}}},[e._v("确 定")])],1)],1)],1)},[],!1,h,"data-v-6a843aa6",null);t.default=g.exports},gBfz:function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,'\n@charset "UTF-8";\n/** 底部步骤 */\n.footer[data-v-6a843aa6] {\n width: 100%;\n padding: 10px;\n bottom: 0px;\n text-align: center;\n z-index: 999;\n}\n.mx[data-v-6a843aa6] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}\n.mx .button[data-v-6a843aa6] {\n margin-left: 10px;\n}\n.change-form[data-v-6a843aa6] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 900px;\n}\n.change-form .change-form-item[data-v-6a843aa6] {\n width: 30%;\n margin: 0 10px 20px 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.change-form[data-v-6a843aa6] .el-form-item__content {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n width: 100%;\n}\n.change-form[data-v-6a843aa6] .el-date-editor,\n .change-form[data-v-6a843aa6] .el-cascader,\n .change-form[data-v-6a843aa6] .el-select {\n width: 100%;\n}\n.bg-in-stock[data-v-6a843aa6] {\n background-color: #fff;\n margin: 10px;\n padding: 25px;\n}\n.goods-info[data-v-6a843aa6] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.goods-info .goods-name-box[data-v-6a843aa6] {\n text-align: left;\n}\n.goods-info .goods-name-box .goods-name[data-v-6a843aa6] {\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n line-height: 16px;\n}\n.goods-info .goods-name-box .specs[data-v-6a843aa6] {\n color: #999999;\n}\n.sn-code-container[data-v-6a843aa6] {\n max-height: 100px;\n /* 设置最大高度,超过这个高度将显示滚动条 */\n overflow-y: auto;\n /* 垂直方向上溢出时显示滚动条 */\n}\n[data-v-6a843aa6] .el-input--suffix .el-input__inner {\n padding-right: 10px;\n}\n[data-v-6a843aa6] .error-input .el-input__inner {\n border: 1px solid red;\n}\n',""])},o1FO:function(e,t,n){var o=n("gBfz");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n("rjj0")("178a936f",o,!0)}});
|