text: webpackJsonp([17],{XvjL:function(e,t,o){"use strict";t.c=function(e){return Object(a.a)({url:"/POST/TeamBuyAcceptanceInfo/findTeamBuyAcceptanceInfoByPage",methods:"post",params:e})},t.b=function(e){return Object(a.a)({url:"/POST/TeamBuyAcceptanceInfo/deleteTeamBuyAcceptanceInfoById",methods:"post",params:e})},t.d=function(e){return Object(a.a)({url:"/POST/TeamBuyAcceptanceInfo/updateTeamBuyAcceptanceInfo",methods:"post",params:e})},t.a=function(e){return Object(a.a)({url:"/POST/TeamBuyAcceptanceInfo/addTeamBuyAcceptanceInfo",methods:"post",params:e})};var a=o("vLgD")},bJz0:function(e,t,o){var a=o("bNpd");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);o("rjj0")("154f4bc8",a,!0)},bNpd:function(e,t,o){(e.exports=o("FZ+f")(!1)).push([e.i,"\n.input[data-v-d7dff122]{\r\n\twidth: 180px;\n}\r\n",""])},lSxe:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("woOf"),s=o.n(a),r=o("zL8q"),n=o("XvjL"),l={data:function(){return{form:{teamConsumeId:"",teamConsumeName:"",supplierId:"",supplierName:"",tranId:"",goodsCode:"",goodsName:"",weight:null,price:null,WS_SUPPLIER_ID:"",WS_SUPPLIER_NAME:"",categoryId:"",nodeType:""}}},methods:{onSubmit:function(){var e=this,t={token:this.$store.getters.token};t=s()(t,this.form),Object(n.a)(t).then(function(t){var o=t;0===o.errorCode&&(Object(r.Message)({message:o.msg,type:"success",duration:5e3}),e.$router.go(-1))})}}},m={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"app-container"},[o("el-form",{ref:"form",attrs:{model:e.form,"label-width":"250px"}},[o("el-form-item",{attrs:{label:"团体消费单位编码"}},[o("el-input",{staticClass:"input",model:{value:e.form.teamConsumeId,callback:function(t){e.$set(e.form,"teamConsumeId",t)},expression:"form.teamConsumeId"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"团体消费单位名称"}},[o("el-input",{staticClass:"input",model:{value:e.form.teamConsumeName,callback:function(t){e.$set(e.form,"teamConsumeName",t)},expression:"form.teamConsumeName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"供应商编码"}},[o("el-input",{staticClass:"input",model:{value:e.form.supplierId,callback:function(t){e.$set(e.form,"supplierId",t)},expression:"form.supplierId"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"供应商名称"}},[o("el-input",{staticClass:"input",model:{value:e.form.supplierName,callback:function(t){e.$set(e.form,"supplierName",t)},expression:"form.supplierName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"交易凭证号或零售凭证号"}},[o("el-input",{staticClass:"input",model:{value:e.form.tranId,callback:function(t){e.$set(e.form,"tranId",t)},expression:"form.tranId"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"商品编码"}},[o("el-input",{staticClass:"input",model:{value:e.form.goodsCode,callback:function(t){e.$set(e.form,"goodsCode",t)},expression:"form.goodsCode"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"商品名称"}},[o("el-input",{staticClass:"input",model:{value:e.form.goodsName,callback:function(t){e.$set(e.form,"goodsName",t)},expression:"form.goodsName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"重量"}},[o("el-input",{staticClass:"input",model:{value:e.form.weight,callback:function(t){e.$set(e.form,"weight",t)},expression:"form.weight"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"单价"}},[o("el-input",{staticClass:"input",model:{value:e.form.price,callback:function(t){e.$set(e.form,"price",t)},expression:"form.price"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"供货批发市场或屠宰企业编码"}},[o("el-input",{staticClass:"input",model:{value:e.form.WS_SUPPLIER_ID,callback:function(t){e.$set(e.form,"WS_SUPPLIER_ID",t)},expression:"form.WS_SUPPLIER_ID"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"供货批发市场或屠宰企业名称"}},[o("el-input",{staticClass:"input",model:{value:e.form.WS_SUPPLIER_NAME,callback:function(t){e.$set(e.form,"WS_SUPPLIER_NAME",t)},expression:"form.WS_SUPPLIER_NAME"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"品类"}},[o("el-input",{staticClass:"input",model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"节点"}},[o("el-input",{staticClass:"input",model:{value:e.form.nodeType,callback:function(t){e.$set(e.form,"nodeType",t)},expression:"form.nodeType"}})],1),e._v(" "),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("立即创建")]),e._v(" "),o("el-button",[e._v("取消")])],1)],1)],1)},staticRenderFns:[]};var i=o("VU/8")(l,m,!1,function(e){o("bJz0")},"data-v-d7dff122",null);t.default=i.exports}});