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.

2 lines
22 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5e8e57a6"],{"216b":function(t,e,a){"use strict";a("e731")},"906f":function(t,e,a){"use strict";a("b1e6")},b1e6:function(t,e,a){},d63a:function(t,e,a){"use strict";a.d(e,"n",(function(){return r})),a.d(e,"e",(function(){return i})),a.d(e,"qb",(function(){return u})),a.d(e,"rb",(function(){return s})),a.d(e,"q",(function(){return o})),a.d(e,"r",(function(){return l})),a.d(e,"s",(function(){return d})),a.d(e,"h",(function(){return c})),a.d(e,"o",(function(){return m})),a.d(e,"p",(function(){return f})),a.d(e,"l",(function(){return p})),a.d(e,"k",(function(){return h})),a.d(e,"j",(function(){return v})),a.d(e,"m",(function(){return _})),a.d(e,"f",(function(){return b})),a.d(e,"i",(function(){return T})),a.d(e,"g",(function(){return C})),a.d(e,"vb",(function(){return F})),a.d(e,"ub",(function(){return y})),a.d(e,"bb",(function(){return q})),a.d(e,"cb",(function(){return g})),a.d(e,"ab",(function(){return P})),a.d(e,"G",(function(){return w})),a.d(e,"I",(function(){return S})),a.d(e,"F",(function(){return D})),a.d(e,"D",(function(){return O})),a.d(e,"K",(function(){return I})),a.d(e,"N",(function(){return E})),a.d(e,"J",(function(){return k})),a.d(e,"M",(function(){return G})),a.d(e,"H",(function(){return N})),a.d(e,"sb",(function(){return R})),a.d(e,"tb",(function(){return x})),a.d(e,"L",(function(){return B})),a.d(e,"E",(function(){return M})),a.d(e,"W",(function(){return A})),a.d(e,"X",(function(){return j})),a.d(e,"T",(function(){return $})),a.d(e,"Z",(function(){return z})),a.d(e,"Y",(function(){return V})),a.d(e,"V",(function(){return L})),a.d(e,"U",(function(){return J})),a.d(e,"R",(function(){return U})),a.d(e,"P",(function(){return W})),a.d(e,"Q",(function(){return X})),a.d(e,"S",(function(){return Y})),a.d(e,"eb",(function(){return H})),a.d(e,"db",(function(){return K})),a.d(e,"fb",(function(){return Q})),a.d(e,"O",(function(){return Z})),a.d(e,"u",(function(){return tt})),a.d(e,"v",(function(){return et})),a.d(e,"x",(function(){return at})),a.d(e,"t",(function(){return nt})),a.d(e,"w",(function(){return rt})),a.d(e,"z",(function(){return it})),a.d(e,"A",(function(){return ut})),a.d(e,"C",(function(){return st})),a.d(e,"y",(function(){return ot})),a.d(e,"B",(function(){return lt})),a.d(e,"hb",(function(){return dt})),a.d(e,"ib",(function(){return ct})),a.d(e,"gb",(function(){return mt})),a.d(e,"jb",(function(){return ft})),a.d(e,"ob",(function(){return pt})),a.d(e,"pb",(function(){return ht})),a.d(e,"nb",(function(){return vt})),a.d(e,"c",(function(){return _t})),a.d(e,"d",(function(){return bt})),a.d(e,"a",(function(){return Tt})),a.d(e,"b",(function(){return Ct})),a.d(e,"kb",(function(){return Ft})),a.d(e,"mb",(function(){return yt})),a.d(e,"lb",(function(){return qt})),a.d(e,"wb",(function(){return gt}));var n=a("b775");a("2c37");function r(t){return n["a"].request({method:"POST",url:"/facilitiesManage/insert",data:t})}function i(t){return n["a"].request({method:"POST",url:"facilitiesAppointment/update",data:t})}function u(t){return n["a"].request({method:"POST",url:"sysOperations/insert",data:t})}function s(t){return n["a"].request({method:"POST",url:"sysOperations/update",data:t})}function o(t){return n["a"].request({method:"POST",url:"facilitiesPlan/insert",data:t})}function l(t){return n["a"].request({method:"POST",url:"facilitiesPlan/open",data:t})}function d(t){return n["a"].request({method:"POST",url:"facilitiesPlan/stop",data:t})}function c(t){return n["a"].request({method:"GET",url:"/facilitiesCategory/list",params:t})}function m(t){return n["a"].request({method:"GET",url:"/facilitiesManage/list",params:t})}function f(t){return n["a"].request({method:"POST",url:"/facilitiesManage/update",data:t})}function p(t){return n["a"].request({method:"GET",url:"/facilitiesMaintenanceRecord/list",params:t})}function h(t){return n["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/insert",data:t})}function v(t){return n["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/delete",data:t})}function _(t){return n["a"].request({method:"GET",url:"/facilitiesManage/findDetailById",params:t})}function b(t){return n["a"].request({method:"GET",url:"/facilitiesCategory/findDetailById",params:t})}function T(t){return n["a"].request({method:"POST",url:"/facilitiesCategory/update",data:t})}function C(t){return n["a"].request({method:"POST",url:"/facilitiesCategory/insert",data:t})}function F(t){return n["a"].request({method:"POST",url:"/userDecorationNew/examine",data:t})}function y(t){return n["a"].request({method:"POST",url:"/userDecorationNew/assign",data:t})}function q(t){return n["a"].request({method:"POST",url:"/ownersCommittee/insert",data:t})}function g(t){return n["a"].request({method:"POST",url:"/ownersCommittee/update",data:t})}function P(t){return n["a"].request({method:"GET",url:"/ownersCommittee/findById",params:t})}function w(t){return n["a"].request({method:"POST",url:"/inspectionPoint/insert",data:t})}function S(t){return n["a"].request({method:"POST",url:"/inspectionPoint/update",data:t})}function D(t){return n["a"].request({method:"GET",url:"/inspectionPoint/findById",params:t})}function O(t){return n["a"].request({method:"POST",url:"/inspectionPlan/insert",data:t})}function I(t){return n["a"].request({method:"POST",url:"/inspectionRoute/insert",data:t})}function E(t){return n["a"].request({method:"POST",url:"/inspectionRoute/update",data:t})}function k(t){return n["a"].request({method:"GET",url:"/inspectionRoute/findById",params:t})}function G(t){return n["a"].request({method:"GET",url:"/inspectionRoute/list",params:t})}function N(t){return n["a"].request({method:"GET",url:"/inspectionPoint/list",params:t})}function R(t){return n["a"].request({method:"GET",url:"/sysOrganization/findAllDepartment",params:t})}function x(t){return n["a"].request({method:"GET",url:"/sysUser/list",params:t})}function B(t){return n["a"].request({method:"GET",url:"/inspectionRoute/isEnable",params:t})}function M(t){return n["a"].request({method:"GET",url:"/inspectionPlan/isEnable",params:t})}function A(t){return n["a"].request({method:"GET",url:"/material/list",params:t})}function j(t){return n["a"].request({method:"GET",url:"/materialRecord/findById",params:t})}function $(t){return n["a"].request({method:"POST",url:"/material/insert",data:t})}function z(t){return n["a"].request({method:"POST",url:"/material/update",data:t})}function V(t){return n["a"].request({method:"POST",url:"/materialRecord/insert",data:t})}function L(t){return n["a"].request({method:"POST",url:"/materialInventory/insert",data:t})}function J(t){return n["a"].request({method:"GET",url:"/materialInventory/findById",params:t})}function U(t){return n["a"].request({method:"POST",url:"/keyManagement/insert",data:t})}function W(t){return n["a"].request({method:"POST",url:"/keyBorrow/examine",data:t})}function X(t){return n["a"].request({method:"GET",url:"/keyManagement/findById",params:t})}function Y(t){return n["a"].request({method:"POST",url:"/keyManagement/update",data:t})}function H(t){return n["a"].request({method:"POST",url:"/packageCollection/insert",data:t})}function K(t){return n["a"].request({method:"GET",url:"/packageCollection/findById",params:t})}function Q(t){return n["a"].request({method:"POST",url:"/packageCollection/update",data:t})}function Z(t){return n["a"].request({method:"POST",url:"/interview/insert",data:t})}function tt(t){return n["a"].request({method:"POST",url:"/greenArea/insert",data:t})}function et(t){return n["a"].request({method:"GET",url:"/greenArea/list",params:t})}function at(t){return n["a"].request({method:"POST",url:"/greenTask/insert",data:t})}function nt(t){return n["a"].request({method:"GET",url:"/greenArea/findById",params:t})}function rt(t){return n["a"].request({method:"POST",url:"/greenArea/update",data:t})}function it(t){return n["a"].request({method:"POST",url:"/hygieneArea/insert",data:t})}function ut(t){return n["a"].request({method:"GET",url:"/hygieneArea/list",params:t})}function st(t){return n["a"].request({method:"POST",url:"/hygieneTask/insert",data:t})}function ot(t){return n["a"].request({method:"GET",url:"/hygieneArea/findById",params:t})}function lt(t){return n["a"].request({method:"POST",url:"/hygieneArea/update",data:t})}function dt(t){return n["a"].request({method:"POST",url:"/regulationManagement/insert",data:t})}function ct(t){return n["a"].request({method:"GET",url:"/regulationManagement/release",params:t})}function mt(t){return n["a"].request({method:"GET",url:"/regulationManagement/findById",params:t})}function ft(t){return n["a"].request({method:"POST",url:"/regulationManagement/update",data:t})}function pt(t){return n["a"].request({method:"POST",url:"/serviceBrowsing/insert",data:t})}function ht(t){return n["a"].request({method:"POST",url:"/serviceBrowsing/update",data:t})}function vt(t){return n["a"].request({method:"GET",url:"/serviceBrowsing/findById",params:t})}function _t(t){return n["a"].request({method:"POST",url:"/communityIntroduction/insert",data:t})}function bt(t){return n["a"].request({method:"POST",url:"/communityIntroduction/update",data:t})}function Tt(t){return n["a"].request({method:"GET",url:"/communityIntroduction/enable",params:t})}function Ct(t){return n["a"].request({method:"GET",url:"/communityIntroduction/findById",params:t})}function Ft(t){return n["a"].request({method:"POST",url:"/securityManagement/insert",data:t})}function yt(t){return n["a"].request({method:"POST",url:"/securityManagement/update",data:t})}function qt(t){return n["a"].request({method:"GET",url:"/securityManagement/list",params:t})}function gt(t){return n["a"].request({method:"GET",url:"/userDecorationNew/list",params:t})}},e731:function(t,e,a){},f2bf:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:t.handleChangeShow,expression:"handleChangeShow"}],staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("div",{staticClass:"content-btn"},[e("el-button",{staticClass:"init-button",attrs:{icon:"el-icon-plus"},on:{click:function(e){return t.add()}}},[t._v("添加出入库")])],1),e("div",{},[e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[e("template",{slot:"tabs"},[e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"全部",name:"0"}})],1)],1),e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.detail(t.table_row)}}},[t._v("详情")]),e("button",{on:{click:function(e){return t.del(t.table_row)}}},[t._v("删除")])])])],2)],1),e("Drawer",{attrs:{drawerTitle:"新增出入库",drawerVrisible:t.add_vrisible},on:{drawerClose:t.addClose}},[e("div",{staticStyle:{padding:"30px"}},[e("FromCard",[e("template",{slot:"title"},[t._v("出入库信息")]),[e("VueForm",{ref:"addForm",attrs:{formObj:t.addForm},scopedSlots:t._u([{key:"discountRate",fn:function(){return[e("el-input",{staticStyle:{width:"240px"},attrs:{size:"small",placeholder:"请输入"},model:{value:t.addForm.ruleForm.discountRate,callback:function(e){t.$set(t.addForm.ruleForm,"discountRate",e)},expression:"\n addForm.ruleForm.discountRate\n "}},[e("i",{staticClass:"metre",staticStyle:{"font-style":"normal"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])]},proxy:!0}])})]],2),e("FromCard",{directives:[{name:"show",rawName:"v-show",value:1==this.addForm.ruleForm.isInvoice,expression:"this.addForm.ruleForm.isInvoice == 1"}],staticStyle:{margintop:"20px"}},[e("template",{slot:"title"},[t._v("发票信息")]),[e("VueForm",{ref:"fpForm",attrs:{formObj:t.fpForm}})]],2)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("button",{staticClass:"btn-orange",on:{click:function(e){return t.addSubmit()}}},[e("span",[e("i",{staticClass:"el-icon-circle-check"}),t._v("提交")])]),e("button",{staticClass:"btn-gray",on:{click:t.addClose}},[e("span",[t._v("取消")])])])])],1)]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.handleChangeShow,expression:"!handleChangeShow"}]},[t.handleChangeShow?t._e():e("div",{staticClass:"main details-box"},[e("div",{staticClass:"head-box"},[t._m(1),e("div",{staticClass:"content"},[e("span",[t._v("记录单号:"+t._s(t.detailData.code))]),e("div",{staticClass:"flex justify-between align-center"},[e("div"),e("div",[e("button",{staticClass:"btn-orange",on:{click:function(e){t.handleChangeShow=!0}}},[e("span",[t._v(" 返回")])])])])])]),e("div",{staticClass:"box"},[t._m(2),e("div",{staticClass:"box-item"},[e("div",{staticClass:"item"},[t._m(3),e("div",[e("span",[t._v(t._s(t.detailData.name))])])]),e("div",{staticClass:"item"},[t._m(4),e("div",[e("span",[t._v(t._s(1===t.detailData.type?"出库":"入库"))])])]),e("div",{staticClass:"item"},[t._m(5),e("div",[e("span",[t._v(t._s(t.detailData.num))])])]),e("div",{staticClass:"item"},[t._m(6),e("div",[e("span",[t._v(t._s(t.detailData.unitPrice+" 元"))])])]),e("div",{staticClass:"item"},[t._m(7),e("div",[e("span",[t._v(t._s(t.detailData.unit))])])]),e("div",{staticClass:"item"},[t._m(8),e("div",[e("span",[t._v(t._s(t.detailData.discountRate+"%"))])])]),e("div",{staticClass:"item"},[t._m(9),e("div",[e("span",[t._v(t._s(t.detailData.discountFrontal+" 元"))])])]),e("div",{staticClass:"item"},[t._m(10),e("div",[e("span",[t._v(t._s(t.detailData.totalPrice+" 元"))])])]),e("div",{staticClass:"item"},[t._m(11),e("div",[e("span",[t._v(t._s(1===t.detailData.isInvoice?"有":"无"))])])])])]),1===this.detailData.isInvoice?e("div",{staticClass:"box"},[t._m(12),e("div",{staticClass:"box-item"},[e("div",{staticClass:"item"},[t._m(13),e("div",[e("span",[t._v(t._s(1===t.detailData.invoiceTitleType?"企业单位":"个人"))])])]),e("div",{staticClass:"item"},[t._m(14),e("div",[e("span",[t._v(t._s(t.detailData.invoiceTitleName))])])]),e("div",{staticClass:"item"},[t._m(15),e("div",[e("span",[t._v(t._s(t.detailData.acquiringEin))])])]),e("div",{staticClass:"item"},[t._m(16),e("div",[e("span",[t._v(t._s(t.detailData.tel))])])]),e("div",{staticClass:"item"},[t._m(17),e("div",[e("span",[t._v(t._s(t.detailData.invoiceDate))])])]),e("div",{staticClass:"item"},[t._m(18),e("div",[e("span",[t._v(t._s(t.detailData.remakes))])])]),e("div",{staticClass:"item"},[t._m(19),e("div",[e("span",[t._v(t._s(t.detailData.createName))])])]),e("div",{staticClass:"item"},[t._m(20),e("div",[e("span",[t._v(t._s(t.detailData.createDate))])])])])]):t._e()])])])},r=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-titel"},[e("span",[t._v("物料出入库记录")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"titel"},[e("span",[t._v("物资出入库详情")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("span",[t._v("出入库信息")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("物料名称")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("类型")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("数量")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("单价")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("单位")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("折扣率")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("折扣额")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("总金额")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("有无发票")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("span",[t._v("发票信息")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("抬头类型")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("抬头名称")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("购方税号")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("联系电话")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("开票时间")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("发票备注")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("创建人名称")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("创建时间")])])}],i=a("d63a"),u={data(){return{handleChangeShow:!0,add_vrisible:!1,addDate:null,options:[],detailData:{code:null,name:null,type:null,num:null,unitPrice:null,unit:null,discountRate:null,discountFrontal:null,totalPrice:null,isInvoice:null,invoiceTitleType:null,invoiceTitleName:null,acquiringEin:null,tel:null,invoiceDate:null,remakes:null,createName:null,createDate:null},addForm:{ruleForm:{code:null,materialId:null,type:null,num:null,unitPrice:null,discountRate:null,isInvoice:null,totalPrice:null},rules:{},form_item:[{type:"Input",label:"记录单号",placeholder:"请输入",width:"50%",prop:"code"},{type:"Select",label:"物料名称",placeholder:"请选择",width:"50%",prop:"materialId",options:[]},{type:"Select",label:"类型",placeholder:"请选择",width:"50%",prop:"type",options:[{value:"1",label:"出库"},{value:"2",label:"入库"}]},{type:"Int",label:"数量",placeholder:"请输入",width:"50%",prop:"num"},{type:"Input",label:"单价",placeholder:"请输入",width:"50%",prop:"unitPrice"},{type:"Slot",label:"折扣率",width:"50%",prop:"discountRate",slotName:"discountRate"},{type:"Input",label:"折扣额",disabled:!0,width:"50%",prop:"discountFrontal"},{type:"Input",label:"总金额",disabled:!0,width:"50%",prop:"totalPrice"},{type:"Select",label:"有无发票",placeholder:"请选择",width:"50%",prop:"isInvoice",options:[{label:"有",value:1},{label:"无",value:0}]}]},fpForm:{ruleForm:{invoiceTitleType:null,invoiceTitleName:null,acquiringEin:null,tel:null,invoiceDate:null,remakes:null},form_item:[{type:"Select",label:"抬头类型",placeholder:"请选择",width:"50%",prop:"invoiceTitleType",options:[{label:"企业单位",value:1},{label:"个人",value:2}]},{type:"Input",label:"抬头名称",placeholder:"请输入",width:"50%",prop:"invoiceTitleName"},{type:"Input",label:"购方税号",placeholder:"请输入",width:"50%",prop:"acquiringEin"},{type:"Input",label:"联系电话",placeholder:"请输入",width:"50%",prop:"tel"},{type:"DateTime",label:"开票时间",placeholder:"请输入",width:"50%",prop:"invoiceDate"},{type:"Input",label:"开票备注",placeholder:"请输入",width:"50%",prop:"remakes"}]},table_row:[],imglist:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"物料名称",prop:"name",width:"auto"},{label:"类型",prop:"type",width:"auto",type:"function",callback(t,e){switch(t.type){case 1:return"出库";case 2:return"入库";default:break}}},{label:"数量",prop:"num",width:"auto"},{label:"创建人名称",prop:"createName",width:"auto"},{label:"创建时间",prop:"createDate",width:"auto"}],table_data:[],url:"materialRecordList",search_item:[{type:"Input",label:"物料名称",placeholder:"请输入",prop:"name"},{type:"select",label:"类型",placeholder:"请输入",prop:"type",options:[{value:"1",label:"出库"},{value:"2",label:"入库"}]}],data:{pageNum:1,size:10}}}},mounted(){Object(i["W"])().then(t=>{console.log(t.tableList),t.tableList.forEach(t=>{let e={value:t.id,label:t.name};this.addForm.form_item[1].options.push(e)})})},methods:{add(){this.add_vrisible=!0},addClose(){this.$refs.addForm.reset(),this.add_vrisible=!1},addSubmit(){let t={...this.addForm.ruleForm,...this.fpForm.ruleForm};Object(i["Y"])(t).then(t=>{t.status&&(this.$message({message:t.message,type:"success"}),this.$refs.table.loadData(),this.addClose())})},detail(t){1!=t.length?this.$message({message:"只能查看一条详情",type:"error"}):(this.handleChangeShow=!1,console.log(t[0].id),Object(i["X"])({id:t[0].id}).then(t=>{console.log(t),this.detailData.code=t.data.code,this.detailData.name=t.data.name,this.detailData.type=t.data.type,this.detailData.num=t.data.num,this.detailData.unitPrice=t.data.unitPrice,this.detailData.unit=t.data.unit,this.detailData.discountRate=t.data.discountRate,this.detailData.discountFrontal=t.data.discountFrontal,this.detailData.totalPrice=t.data.totalPrice,this.detailData.isInvoice=t.data.isInvoice,this.detailData.invoiceTitleType=t.data.invoiceTitleType,this.detailData.invoiceTitleName=t.data.invoiceTitleName,this.detailData.acquiringEin=t.data.acquiringEin,this.detailData.tel=t.data.tel,this.detailData.invoiceDate=t.data.invoiceDate,this.detailData.remakes=t.data.remakes,this.detailData.createName=t.data.createName,this.detailData.createDate=t.data.createDate}))},handleClick(t,e){let a=null;a=0!=this.activeName?this.activeName:null;const n={pageNum:1,size:10,status:a};this.$refs.table.requestData(n)},tableCheck(t){this.table_row=t},del(t){if(t.length){let t=[];for(let e=0;e<this.table_row.length;e++)t.push(this.table_row[e].id);this.$confirm("是否确认删除?删除不可恢复","删除",{confirmButtonText:"确定",cancelButtonText:"取消",confirmButtonClass:"confirmButton",cancelButtonClass:"cancelButton"}).then(()=>{this.$refs.table.tableDelete(t)}).catch(t=>{})}else this.$message.error("请选中需要删除的数据")}},watch:{"addForm.ruleForm.discountRate":{handler(t){console.log(t),this.addForm.ruleForm.discountFrontal=this.addForm.ruleForm.unitPrice*t*this.addForm.ruleForm.num/100,this.addForm.ruleForm.totalPrice=this.addForm.ruleForm.num*this.addForm.ruleForm.unitPrice-this.addForm.ruleForm.discountFrontal}},"addForm.ruleForm.num":{handler(t){console.log(t),this.addForm.ruleForm.discountFrontal=this.addForm.ruleForm.unitPrice*t*this.addForm.ruleForm.discountRate/100,this.addForm.ruleForm.totalPrice=this.addForm.ruleForm.num*this.addForm.ruleForm.unitPrice-this.addForm.ruleForm.discountFrontal}},"addForm.ruleForm.unitPrice":{handler(t){console.log(t),this.addForm.ruleForm.discountFrontal=this.addForm.ruleForm.discountRate*t*this.addForm.ruleForm.num/100,this.addForm.ruleForm.totalPrice=this.addForm.ruleForm.num*this.addForm.ruleForm.unitPrice-this.addForm.ruleForm.discountFrontal}}}},s=u,o=(a("906f"),a("216b"),a("2877")),l=Object(o["a"])(s,n,r,!1,null,"133de948",null);e["default"]=l.exports}}]);
//# sourceMappingURL=chunk-5e8e57a6.0aa96f31.js.map