schangxiang@126.com
2025-09-18 49a51c068d62084bc4c3e77c4be94a20de556c4a
1
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-233c"],{"5nb9":function(t,e,o){"use strict";var i=o("vCJr");o.n(i).a},DNkW:function(t,e,o){var i=o("93I4"),a=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&a(t)===t}},"GW1+":function(t,e,o){"use strict";var i=o("mxV5"),a=o.n(i);e.a=function(t){return new a.a(t)}},h5AQ:function(t,e,o){o("hRZT"),t.exports=o("WEpk").Number.isInteger},hRZT:function(t,e,o){var i=o("Y7ZC");i(i.S,"Number",{isInteger:o("DNkW")})},ql3t:function(t,e,o){t.exports={default:o("h5AQ"),__esModule:!0}},vCJr:function(t,e,o){},xZjn:function(t,e,o){"use strict";o.r(e);var i={name:"user-service-claim",custoJsonmRoute:"/user/service/claim",components:{},mixins:[o("dWSf").a],data:function(){return{authNodes:{add:!0,delete:!0,export:!0,save:!0,auditing:!0,batchAuditing:!0},buttonList:[{label:"提交",authName:"auditing",icon:"el-icon-yrt-qiyong",type:"success"}],BASE_API:"http://192.168.0.189",dialogPicVisible:!1,dialogImageUrl:null}},computed:{},methods:{getPicList:function(t){return t?t.split(","):[]},showSmallPic:function(t){return t?t.indexOf("http")>=0?t+"?x-oss-process=style/small":this.BASE_API+t+"?x-oss-process=style/small":""},showBigPic:function(t){this.dialogPicVisible=!0,t?t.indexOf("http")>=0?this.dialogImageUrl=t+"?x-oss-process=style/big":this.dialogImageUrl=this.BASE_API+t+"?x-oss-process=style/big":this.dialogImageUrl=""},onChange:function(t,e,o,i){i.wayBillCode&&("wayBillCode"===o.options.prop&&this.getWayInfo(i),"expressCode"===o.options.prop&&this.getWayInfoByExpressCode(i))},getWayInfoByExpressCode:function(t){var e=this,o={code:t.expressCode};this.common.ajax("/api/tms/user/claim/getWayInfoByExpressCode",o,function(o){o.result?o.data?(e.editor.changeValue("expressCode",o.data.expressCode),e.editor.changeValue("storage_Id",o.data.storage_Id),e.editor.changeValue("storageName",o.data.storageName)):(t.contacts=null,t.mobile=null,t.quantityClaim=null,e.$message.error("运单号号不存在!")):e.common.showMsg(o)},!0)},getWayInfo:function(t){var e=this,o={code:t.wayBillCode};this.common.ajax("/api/tms/user/claim/getWayInfoBydCode",o,function(t){t.result?t.data&&(e.editor.changeValue("expressCode",t.data.expressCode),e.editor.changeValue("storage_Id",t.data.storage_Id),e.editor.changeValue("storageName",t.data.storageName)):e.common.showMsg(t)},!0)}}},a=(o("5nb9"),o("KHd+")),n=Object(a.a)(i,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"page-list-container"},[o("yrt-data-list",{ref:t.dataListRef,attrs:{"editor-ref":t.editorRef,"data-options":t.dataOptions,fields:t.dataListOptions.fields,buttons:t.dataListOptions.buttons,"button-click":t.buttonClick,"data-list-selections":t.dataListSelections,"auth-nodes":t.authNodes},on:{"update:fields":function(e){return t.$set(t.dataListOptions,"fields",e)},"update:dataListSelections":function(e){t.dataListSelections=e},"update:data-list-selections":function(e){t.dataListSelections=e}},scopedSlots:t._u([{key:"common-column-slot",fn:function(e){var i=e.row,a=e.col;return["claimStatus"===a.prop?["已提交"===i.claimStatus?o("el-tag",{staticStyle:{color:"#838383"},attrs:{color:"#33ff66"}},[t._v("\n          "+t._s(i[a.prop])+"\n        ")]):o("el-tag",{staticStyle:{color:"#838383"},attrs:{color:"#ffffcc"}},[t._v("\n          "+t._s(i[a.prop])+"\n        ")])]:["wayBillPicture","packagePicture","receiptPicture"].indexOf(a.prop)>=0?[t._l(t.getPicList(i[a.prop]),function(e,i){return[o("img",{key:i,staticClass:"pic",attrs:{src:t.showSmallPic(e)},on:{click:function(o){return t.showBigPic(e)}}})]})]:a.prop==t.dataOptions.linkColumn?[o("el-link",{attrs:{type:"primary"},nativeOn:{click:function(e){t.linkEditor(i[t.dataOptions.idField])}}},[t._v(t._s(i[a.prop]))])]:a.dropdown_Id>0?[t._v("\n        "+t._s(t.$refs[t.dataListRef].translateText(a.prop,i[a.prop],a.dropdown_Id))+"\n      ")]:[["date","datetime"].indexOf(a.dataType)>=0&&a.formatter?[t._v("\n          "+t._s(t.common.formatDate(i[a.prop],a.formatter))+"\n        ")]:["byte","int32","int64","decimal","double"].indexOf(a.dataType)>=0&&a.formatter?[t._v("\n          "+t._s(t.common.formatNumber(i[a.prop],a.formatter))+"\n        ")]:[t._v("\n          "+t._s(i[a.prop])+"\n        ")]]]}}])}),t._v(" "),o("yrt-editor",t._b({ref:t.editorRef,attrs:{"data-list-ref":t.dataListRef,"data-options":t.dataOptions,action:t.editorOptions.action,visible:t.editorOptions.config.visible,"detail-button-click":t.detailButtonClick,"auth-nodes":t.authNodes,"button-list":t.buttonList},on:{"update:action":function(e){return t.$set(t.editorOptions,"action",e)},"update:visible":function(e){return t.$set(t.editorOptions.config,"visible",e)},"on-change":t.onChange}},"yrt-editor",t.editorOptions,!1)),t._v(" "),o("el-dialog",{attrs:{visible:t.dialogPicVisible,"append-to-body":!0},on:{"update:visible":function(e){t.dialogPicVisible=e}}},[o("img",{staticStyle:{"max-width":"100%"},attrs:{src:t.dialogImageUrl}})])],1)},[],!1,null,"65968818",null);n.options.__file="claim.vue";e.default=n.exports},yaWU:function(t,e,o){"use strict";o.d(e,"a",function(){return i});var i={bind:function(t,e,o){t.children[2].onscroll=function(e){var o=t.children[3];o&&o.classList.contains("el-table__footer-wrapper")&&(o.scrollLeft=e.target.scrollLeft)}},update:function(t,e,o){}}}}]);