Commit 739406f5 by 王勇飞

pp

parent e75c98f8
......@@ -88,7 +88,9 @@ class MaterialCtl extends CtlBase {
}
/* 根据id更新zip信息 */
async updateZipById(pobj, qobj, req) {
async updateZipById(mobj, qobj, req) {
var pobj = mobj.d;
console.log("zip------------------" + JSON.stringify(mobj));
if (pobj.id && pobj.id != 'undefined' && pobj.url && pobj.url != 'undefined'){
try{
await this.service.updateZipById(pobj);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
h3[data-v-5e4906cc]{margin:10px .25em 2ex 1px}.cell-edit-color[data-v-5e4906cc]{color:#2db7f5;font-weight:700}#bottom[data-v-5e4906cc]{position:absolute;right:0;left:255px;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666}#turnright[data-v-5e4906cc]{margin-right:0}
\ No newline at end of file
h3[data-v-ba75f7e4]{margin:20px .25em 20px 5px}
\ No newline at end of file
h3[data-v-676c9656]{margin:20px .25em 20px 5px}
\ No newline at end of file
h3{margin:20px .25em 20px 5px}
\ No newline at end of file
h3[data-v-e740c5d6]{margin:10px .25em 2ex 1px}#bottom[data-v-e740c5d6]{position:absolute;right:0;left:255px;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666}#turnright[data-v-e740c5d6]{margin-right:0}
\ No newline at end of file
h3[data-v-39c46555]{margin:20px .25em 20px 5px}
\ No newline at end of file
h3[data-v-3034d86e]{margin:10px .25em 2ex 1px}#bottom[data-v-3034d86e]{position:absolute;right:0;left:255px;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666}#turnright[data-v-3034d86e]{margin-right:0}
\ No newline at end of file
h3[data-v-2de53272]{margin:20px .25em 20px 5px}
\ No newline at end of file
.count-style{font-size:50px}
\ No newline at end of file
h3[data-v-f6512592]{margin:10px .25em 2ex 1px}#bottom[data-v-f6512592]{position:absolute;right:0;left:255px;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666}#turnright[data-v-f6512592]{margin-right:0}
\ No newline at end of file
#closeCase,#submitCase{margin-bottom:10px}#closeCase{margin-left:10px}.vertical-center-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-center-modal .ivu-modal{top:0}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-109bb390.09462324.css rel=prefetch><link href=/css/chunk-147ae165.6f445032.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-25afc4fa.99ac2d68.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-3dac7cb6.092352fb.css rel=prefetch><link href=/css/chunk-4f4d30e7.1e75f0e2.css rel=prefetch><link href=/css/chunk-74272420.ec0b7c8e.css rel=prefetch><link href=/css/chunk-8545fa76.3623703d.css rel=prefetch><link href=/css/chunk-8c6770c6.a7d75fbd.css rel=prefetch><link href=/css/chunk-ae407986.9f00f0fb.css rel=prefetch><link href=/css/chunk-b9561c56.c5df893c.css rel=prefetch><link href=/css/chunk-fd15c93c.1b52b9d9.css rel=prefetch><link href=/js/chunk-109bb390.90b821c2.js rel=prefetch><link href=/js/chunk-147ae165.3e78d46e.js rel=prefetch><link href=/js/chunk-14b9857b.e2979388.js rel=prefetch><link href=/js/chunk-25afc4fa.2db27901.js rel=prefetch><link href=/js/chunk-2c359864.84067640.js rel=prefetch><link href=/js/chunk-2d0be336.21906c5a.js rel=prefetch><link href=/js/chunk-3385141a.b008b502.js rel=prefetch><link href=/js/chunk-3dac7cb6.e0f15dfd.js rel=prefetch><link href=/js/chunk-4f4d30e7.e1162e74.js rel=prefetch><link href=/js/chunk-50aad02e.38b1ad9f.js rel=prefetch><link href=/js/chunk-581dc3fa.39056ca1.js rel=prefetch><link href=/js/chunk-74272420.64f6ccab.js rel=prefetch><link href=/js/chunk-8545fa76.22d8d782.js rel=prefetch><link href=/js/chunk-8c6770c6.fd10df19.js rel=prefetch><link href=/js/chunk-9ebfd05c.7daef9bb.js rel=prefetch><link href=/js/chunk-ae407986.abc76dc8.js rel=prefetch><link href=/js/chunk-b9561c56.9c973e60.js rel=prefetch><link href=/js/chunk-f1198720.7d1b315a.js rel=prefetch><link href=/js/chunk-f288b8d2.e4775dde.js rel=prefetch><link href=/js/chunk-fd15c93c.72fac165.js rel=prefetch><link href=/css/app.d9d423c7.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.cf762dd7.js rel=preload as=script><link href=/js/chunk-vendors.a21ac540.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.d9d423c7.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a21ac540.js></script><script src=/js/app.cf762dd7.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0c534b2e.0cab38ac.css rel=prefetch><link href=/css/chunk-1278a2b4.43772004.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-2a96f528.090dff2f.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-2e32cc53.09462324.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-39620bae.86a18c1a.css rel=prefetch><link href=/css/chunk-3f4e7372.84fb2e70.css rel=prefetch><link href=/css/chunk-718377a0.ec0b7c8e.css rel=prefetch><link href=/css/chunk-d00173f2.1c58acc6.css rel=prefetch><link href=/css/chunk-f64fbc22.1e75f0e2.css rel=prefetch><link href=/css/chunk-f6e41056.092352fb.css rel=prefetch><link href=/css/chunk-feee354a.3623703d.css rel=prefetch><link href=/js/chunk-0c534b2e.ab355f0d.js rel=prefetch><link href=/js/chunk-1278a2b4.64dc5048.js rel=prefetch><link href=/js/chunk-14b9857b.120d5f8a.js rel=prefetch><link href=/js/chunk-2a96f528.77149b44.js rel=prefetch><link href=/js/chunk-2c359864.a5fd90e1.js rel=prefetch><link href=/js/chunk-2d0be336.426261bd.js rel=prefetch><link href=/js/chunk-2e32cc53.ac6918cf.js rel=prefetch><link href=/js/chunk-3385141a.bda0e654.js rel=prefetch><link href=/js/chunk-39620bae.c2f29967.js rel=prefetch><link href=/js/chunk-3f4e7372.f4926513.js rel=prefetch><link href=/js/chunk-50aaddbb.d18da9b4.js rel=prefetch><link href=/js/chunk-5f1d0e3e.d528b2a0.js rel=prefetch><link href=/js/chunk-718377a0.dda43086.js rel=prefetch><link href=/js/chunk-852209e0.02f9fe7c.js rel=prefetch><link href=/js/chunk-d00173f2.66f3e337.js rel=prefetch><link href=/js/chunk-f1196c06.93bd4483.js rel=prefetch><link href=/js/chunk-f2889db8.fd704a76.js rel=prefetch><link href=/js/chunk-f64fbc22.9e25dd16.js rel=prefetch><link href=/js/chunk-f6e41056.0b436fcf.js rel=prefetch><link href=/js/chunk-feee354a.3ec88528.js rel=prefetch><link href=/css/app.779de13c.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.88bcb7cf.js rel=preload as=script><link href=/js/chunk-vendors.68d74005.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.779de13c.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.68d74005.js></script><script src=/js/app.88bcb7cf.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14b9857b"],{"0eb4":function(t,e,n){},3026:function(t,e,n){t.exports=n.p+"img/error-401.98bba5b1.svg"},9454:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-page"},[n("div",{staticClass:"content-con"},[n("img",{attrs:{src:t.src,alt:t.code}}),n("div",{staticClass:"text-con"},[n("h4",[t._v(t._s(t.code))]),n("h5",[t._v(t._s(t.desc))])]),n("back-btn-group",{staticClass:"back-btn-group"})],1)])},c=[],o=(n("0eb4"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backHome}},[t._v("返回首页")]),n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backPrev}},[t._v("返回上一页("+t._s(t.second)+"s)")])],1)}),s=[],a=(n("a481"),{name:"backBtnGroup",data:function(){return{second:5,timer:null}},methods:{backHome:function(){this.$router.replace({name:this.$config.homeName})},backPrev:function(){this.$router.go(-1)}},mounted:function(){var t=this;this.timer=setInterval((function(){0===t.second?t.backPrev():t.second--}),1e3)},beforeDestroy:function(){clearInterval(this.timer)}}),i=a,u=n("2877"),l=Object(u["a"])(i,o,s,!1,null,null,null),b=l.exports,d={name:"error_content",components:{backBtnGroup:b},props:{code:String,desc:String,src:String}},f=d,p=Object(u["a"])(f,r,c,!1,null,null,null);e["a"]=p.exports},f94f:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("error-content",{attrs:{code:"401",desc:"Oh~~您没有浏览这个页面的权限~",src:t.src}})},c=[],o=n("3026"),s=n.n(o),a=n("9454"),i={name:"error_401",components:{errorContent:a["a"]},data:function(){return{src:s.a}}},u=i,l=n("2877"),b=Object(l["a"])(u,r,c,!1,null,null,null);e["default"]=b.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c359864"],{"0eb4":function(t,e,n){},4740:function(t,e,n){t.exports=n.p+"img/error-500.a371eabc.svg"},"88b2":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("error-content",{attrs:{code:"500",desc:"Oh~~鬼知道服务器经历了什么~",src:t.src}})},c=[],o=n("4740"),s=n.n(o),a=n("9454"),i={name:"error_500",components:{errorContent:a["a"]},data:function(){return{src:s.a}}},u=i,l=n("2877"),d=Object(l["a"])(u,r,c,!1,null,null,null);e["default"]=d.exports},9454:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-page"},[n("div",{staticClass:"content-con"},[n("img",{attrs:{src:t.src,alt:t.code}}),n("div",{staticClass:"text-con"},[n("h4",[t._v(t._s(t.code))]),n("h5",[t._v(t._s(t.desc))])]),n("back-btn-group",{staticClass:"back-btn-group"})],1)])},c=[],o=(n("0eb4"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backHome}},[t._v("返回首页")]),n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backPrev}},[t._v("返回上一页("+t._s(t.second)+"s)")])],1)}),s=[],a=(n("a481"),{name:"backBtnGroup",data:function(){return{second:5,timer:null}},methods:{backHome:function(){this.$router.replace({name:this.$config.homeName})},backPrev:function(){this.$router.go(-1)}},mounted:function(){var t=this;this.timer=setInterval((function(){0===t.second?t.backPrev():t.second--}),1e3)},beforeDestroy:function(){clearInterval(this.timer)}}),i=a,u=n("2877"),l=Object(u["a"])(i,o,s,!1,null,null,null),d=l.exports,p={name:"error_content",components:{backBtnGroup:d},props:{code:String,desc:String,src:String}},b=p,f=Object(u["a"])(b,r,c,!1,null,null,null);e["a"]=f.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3385141a"],{"0eb4":function(t,e,n){},"35f5":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("error-content",{attrs:{code:"404",desc:"Oh~~您的页面好像飞走了~",src:t.src}})},c=[],o=n("c436"),s=n.n(o),a=n("9454"),i={name:"error_404",components:{errorContent:a["a"]},data:function(){return{src:s.a}}},u=i,l=n("2877"),d=Object(l["a"])(u,r,c,!1,null,null,null);e["default"]=d.exports},9454:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error-page"},[n("div",{staticClass:"content-con"},[n("img",{attrs:{src:t.src,alt:t.code}}),n("div",{staticClass:"text-con"},[n("h4",[t._v(t._s(t.code))]),n("h5",[t._v(t._s(t.desc))])]),n("back-btn-group",{staticClass:"back-btn-group"})],1)])},c=[],o=(n("0eb4"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backHome}},[t._v("返回首页")]),n("Button",{attrs:{size:"large",type:"text"},on:{click:t.backPrev}},[t._v("返回上一页("+t._s(t.second)+"s)")])],1)}),s=[],a=(n("a481"),{name:"backBtnGroup",data:function(){return{second:5,timer:null}},methods:{backHome:function(){this.$router.replace({name:this.$config.homeName})},backPrev:function(){this.$router.go(-1)}},mounted:function(){var t=this;this.timer=setInterval((function(){0===t.second?t.backPrev():t.second--}),1e3)},beforeDestroy:function(){clearInterval(this.timer)}}),i=a,u=n("2877"),l=Object(u["a"])(i,o,s,!1,null,null,null),d=l.exports,f={name:"error_content",components:{backBtnGroup:d},props:{code:String,desc:String,src:String}},p=f,m=Object(u["a"])(p,r,c,!1,null,null,null);e["a"]=m.exports},c436:function(t,e,n){t.exports=n.p+"img/error-404.94756dcf.svg"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50aaddbb"],{"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=n("6db5"),o=s["a"],r=n("2877"),u=Object(r["a"])(o,a,i,!1,null,null,null);t["a"]=u.exports},"6d2b":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"bizopt",metaName:"allchance_info",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=n("06d3"),o=n("391e"),r=n("db7f"),u={name:"mychance_page",data:function(){return{}},components:{PageSpace:o["a"],BizTable:s["a"]},methods:{oninitbtn:function(e,t){if("submit_case"==e.key){var n=!0;"beforeSubmission"==t.business_status&&(n=!1),e.ishide=n}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"submit_case"===e?(console.log("turn to case page: ",t),this.$router.push({name:"bizcase",query:{bizType:t.business_type,bizCode:t.demand_code}})):"bizdetails"===e&&(console.log("turn to details page: ",t),this.$router.push({name:"bizdetails",query:{bizType:t.business_type,bizCode:t.demand_code}}))},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var i=r["a"].businessType[a];return i}if("business_status"===t){var s=r["a"].businessStatus[a];return s}if("source"===t){var o=r["a"].source[a];return o}}}},c=u,d=n("2877"),f=Object(d["a"])(c,a,i,!1,null,null,null);t["default"]=f.exports},"6db5":function(e,t,n){"use strict";(function(e){n("c5f6");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0],i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("1157"))}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-852209e0"],{"391e":function(e,s,i){"use strict";var t=function(){var e=this,s=e.$createElement,i=e._self._c||s;return i("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},r=[],a=i("6db5"),n=a["a"],o=i("2877"),u=Object(o["a"])(n,t,r,!1,null,null,null);s["a"]=u.exports},"6db5":function(e,s,i){"use strict";(function(e){i("c5f6");s["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var s=this;this.setHeight(),e(window).resize((function(){s.setHeight()}))},methods:{setHeight:function(){var s=this;this.$nextTick((function(){var i=e("#framediv"),t=i.get()[0],r=window.innerHeight-t.offsetTop-s.advalue;s.frameHeight=r,s.$emit("sizechange",s.frameHeight)}))}}}}).call(this,i("1157"))},c963:function(e,s,i){"use strict";i.r(s);var t=function(){var e=this,s=e.$createElement,i=e._self._c||s;return i("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(s){var t=s.adjustHeight;return[i("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"deliverybill",metaName:"alldeliver_info",packageName:"bizchance",tblheight:t-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),i("Modal",{attrs:{title:"关闭交付单"},on:{"on-ok":e.ok,"on-cancel":e.cancel},model:{value:e.showCloseTip,callback:function(s){e.showCloseTip=s},expression:"showCloseTip"}},[i("p",[e._v("关闭交付单后将删除该交付信息,是否确定关闭该交付单?")])])]}}])})},r=[],a=i("06d3"),n=i("391e"),o=i("db7f"),u=i("7e1e"),l={name:"alldeliver_page",data:function(){return{showCloseTip:!1,currentDeliverNumber:""}},components:{PageSpace:n["a"],BizTable:a["a"]},methods:{oninitbtn:function(e,s){if("edit"==e.key){var i=!0;"companyCase"!=s.businessType&&"psCase"!=s.businessType||"待交付"==s.payStatus&&(i=!1),e.ishide=i}if("details"==e.key){var t=!0;"companyCase"==s.businessType||"psCase"==s.businessType?"已交付"==s.payStatus&&(t=!1):"已关闭"!==s.payStatus&&(t=!1),e.ishide=t}if("close"==e.key){var r=!0;"待交付"==s.payStatus&&(r=!1),e.ishide=r}},beforeadd:function(e,s){return s({value:!0,message:null})},beforedit:function(e,s){return s({value:!0,message:null})},beforesave:function(e,s,i){return i(s)},onexec:function(e,s){var i=this;"edit"===e&&("companyCase"==s.businessType&&this.$nextTick((function(){i.$router.push({name:"cmpBizDeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}})})),"psCase"==s.businessType&&("selfEmployed"==s.baseInfo.companyProperties&&this.$router.push({name:"psBeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"soleProprietorship"==s.baseInfo.companyProperties&&this.$router.push({name:"psBizBeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"company"==s.baseInfo.companyProperties&&this.$router.push({name:"psCmpBizDeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}))),"details"===e&&("companyCase"==s.businessType&&this.$router.push({name:"cmpDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"psCase"==s.businessType&&("selfEmployed"==s.baseInfo.companyProperties&&this.$router.push({name:"psDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"soleProprietorship"==s.baseInfo.companyProperties&&this.$router.push({name:"psBizDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"company"==s.baseInfo.companyProperties&&this.$router.push({name:"psCmpDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}})),"companyCase"!==s.businessType&&"psCase"!==s.businessType&&this.$router.push({name:"addedSveDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}})),"close"===e&&(this.currentDeliverNumber=s.deliverNumber,this.showCloseTip=!0)},validmethod:function(e,s,i){return i()},ok:function(){var e=this;console.log("关闭"+this.currentDeliverNumber+"这个交付单");var s={};s.deliverNumber=this.currentDeliverNumber,s.deliverStatus="closed",Object(u["f"])(s).then((function(s){console.log("deliverStatusUpdateDic result:"+s),e.$refs.bt.fetchData()})).catch((function(e){console.log("deliverStatusUpdateDic err:"+e)})),this.$Message.success("关闭成功")},cancel:function(){this.$Message.info("取消关闭")},formatCol:function(e,s,i){var t=e[s];if("businessType"===s){var r=o["a"].businessType[t];return r}if("payStatus"===s){var a=o["a"].payStatus[t];return a}if("sourceName"===s){var n=o["a"].source[t];return n}}}},p=l,c=i("2877"),b=Object(c["a"])(p,t,r,!1,null,null,null);s["default"]=b.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f1196c06"],{"391e":function(e,s,i){"use strict";var t=function(){var e=this,s=e.$createElement,i=e._self._c||s;return i("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},r=[],a=i("6db5"),n=a["a"],u=i("2877"),o=Object(u["a"])(n,t,r,!1,null,null,null);s["a"]=o.exports},"6db5":function(e,s,i){"use strict";(function(e){i("c5f6");s["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var s=this;this.setHeight(),e(window).resize((function(){s.setHeight()}))},methods:{setHeight:function(){var s=this;this.$nextTick((function(){var i=e("#framediv"),t=i.get()[0],r=window.innerHeight-t.offsetTop-s.advalue;s.frameHeight=r,s.$emit("sizechange",s.frameHeight)}))}}}}).call(this,i("1157"))},ccbb:function(e,s,i){"use strict";i.r(s);var t=function(){var e=this,s=e.$createElement,i=e._self._c||s;return i("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(s){var t=s.adjustHeight;return[i("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"deliverybill",metaName:"alldeliver_info",packageName:"bizchance",tblheight:t-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}}),i("Modal",{attrs:{title:"关闭交付单"},on:{"on-ok":e.ok,"on-cancel":e.cancel},model:{value:e.showCloseTip,callback:function(s){e.showCloseTip=s},expression:"showCloseTip"}},[i("p",[e._v("关闭交付单后将删除该交付信息,是否确定关闭该交付单?")])])]}}])})},r=[],a=i("06d3"),n=i("391e"),u=i("db7f"),o=i("7e1e"),l={name:"alldeliver_page",data:function(){return{showCloseTip:!1,currentDeliverNumber:""}},components:{PageSpace:n["a"],BizTable:a["a"]},methods:{oninitbtn:function(e,s){if("edit"==e.key){var i=!0;"companyCase"!=s.businessType&&"psCase"!=s.businessType||"待交付"==s.payStatus&&(i=!1),e.ishide=i}if("details"==e.key){var t=!0;"companyCase"==s.businessType||"psCase"==s.businessType?"已交付"==s.payStatus&&(t=!1):"已关闭"!==s.payStatus&&(t=!1),e.ishide=t}if("close"==e.key){var r=!0;"待交付"==s.payStatus&&(r=!1),e.ishide=r}},beforeadd:function(e,s){return s({value:!0,message:null})},beforedit:function(e,s){return s({value:!0,message:null})},beforesave:function(e,s,i){return i(s)},onexec:function(e,s){var i=this;"edit"===e&&("companyCase"==s.businessType&&this.$nextTick((function(){i.$router.push({name:"cmpBizDeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}})})),"psCase"==s.businessType&&("selfEmployed"==s.registeredType?this.$router.push({name:"psBeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}):"soleProprietorship"==s.registeredType?this.$router.push({name:"psBizBeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}):this.$router.push({name:"psCmpBizDeliverCase",query:{bizType:s.businessType,bizCode:s.deliverNumber}}))),"details"===e&&("companyCase"==s.businessType&&this.$router.push({name:"cmpDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}),"psCase"==s.businessType&&("selfEmployed"==s.registeredType?this.$router.push({name:"psDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}):"soleProprietorship"==s.registeredType?this.$router.push({name:"psBizDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}}):this.$router.push({name:"psCmpDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}})),"companyCase"!==s.businessType&&"psCase"!==s.businessType&&this.$router.push({name:"addedSveDeliverDetails",query:{bizType:s.businessType,bizCode:s.deliverNumber}})),"close"===e&&(this.currentDeliverNumber=s.deliverNumber,this.showCloseTip=!0)},validmethod:function(e,s,i){return i()},ok:function(){var e=this;console.log("关闭"+this.currentDeliverNumber+"这个交付单");var s={};s.deliverNumber=this.currentDeliverNumber,s.deliverStatus="closed",Object(o["f"])(s).then((function(s){console.log("deliverStatusUpdateDic result:"+s),e.$refs.bt.fetchData()})).catch((function(e){console.log("deliverStatusUpdateDic err:"+e)})),this.$Message.success("关闭成功")},cancel:function(){this.$Message.info("取消关闭")},formatCol:function(e,s,i){var t=e[s];if("businessType"===s){var r=u["a"].businessType[t];return r}if("payStatus"===s){var a=u["a"].payStatus[t];return a}if("sourceName"===s){var n=u["a"].source[t];return n}}}},p=l,c=i("2877"),d=Object(c["a"])(p,t,r,!1,null,null,null);s["default"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f2889db8"],{"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=n("6db5"),o=s["a"],r=n("2877"),u=Object(r["a"])(o,a,i,!1,null,null,null);t["a"]=u.exports},"6db5":function(e,t,n){"use strict";(function(e){n("c5f6");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0],i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("1157"))},ea6a:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,modelName:"bizopt",metaName:"allchance_info",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=n("06d3"),o=n("391e"),r=n("db7f"),u={name:"allchance_page",data:function(){return{}},components:{PageSpace:o["a"],BizTable:s["a"]},methods:{oninitbtn:function(e,t){if("submit_case"==e.key){var n=!0;"beforeSubmission"==t.business_status&&(n=!1),e.ishide=n}},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){"submit_case"===e?(console.log("turn to case page: ",t),this.$router.push({name:"bizcase",query:{bizType:t.business_type,bizCode:t.demand_code}})):"bizdetails"===e&&(console.log("turn to details page: ",t),this.$router.push({name:"bizdetails",query:{bizType:t.business_type,bizCode:t.demand_code}}))},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var i=r["a"].businessType[a];return i}if("business_status"===t){var s=r["a"].businessStatus[a];return s}if("source"===t){var o=r["a"].source[a];return o}}}},c=u,f=n("2877"),d=Object(f["a"])(c,a,i,!1,null,null,null);t["default"]=d.exports}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment