(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35058f9a","chunk-4bf015fa","chunk-6c48fa9a","chunk-7a08b7a2","chunk-ffd74c96","chunk-e3350e26","chunk-434b193a","chunk-fb9400d0","chunk-1f36b22e","chunk-2d0e66d0","chunk-2d0dd7e4"],{"0387":function(t,e,a){},"0c55":function(t,e,a){},3401:function(t,e,a){"use strict";a("4e10")},3430:function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"c",(function(){return r})),a.d(e,"b",(function(){return i}));var n=a("b775");function s(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/add",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/list",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/detail",method:"get",params:t})}},"3fb2":function(t,e,a){"use strict";a("95d7")},"433d":function(t,e,a){"use strict";var n=a("c559"),s={ftpUrl:n["a"].ftpUrl,apiBaseURL:n["a"].apiBaseURL};e["a"]=s},4512:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("win-md",{staticClass:"stock-detail",attrs:{title:t.setting.title,width:"800px",loading:t.loading},on:{close:t.close}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("报废单号:")]),t._v(" "),a("span",[t._v(t._s(t.detail.businessFormCode))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("仓库:")]),t._v(" "),a("span",[t._v(t._s(t.detail.warehouseName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("所属机构:")]),t._v(" "),a("span",[t._v(t._s(t.detail.agencyName))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("创建人:")]),t._v(" "),a("span",[t._v(t._s(t.detail.operatorName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("报废时间:")]),t._v(" "),a("span",[t._v(t._s(t._f("formatTime")(t.detail.dealTime)))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{staticClass:"img-row",attrs:{span:24}},[a("span",[t._v("报废手续:")]),t._v(" "),t._l(t.fileList,(function(e,n){return a("div",{key:n,staticClass:"img-box",on:{click:function(a){return t.handlePreview(e)}}},[a("img",{staticClass:"img",attrs:{src:t.getUrl(e.path),alt:""}})])}))],2)],1),t._v(" "),t._l(t.detail.scrappedGoods,(function(e,n){return a("div",{key:n,staticClass:"goods-card"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("物品分类:")]),t._v(" "),a("span",[t._v(t._s(e.categoryName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("物品名称:")]),t._v(" "),a("span",[t._v(t._s(e.goodsName))])])],1),t._v(" "),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.models,stripe:!0}},[a("el-table-column",{attrs:{prop:"baseGoodsModelsName",label:"规格型号",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"单位",prop:"unit",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"counts",label:"报废数量",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"scrappedName",label:"报废原因",align:"center"}})],1)],1)})),t._v(" "),a("div",{staticStyle:{display:"none"},attrs:{id:"uploadPreviewImages"}},t._l(t.fileList,(function(e,n){return a("span",{key:n},[t.checkImg(e.name)?a("img",{staticClass:"v-img",staticStyle:{width:"100px",height:"100px"},attrs:{src:t.getUrl(e.path),alt:e.name}}):t._e()])})),0)],2)},s=[],r=a("3430"),i=a("f76d"),l=a("6f7e"),o=a("dee4"),c=a("c82c"),u=a.n(c),d=(a("0808"),a("aa3a")),p=null,f={components:{winMd:i["a"]},props:{setting:{type:Object,default:function(){}}},data:function(){return{loading:!0,scrapReasonOptions:[],fileList:[],detail:{baseCategoryName:"",businessFormCode:"",goodsTemplateName:"",uploadFiles:"",agencyId:"",agencyName:"",states:"",createName:"",time:"",scrappedGoods:[]}}},filters:{formatTime:function(t){if(t)return l["LongToDateTime"](t)}},created:function(){var t=this;Object(r["b"])({id:this.setting.id}).then((function(e){t.detail=e,t.loading=!1,t.fileList=t.detail.uploadFiles?JSON.parse(t.detail.uploadFiles):[],t.$nextTick((function(){t.initPreviewImg()}))})),Object(d["d"])("SCRAP_REASON").then((function(e){t.scrapReasonOptions=e}))},methods:{getDictName:function(t){var e=this.scrapReasonOptions.find((function(e){return e.dict_value==t}));return e?e.dict_label:""},initPreviewImg:function(){null!=p&&p.destroy();var t=document.querySelector("#uploadPreviewImages");p=new u.a(t,{})},handlePreview:function(t){if(!this.checkImg(t.name))return!1;for(var e=0,a=0;a=1&&f<=3)m=" "+parseInt(f)+"月前";else if(p>=1&&p<=3)m=" "+parseInt(p)+"周前";else if(d>=1&&d<=6)m=" "+parseInt(d)+"天前";else if(u>=1&&u<=23)m=" "+parseInt(u)+"小时前";else if(c>=1&&c<=59)m=" "+parseInt(c)+"分钟前";else if(o>=0&&o<=a)m="刚刚";else{var g=new Date;g.setTime(e);var v=g.getFullYear(),_=g.getMonth()+1<10?"0"+(g.getMonth()+1):g.getMonth()+1,h=g.getDate()<10?"0"+g.getDate():g.getDate();g.getHours()<10?g.getHours():g.getHours(),g.getMinutes()<10?g.getMinutes():g.getMinutes(),g.getSeconds()<10?g.getSeconds():g.getSeconds();m=v+"-"+_+"-"+h}return m}}}a.r(e),a.d(e,"DateToLong",(function(){return n})),a.d(e,"LongToDateTime",(function(){return r})),a.d(e,"LongToDate",(function(){return i})),a.d(e,"formatDate",(function(){return l})),a.d(e,"formattedDate",(function(){return o})),a.d(e,"formattedDateDuan",(function(){return c})),a.d(e,"timeago",(function(){return u}))},"6f82":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"e",(function(){return l})),a.d(e,"d",(function(){return o}));var n=a("b775");function s(t){return Object(n["a"])({url:"/pc/warehouse/procureModel/getFfOrderByGoodsIdAndDept",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/pc/warehouse/procureModel/getGoodsUseInfoByFfOrderAndGoodId",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/deptAdd",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/deptList",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/pc/l/wh/form/scrapped/deptDetail",method:"get",params:t})}},"806c":function(t,e,a){"use strict";a.d(e,"f",(function(){return s})),a.d(e,"a",(function(){return r})),a.d(e,"d",(function(){return i})),a.d(e,"b",(function(){return l})),a.d(e,"c",(function(){return o})),a.d(e,"h",(function(){return c})),a.d(e,"e",(function(){return u})),a.d(e,"g",(function(){return d})),a.d(e,"i",(function(){return p}));var n=a("b775");function s(t){return"/pc/l/wh/form/inventory/list"}function r(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/add",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/edit",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/del",method:"delete",params:t})}function o(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/detail",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/temporary/storage",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/finish",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/query",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/pc/l/wh/form/inventory/isAddInventory",method:"get",params:t})}},"822f":function(t,e,a){"use strict";a.r(e),e["default"]={data:function(){return{statesOptions:[{label:"全部",value:""},{label:"待出库",value:"0"},{label:"待接收",value:"1"},{label:"已接收",value:"2"},{label:"已撤销",value:"4"}]}},methods:{getStatesLabel:function(t){var e=this.statesOptions.find((function(e){return e.value==t}));return e?e.label:""}}}},9205:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("win-md",{staticClass:"stock-detail",attrs:{title:t.setting.title,width:"800px",loading:t.loading},on:{close:t.close}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("分发单号:")]),t._v(" "),a("span",[t._v(t._s(t.detail.businessFormCode))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("所属机构:")]),t._v(" "),a("span",[t._v(t._s(t.detail.outAgencyName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("部门:")]),t._v(" "),a("span",[t._v(t._s(t.detail.inWarehouseName))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("分发人:")]),t._v(" "),a("span",[t._v(t._s(t.detail.outOperatorName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("分发时间:")]),t._v(" "),a("span",[t._v(t._s(t._f("formatTime")(t.detail.createTime)))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("领取人:")]),t._v(" "),a("span",[t._v(t._s(t.detail.inOperatorName))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("联系电话:")]),t._v(" "),a("span",[t._v(t._s(t.detail.tel))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{staticClass:"img-row",attrs:{span:24}},[a("span",[t._v("分发手续:")]),t._v(" "),t._l(t.fileList,(function(e,n){return a("div",{key:n,staticClass:"img-box",on:{click:function(a){return t.handlePreview(e)}}},[a("img",{staticClass:"img",attrs:{src:t.getUrl(e.path),alt:""}})])}))],2)],1),t._v(" "),t._l(t.detail.formTransferGoods,(function(e,n){return a("div",{key:n,staticClass:"goods-card"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("物品分类:")]),t._v(" "),a("span",[t._v(t._s(e.categoryName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("物品名称:")]),t._v(" "),a("span",[t._v(t._s(e.goodsName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("物品类别:")]),t._v(" "),a("span",[t._v(t._s(e.type)+"类")])])],1),t._v(" "),a("el-form",t._l(e.models,(function(n,s){return a("el-row",{key:s,staticClass:"card3"},[a("el-col",{staticStyle:{padding:"10px 0"},attrs:{span:10}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"规格型号:"}},[t._v("\n "+t._s(n.baseGoodsModelsName)+"\n ")])],1),t._v(" "),a("el-col",{staticStyle:{padding:"10px 0"},attrs:{span:4}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"单位:","label-width":"80"}},[t._v("\n "+t._s(n.unit)+"\n ")])],1),t._v(" "),"A"===e.type?a("el-col",{attrs:{span:24}},t._l(n.useInfo,(function(e,n){return a("el-row",{key:n},[a("el-col",{attrs:{span:6}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"分发数量:","label-width":"80"}},[t._v("\n "+t._s(e.num)+"\n ")])],1),t._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"使用人:","label-width":"80"}},[t._v("\n "+t._s(e.name)+"\n ")])],1),t._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"联系电话:","label-width":"80"}},[t._v("\n "+t._s(e.tel)+"\n ")])],1)],1)})),1):a("el-col",{staticStyle:{padding:"10px 0"},attrs:{span:10}},[a("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"分发数量:",prop:"counts","label-width":"80"}},[t._v("\n "+t._s(n.counts)+"\n ")])],1)],1)})),1)],1)})),t._v(" "),a("div",{staticStyle:{display:"none"},attrs:{id:"uploadPreviewImages"}},t._l(t.fileList,(function(e,n){return a("span",{key:n},[t.checkImg(e.name)?a("img",{staticClass:"v-img",staticStyle:{width:"100px",height:"100px"},attrs:{src:t.getUrl(e.path),alt:e.name}}):t._e()])})),0)],2)},s=[],r=a("a083"),i=a("f76d"),l=a("6f7e"),o=a("dee4"),c=a("c82c"),u=a.n(c),d=(a("0808"),a("dcec")),p=null,f={computed:{de:function(){return d["a"]}},components:{winMd:i["a"]},props:{setting:{type:Object,default:function(){}}},data:function(){return{loading:!0,fileList:[],detail:{baseCategoryName:"",businessFormCode:"",goodsTemplateName:"",procureDoc:"",agencyId:"",agencyName:"",states:"",createName:"",time:"",procureGoods:[{},{}],fileKey:Math.random()}}},filters:{formatTime:function(t){return t?l["LongToDateTime"](t):"-"},formatPrice:function(t){return t/100}},created:function(){var t=this;Object(r["e"])({id:this.setting.id}).then((function(e){t.detail=e,t.loading=!1,t.fileList=t.detail.procureDoc?JSON.parse(t.detail.procureDoc):[],t.$nextTick((function(){t.initPreviewImg()}))}))},methods:{initPreviewImg:function(){null!=p&&p.destroy();var t=document.querySelector("#uploadPreviewImages");p=new u.a(t,{})},handlePreview:function(t){if(!this.checkImg(t.name))return!1;for(var e=0,a=0;a-1;e||this.$message.error("上传文件只能是 ".concat(this.fileSettings.accept," 格式!"));var a=t.size/1024=0},getUrl:function(t){return"http://"==t.substr(0,7).toLowerCase()||"https://"==t.substr(0,8).toLowerCase()?t:Object(o["c"])()+t},close:function(){this.$emit("close")}}},f=p,m=(a("3401"),a("2877")),g=Object(m["a"])(f,n,s,!1,null,"145e5635",null);e["default"]=g.exports},"9f17":function(t,e,a){"use strict";a("6ccf")},a083:function(t,e,a){"use strict";a.d(e,"d",(function(){return s})),a.d(e,"f",(function(){return r})),a.d(e,"g",(function(){return i})),a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return o})),a.d(e,"e",(function(){return c})),a.d(e,"h",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"i",(function(){return p})),a.d(e,"k",(function(){return f})),a.d(e,"j",(function(){return m}));var n=a("b775");function s(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/add",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/import",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/list",method:"get",params:t})}function l(t){return Object(n["a"])({url:"/pc/fin/sys/tenant/get/parent/tenant",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/pc/base/goods/template/query/warehouse/goods",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/detail",method:"get",params:t})}function u(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/output",method:"post",params:t})}function d(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/income",method:"post",params:t})}function p(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/updStatus",method:"post",params:t})}function f(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/use/record",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/pc/l/wh/form/transfer/useInfo/update",method:"POST",data:t})}},aa3a:function(t,e,a){"use strict";a.d(e,"e",(function(){return s})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return i})),a.d(e,"a",(function(){return l})),a.d(e,"f",(function(){return o})),a.d(e,"b",(function(){return c}));var n=a("b775");function s(t){return Object(n["a"])({url:"/system/dict/data/list",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/system/dict/data/"+t,method:"get"})}function i(t){return Object(n["a"])({url:"/permit/dict/data/type/"+t,method:"get"})}function l(t){return Object(n["a"])({url:"/system/dict/add",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/system/dict/edit",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/system/dict/data/remove/"+t,method:"get"})}},af77:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("win-md",{attrs:{title:t.setting.title,width:"1200px"},on:{close:t.close}},[a("el-row",{staticStyle:{"margin-bottom":"20px"},attrs:{gutter:20,type:"flex",align:"middle"}},[a("el-col",{attrs:{span:6}},[t._v("盘点单号:"+t._s(t.formData.businessFormCode))]),t._v(" "),a("el-col",{attrs:{span:6}},[t._v("盘点任务:"+t._s(t.formData.businessFormName))]),t._v(" "),a("el-col",{attrs:{span:6}},[t._v("盘点仓库:"+t._s(t.formData.warehouseName))])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"the-table",attrs:{data:t.formData.formInventoryGoodsList,height:"500",stripe:!0}},[a("el-table-column",{attrs:{prop:"goodsTemplateName",label:"物品名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"baseGoodsModelsName",label:"型号",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"inventoryCount",label:"应盘数量",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"realNum",label:"实盘数量",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"status",label:"状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v("\n "+t._s(t._f("typeName")(a.status))+"\n ")]}}])})],1)],1)},s=[],r=a("f76d"),i=a("f6e8"),l=a("806c"),o={components:{winMd:r["a"],myButton:i["a"]},props:{setting:{type:Object,default:function(){}}},data:function(){return{loading:!1,formData:{businessFormCode:"2023080812",businessFormName:"2023年9月盘点单",warehouseName:"开封市仓库",formInventoryGoodsList:[]}}},filters:{typeName:function(t){switch(t){case 1:return"正常";case 2:return"盘盈";case 3:return"盘亏";default:return""}}},created:function(){var t=this;Object(l["c"])({id:this.setting.id}).then((function(e){t.formData=e}))},methods:{close:function(){this.$emit("close")},save:function(){}}},c=o,u=a("2877"),d=Object(u["a"])(c,n,s,!1,null,null,null);e["default"]=d.exports},bee9:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("win-md",{staticClass:"stock-detail",attrs:{title:t.setting.title,width:"800px",loading:t.loading},on:{close:t.close}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("入库单号:")]),t._v(" "),a("span",[t._v(t._s(t.detail.businessFormCode))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("入库仓库:")]),t._v(" "),a("span",[t._v(t._s(t.detail.warehouseName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("所属机构:")]),t._v(" "),a("span",[t._v(t._s(t.detail.agencyName))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("状态:")]),t._v(" "),a("span",[t._v(t._s(1==t.detail.states?"待入库":"已入库"))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("创建人:")]),t._v(" "),a("span",[t._v(t._s(t.detail.buyerName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("入库时间:")]),t._v(" "),a("span",[t._v(t._s(t._f("formatTime")(t.detail.incomeTime)))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{staticClass:"img-row",attrs:{span:12}},[a("span",[t._v("采购类型:")]),t._v(" "),a("span",[t._v(t._s(1==t.detail.buyType?"集采":"自采"))])])],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{gutter:20}},[a("el-col",{staticClass:"img-row",attrs:{span:24}},[a("span",[t._v("采购手续照片:")]),t._v(" "),t._l(t.fileList,(function(e,n){return a("div",{key:n,staticClass:"img-box",on:{click:function(a){return t.handlePreview(e)}}},[a("img",{staticClass:"img",attrs:{src:t.getUrl(e.path),alt:""}})])}))],2)],1),t._v(" "),t._l(t.detail.procureGoods,(function(e,n){return a("div",{key:n,staticClass:"goods-card"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("span",[t._v("物品分类:")]),t._v(" "),a("span",[t._v(t._s(e.baseCategoryName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("物品名称:")]),t._v(" "),a("span",[t._v(t._s(e.goodsTemplateName))])]),t._v(" "),a("el-col",{attrs:{span:8}},[a("span",[t._v("供货商:")]),t._v(" "),a("span",[t._v(t._s(e.supplier))])])],1),t._v(" "),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.models,stripe:!0}},[a("el-table-column",{attrs:{prop:"baseGoodsModelsName",label:"规格型号",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.baseGoodsModelsName)+"\n ")]}}],null,!0)}),t._v(" "),a("el-table-column",{attrs:{label:"单位",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.unit)+"\n ")]}}],null,!0)}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"单价",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatPrice")(e.row.price))+"\n ")]}}],null,!0)}),t._v(" "),a("el-table-column",{attrs:{prop:"counts",label:"入库数量",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.counts)+"\n ")]}}],null,!0)}),t._v(" "),a("el-table-column",{attrs:{prop:"counts",label:"金额",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatPrice")(e.row.price*e.row.counts))+"\n ")]}}],null,!0)})],1)],1)})),t._v(" "),a("div",{staticStyle:{display:"none"},attrs:{id:"uploadPreviewImages"}},t._l(t.fileList,(function(e,n){return a("span",{key:n},[t.checkImg(e.name)?a("img",{staticClass:"v-img",staticStyle:{width:"100px",height:"100px"},attrs:{src:t.getUrl(e.path),alt:e.name}}):t._e()])})),0)],2)},s=[],r=a("5688"),i=a("f76d"),l=a("6f7e"),o=a("dee4"),c=a("c82c"),u=a.n(c),d=(a("0808"),null),p={components:{winMd:i["a"]},props:{setting:{type:Object,default:function(){}}},data:function(){return{loading:!0,fileList:[],detail:{baseCategoryName:"",businessFormCode:"",goodsTemplateName:"",procureDoc:"",agencyId:"",agencyName:"",states:"",createName:"",time:"",procureGoods:[{},{}],fileKey:Math.random()}}},filters:{formatTime:function(t){return t?l["LongToDateTime"](t):"-"},formatPrice:function(t){return t/100}},created:function(){var t=this;Object(r["e"])({id:this.setting.id}).then((function(e){t.loading=!1,t.detail=e,t.fileList=t.detail.procureDoc?JSON.parse(t.detail.procureDoc):[],t.$nextTick((function(){t.initPreviewImg()}))}))},methods:{initPreviewImg:function(){null!=d&&d.destroy();var t=document.querySelector("#uploadPreviewImages");d=new u.a(t,{})},handlePreview:function(t){if(!this.checkImg(t.name))return!1;for(var e=0,a=0;a