apply-clients 3.4.64 → 3.4.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/build/dev-server.js +2 -2
  2. package/dist-android/static/18.js +2 -2
  3. package/dist-android/static/18.js.map +1 -1
  4. package/dist-android/static/19.js +2 -2
  5. package/dist-android/static/19.js.map +1 -1
  6. package/dist-android/static/24.js +2 -2
  7. package/dist-android/static/24.js.map +1 -1
  8. package/dist-android/static/25.js +2 -2
  9. package/dist-android/static/25.js.map +1 -1
  10. package/dist-android/static/26.js +2 -2
  11. package/dist-android/static/26.js.map +1 -1
  12. package/dist-android/static/28.js +2 -2
  13. package/dist-android/static/28.js.map +1 -1
  14. package/dist-android/static/30.js +2 -2
  15. package/dist-android/static/30.js.map +1 -1
  16. package/dist-android/static/34.js +2 -2
  17. package/dist-android/static/34.js.map +1 -1
  18. package/dist-android/static/43.js +2 -2
  19. package/dist-android/static/43.js.map +1 -1
  20. package/dist-android/static/47.js +2 -2
  21. package/dist-android/static/47.js.map +1 -1
  22. package/dist-android/static/50.js +2 -2
  23. package/dist-android/static/50.js.map +1 -1
  24. package/dist-android/static/52.js +2 -2
  25. package/dist-android/static/52.js.map +1 -1
  26. package/dist-android/static/53.js +2 -2
  27. package/dist-android/static/53.js.map +1 -1
  28. package/dist-android/static/54.js +2 -2
  29. package/dist-android/static/54.js.map +1 -1
  30. package/dist-android/static/60.js +2 -2
  31. package/dist-android/static/60.js.map +1 -1
  32. package/dist-android/static/63.js +2 -2
  33. package/dist-android/static/63.js.map +1 -1
  34. package/dist-android/static/64.js +2 -2
  35. package/dist-android/static/64.js.map +1 -1
  36. package/dist-android/static/78.js +2 -2
  37. package/dist-android/static/78.js.map +1 -1
  38. package/dist-android/static/83.js +2 -2
  39. package/dist-android/static/83.js.map +1 -1
  40. package/dist-android/static/84.js +2 -2
  41. package/dist-android/static/84.js.map +1 -1
  42. package/dist-android/static/86.js +2 -2
  43. package/dist-android/static/86.js.map +1 -1
  44. package/dist-android/static/87.js +2 -2
  45. package/dist-android/static/87.js.map +1 -1
  46. package/dist-android/static/89.js +2 -2
  47. package/dist-android/static/89.js.map +1 -1
  48. package/dist-android/static/97.js +2 -2
  49. package/dist-android/static/97.js.map +1 -1
  50. package/dist-android/static/app.js +80 -80
  51. package/dist-android/static/app.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/App.vue +21 -21
  54. package/src/components/android/AppSign.vue +154 -154
  55. package/src/components/android/AppTakePic.vue +143 -143
  56. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
  57. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  58. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  59. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  60. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  61. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  62. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
  63. package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
  64. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  65. package/src/components/product/Process/ExplorationSelect.vue +482 -495
  66. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  67. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  68. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  69. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  70. package/src/components/product/Process/Service/ServiceControl.vue +1901 -1901
  71. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  72. package/src/components/product/Process/ShowBackReason.vue +33 -33
  73. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
  74. package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
  75. package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
  76. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  77. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
  78. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  79. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  80. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  81. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  82. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
  83. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  84. package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
  85. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  86. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
  87. package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
  88. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
  89. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  90. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  91. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  92. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  93. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  94. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
  95. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
  96. package/yarn-error.log +9976 -0
  97. package/dist.7z +0 -0
@@ -1,2 +1,2 @@
1
- webpackJsonp([47],{75:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(81),s=a(i),n=r(38),o=a(n),l={params:{},singleValues:{},gasstyles:{},gasbrands:[],price:[],adjustables:[],getParam:function(e){return this.params[e]},getSingleValue:function(e){return this.singleValues[e]},getGasstyle:function(e){return this.gasbrands.key},getGasbrand:function(){return this.gasbrands},getAdjustable:function(e){var t=[];e?this.adjustables.forEach(function(r,a){r.value.f_filiale===e&&t.push(r)}):this.adjustables.forEach(function(e,r){t.push(e)});var r={},a=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]);return(0,o.default)(new s.default(a))},getOnlyPrice:function(){var e=[];this.price.forEach(function(t,r){if("有效"===t.f_state){var a={label:t.f_price_name,value:t};e.push(a)}});var t={},r=e.reduce(function(e,r){return t[r.label]?"":t[r.label]=e.push(r),e},[]);return(0,o.default)(new s.default(r))},getPrice:function(e){if(e.f_user_type&&e.f_gasproperties&&e.f_price_type){var t=[];e.filter?this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type&&e.filter===r.f_filiale){var a={label:r.f_price_name,value:r};t.push(a)}}):this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type){var a={label:r.f_price_name,value:r};t.push(a)}});var r={};return t=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]),(0,o.default)(new s.default(t))}}};t.default=l},391:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(6),s=a(i),n=r(11),o=a(n),l=r(2),p=a(l),d=r(3),c=r(8),u=a(c),f=r(75),h=(a(f),p.default.mark(function e(t,r){var a;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$showMessage("撤销后数据不可恢复,确认撤销录入吗?",["confirm","cancel"]);case 2:if(a=e.sent,"cancel"!==a){e.next=5;break}return e.abrupt("return");case 5:t.search();case 6:case"end":return e.stop()}},e,this)}));t.default={title:"操作汇总",data:function(){return{operationtypes:this.$appdata.getParam("报建业务类型"),model:new d.PagedList(""+this.sqlurl,9999,{condition:"\"f_operator= '"+this.$login.f.name+"'\"",items:'"'+this.items+'"',tablename:'"'+this.tablename+'"',orderitem:'"'+this.orderitem+'"'}),show:!1,asideTitle:"用户操作",row:Object,comp:null}},props:{sqlurl:{type:String,default:"rs/sql/getinstallrecord"},items:{type:String,default:"*"},tablename:{type:String,default:"t_stopapply"},orderitem:{type:String,default:"f_date desc"},btns:{type:Array},operationtype:{type:String,default:""},userinfoid:{},isOperate:{type:Boolean,default:!0}},ready:function(){this.$refs.paged.$refs.cri.model.f_operat_type=[this.operationtype],this.search();for(var e=0;e<this.model.length;e++)this.model[e].f_operate_date=this.model[e].f_operate_date.substring(16)},methods:{dateDes:function(e){return this.$login.dateDescripte(e)},selected:function(e){this.row===e?this.row=null:this.row=e},isSelected:function(e){return this.row===e},search:function(){var e=this,t="1=1";this.$login.f.parent.parent.name.includes("统一资源管理")||(t+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.$refs.pv.load(this.sqlurl,{data:{condition:t}}).then(function(t){return 0===t.data.length?(e.model.rows=[],e.model.state="错误",void(e.model.error="没有符合条件的记录")):(e.model.state="正确",void(e.model.rows=t.data))})},disEvent:function(e){this.$dispatch(""+e.eventName)},operate:function(e,t){var r=this;"票据补打"!==e||"机表收费"!==t.type&&"卡表收费"!==t.type&&"超用收费"!==t.type&&"发卡售气"!==t.type?"票据补打"===e&&"其他收费"===t.type?this.$resetpost("rs/sql/apply_singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_othercharge",condition:"id = "+t.id}}).then(function(e){"国税发票"===e.data[0].f_charge_type?(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-other-bill",t)):(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-tax-other-bill",t))}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"票据补打"===e&&"换表"===t.type?this.$resetpost("rs/sql/apply_singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_changemeter",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-change-meter-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"撤销"===e&&this.$dispatch("list-select-oper","撤销","apply-record-cancel",t):this.$resetpost("rs/sql/apply_singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_sellinggas",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e})},operateCancel:function(e){var t=h(this,e);(0,u.default)(t)},selfSearch:function(e){this.$login.f.parent.parent.name.includes("统一资源管理")||(e.condition+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.model.search(e.condition,e.model)}},watch:{}}},761:function(e,t){e.exports=' <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class="flex-row select-overspread" partial style="white-space: nowarp"> <div class=form-group> <input type=text class="form-control width-100" v-model=model.f_userinfo_id placeholder=报建编号 condition="f_userinfo_id = \'{}\'"> </div> <div class=form-group style="flex: 1"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition="f_operat_type = \'{}\'" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class="btn btn-success width-100" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for="row in model.rows" :is-open=true :is-click=false v-show="row.type===\'终止报建\'"> <span class="panel-title row" slot=header style="cursor: pointer"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if="row.type === \'终止报建\'"> <button type=button data-toggle=dropdown style="border: 0px;background: none"> <span class="glyphicon glyphicon-th-list"></span> </button> <ul slot=dropdown-menu class="dropdown-menu dropdown-menu-right" style="min-width: 60px"> <li v-if="row.type === \'终止报建\'"> <a href=# @click.stop="$parent.$parent.$parent.operate(\'撤销\', row)">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if="row.type === \'终止报建\'" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style="margin-top: 8px;background: #FFF"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> '},942:function(e,t,r){var a,i,s={};a=r(391),i=r(761),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default);var n="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;i&&(n.template=i),n.computed||(n.computed={}),Object.keys(s).forEach(function(e){var t=s[e];n.computed[e]=function(){return t}})}});
2
- //# sourceMappingURL=47.js.map
1
+ webpackJsonp([47],{75:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(81),s=a(i),n=r(38),o=a(n),l={params:{},singleValues:{},gasstyles:{},gasbrands:[],price:[],adjustables:[],getParam:function(e){return this.params[e]},getSingleValue:function(e){return this.singleValues[e]},getGasstyle:function(e){return this.gasbrands.key},getGasbrand:function(){return this.gasbrands},getAdjustable:function(e){var t=[];e?this.adjustables.forEach(function(r,a){r.value.f_filiale===e&&t.push(r)}):this.adjustables.forEach(function(e,r){t.push(e)});var r={},a=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]);return(0,o.default)(new s.default(a))},getOnlyPrice:function(){var e=[];this.price.forEach(function(t,r){if("有效"===t.f_state){var a={label:t.f_price_name,value:t};e.push(a)}});var t={},r=e.reduce(function(e,r){return t[r.label]?"":t[r.label]=e.push(r),e},[]);return(0,o.default)(new s.default(r))},getPrice:function(e){if(e.f_user_type&&e.f_gasproperties&&e.f_price_type){var t=[];e.filter?this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type&&e.filter===r.f_filiale){var a={label:r.f_price_name,value:r};t.push(a)}}):this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type){var a={label:r.f_price_name,value:r};t.push(a)}});var r={};return t=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]),(0,o.default)(new s.default(t))}}};t.default=l},391:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(6),s=a(i),n=r(11),o=a(n),l=r(2),p=a(l),d=r(3),c=r(8),u=a(c),f=r(75),h=(a(f),p.default.mark(function e(t,r){var a;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$showMessage("撤销后数据不可恢复,确认撤销录入吗?",["confirm","cancel"]);case 2:if(a=e.sent,"cancel"!==a){e.next=5;break}return e.abrupt("return");case 5:t.search();case 6:case"end":return e.stop()}},e,this)}));t.default={title:"操作汇总",data:function(){return{operationtypes:this.$appdata.getParam("报建业务类型"),model:new d.PagedList(""+this.sqlurl,9999,{condition:"\"f_operator= '"+this.$login.f.name+"'\"",items:'"'+this.items+'"',tablename:'"'+this.tablename+'"',orderitem:'"'+this.orderitem+'"'}),show:!1,asideTitle:"用户操作",row:Object,comp:null}},props:{sqlurl:{type:String,default:"rs/sql/getinstallrecord"},items:{type:String,default:"*"},tablename:{type:String,default:"t_stopapply"},orderitem:{type:String,default:"f_date desc"},btns:{type:Array},operationtype:{type:String,default:""},userinfoid:{},isOperate:{type:Boolean,default:!0}},ready:function(){this.$refs.paged.$refs.cri.model.f_operat_type=[this.operationtype],this.search();for(var e=0;e<this.model.length;e++)this.model[e].f_operate_date=this.model[e].f_operate_date.substring(16)},methods:{dateDes:function(e){return this.$login.dateDescripte(e)},selected:function(e){this.row===e?this.row=null:this.row=e},isSelected:function(e){return this.row===e},search:function(){var e=this,t="1=1";this.$login.f.parent.parent.name.includes("统一资源管理")||(t+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.$refs.pv.load(this.sqlurl,{data:{condition:t}}).then(function(t){return 0===t.data.length?(e.model.rows=[],e.model.state="错误",void(e.model.error="没有符合条件的记录")):(e.model.state="正确",void(e.model.rows=t.data))})},disEvent:function(e){this.$dispatch(""+e.eventName)},operate:function(e,t){var r=this;"票据补打"!==e||"机表收费"!==t.type&&"卡表收费"!==t.type&&"超用收费"!==t.type&&"发卡售气"!==t.type?"票据补打"===e&&"其他收费"===t.type?this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_othercharge",condition:"id = "+t.id}}).then(function(e){"国税发票"===e.data[0].f_charge_type?(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-other-bill",t)):(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-tax-other-bill",t))}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"票据补打"===e&&"换表"===t.type?this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_changemeter",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-change-meter-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"撤销"===e&&this.$dispatch("list-select-oper","撤销","apply-record-cancel",t):this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_sellinggas",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e})},operateCancel:function(e){var t=h(this,e);(0,u.default)(t)},selfSearch:function(e){this.$login.f.parent.parent.name.includes("统一资源管理")||(e.condition+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.model.search(e.condition,e.model)}},watch:{}}},761:function(e,t){e.exports=' <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class="flex-row select-overspread" partial style="white-space: nowarp"> <div class=form-group> <input type=text class="form-control width-100" v-model=model.f_userinfo_id placeholder=报建编号 condition="f_userinfo_id = \'{}\'"> </div> <div class=form-group style="flex: 1"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition="f_operat_type = \'{}\'" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class="btn btn-success width-100" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for="row in model.rows" :is-open=true :is-click=false v-show="row.type===\'终止报建\'"> <span class="panel-title row" slot=header style="cursor: pointer"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if="row.type === \'终止报建\'"> <button type=button data-toggle=dropdown style="border: 0px;background: none"> <span class="glyphicon glyphicon-th-list"></span> </button> <ul slot=dropdown-menu class="dropdown-menu dropdown-menu-right" style="min-width: 60px"> <li v-if="row.type === \'终止报建\'"> <a href=# @click.stop="$parent.$parent.$parent.operate(\'撤销\', row)">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if="row.type === \'终止报建\'" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style="margin-top: 8px;background: #FFF"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> '},942:function(e,t,r){var a,i,s={};a=r(391),i=r(761),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default);var n="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;i&&(n.template=i),n.computed||(n.computed={}),Object.keys(s).forEach(function(e){var t=s[e];n.computed[e]=function(){return t}})}});
2
+ //# sourceMappingURL=47.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///47.js","webpack:///./src/stores/AppData.js?88bb","webpack:///InstallCardList2.vue","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue?d249","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue"],"names":["webpackJsonp","75","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_set","_set2","_from","_from2","DataStore","params","singleValues","gasstyles","gasbrands","price","adjustables","getParam","key","this","getSingleValue","getGasstyle","getGasbrand","getAdjustable","val","arr","forEach","item","next","f_filiale","push","hash","result","reduce","label","getOnlyPrice","f_state","f_price_name","getPrice","object","f_user_type","f_gasproperties","f_price_type","filter","391","_stringify","_stringify2","_assign","_assign2","_regenerator","_regenerator2","_vueClient","_co","_co2","_AppData","cancelGen","mark","self","data","msgRet","wrap","_context","prev","$showMessage","sent","abrupt","search","stop","title","operationtypes","$appdata","model","PagedList","sqlurl","condition","$login","f","name","items","tablename","orderitem","show","asideTitle","row","comp","props","type","String","btns","Array","operationtype","userinfoid","isOperate","Boolean","ready","$refs","paged","cri","f_operat_type","i","length","f_operate_date","substring","methods","dateDes","date","dateDescripte","selected","isSelected","_this","parent","includes","f_fengongsi","pv","load","then","a","rows","state","error","disEvent","btn","$dispatch","eventName","operate","_this2","$resetpost","id","res","f_charge_type","catch","status","$warn","operateCancel","cancel","selfSearch","args","watch","761","942","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys"],"mappings":"AAAAA,cAAc,KAERC,GACA,SAAUC,EAAQC,EAASC,GAEhC,YAcA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAZvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAOR,EAAoB,IAE3BS,EAAQR,EAAuBO,GAE/BE,EAAQV,EAAoB,IAE5BW,EAASV,EAAuBS,GCjBjCE,GACFC,UACAC,gBACAC,aACAC,aACAC,SACAC,eAEAC,SARc,SAQJC,GACR,MAAOC,MAAKR,OAAOO,IAErBE,eAXc,SAWEF,GACd,MAAOC,MAAKP,aAAaM,IAE3BG,YAdc,SAcDH,GACX,MAAOC,MAAKL,UAAUI,KAExBI,YAjBc,WAkBZ,MAAOH,MAAKL,WAEdS,cApBc,SAoBCC,GAEb,GAAIC,KACAD,GACFL,KAAKH,YAAYU,QAAQ,SAACC,EAAMC,GAC1BD,EAAKtB,MAAMwB,YAAcL,GAC3BC,EAAIK,KAAKH,KAIbR,KAAKH,YAAYU,QAAQ,SAACC,EAAMC,GAC9BH,EAAIK,KAAKH,IAGb,IAAII,MACAC,EAASP,EAAIQ,OAAO,SAACN,EAAMC,GAE7B,MADAG,GAAKH,EAAKM,OAAS,GAAKH,EAAKH,EAAKM,OAAiBP,EAAKG,KAAKF,GACtDD,MAET,QAAO,EAAAlB,EAAAP,SAAW,GAAAK,GAAAL,QAAQ8B,KAE5BG,aAzCc,WA2CZ,GAAIV,KACJN,MAAKJ,MAAMW,QAAQ,SAACC,EAAMC,GACxB,GAAqB,OAAjBD,EAAKS,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IAEAC,WAtFA,SAsFAC,GACArH,KAAAwD,OAAAC,EAAAkC,cAAAjC,KAAAkC,SAAA,YACAyB,EAAA9D,WAAA,oBAAAvD,KAAAwD,OAAAC,EAAAoC,YAAA,KAGA7F,KAAAoD,MAAAL,OAAAsE,EAAA9D,UAAA8D,EAAAjE,SASAkE,WF+FMC,IACA,SAAU9I,EAAQC,GGhVxBD,EAAAC,QAAA,+mEHsVM8I,IACA,SAAU/I,EAAQC,EAASC,GIvVjC,GAAA8I,GAAAC,EACAC,IACAF,GAAA9I,EAAA,KACA+I,EAAA/I,EAAA,KACAF,EAAAC,QAAA+I,MACAhJ,EAAAC,QAAAI,aAAAL,EAAAC,QAAAD,EAAAC,QAAAK,QACA,IAAA6I,GAAA,kBAAAnJ,GAAAC,QAAAD,EAAAC,QAAAmJ,UAAApJ,EAAAC,QAAAmJ,YAAoHpJ,EAAAC,OACpHgJ,KACAE,EAAAE,SAAAJ,GAEAE,EAAAG,WAAAH,EAAAG,aACA/I,OAAAgJ,KAAAL,GAAApH,QAAA,SAAAR,GACA,GAAAtB,GAAAkJ,EAAA5H,EACA6H,GAAAG,SAAAhI,GAAA,WAA6C,MAAAtB","file":"47.js","sourcesContent":["webpackJsonp([47],{\n\n/***/ 75:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _set = __webpack_require__(81);\n\t\n\tvar _set2 = _interopRequireDefault(_set);\n\t\n\tvar _from = __webpack_require__(38);\n\t\n\tvar _from2 = _interopRequireDefault(_from);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DataStore = {\n\t params: {},\n\t singleValues: {},\n\t gasstyles: {},\n\t gasbrands: [],\n\t price: [],\n\t adjustables: [],\n\t\n\t getParam: function getParam(key) {\n\t return this.params[key];\n\t },\n\t getSingleValue: function getSingleValue(key) {\n\t return this.singleValues[key];\n\t },\n\t getGasstyle: function getGasstyle(key) {\n\t return this.gasbrands.key;\n\t },\n\t getGasbrand: function getGasbrand() {\n\t return this.gasbrands;\n\t },\n\t getAdjustable: function getAdjustable(val) {\n\t var arr = [];\n\t if (val) {\n\t this.adjustables.forEach(function (item, next) {\n\t if (item.value.f_filiale === val) {\n\t arr.push(item);\n\t }\n\t });\n\t } else {\n\t this.adjustables.forEach(function (item, next) {\n\t arr.push(item);\n\t });\n\t }\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getOnlyPrice: function getOnlyPrice() {\n\t var arr = [];\n\t this.price.forEach(function (item, next) {\n\t if (item.f_state === '有效') {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t arr.push(value);\n\t }\n\t });\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getPrice: function getPrice(object) {\n\t if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\n\t return;\n\t }\n\t var result = [];\n\t\n\t if (object.filter) {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && object.filter === item.f_filiale) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t } else {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t }\n\t\n\t var hash = {};\n\t result = result.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t }\n\t};\n\t\n\texports.default = DataStore;\n\n/***/ }),\n\n/***/ 391:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stringify = __webpack_require__(6);\n\t\n\tvar _stringify2 = _interopRequireDefault(_stringify);\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar _assign2 = _interopRequireDefault(_assign);\n\t\n\tvar _regenerator = __webpack_require__(2);\n\t\n\tvar _regenerator2 = _interopRequireDefault(_regenerator);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tvar _co = __webpack_require__(8);\n\t\n\tvar _co2 = _interopRequireDefault(_co);\n\t\n\tvar _AppData = __webpack_require__(75);\n\t\n\tvar _AppData2 = _interopRequireDefault(_AppData);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar cancelGen = _regenerator2.default.mark(function cancelGen(self, data) {\n\t var msgRet;\n\t return _regenerator2.default.wrap(function cancelGen$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t _context.next = 2;\n\t return self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel']);\n\t\n\t case 2:\n\t msgRet = _context.sent;\n\t\n\t if (!(msgRet === 'cancel')) {\n\t _context.next = 5;\n\t break;\n\t }\n\t\n\t return _context.abrupt('return');\n\t\n\t case 5:\n\t self.search();\n\t\n\t case 6:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, cancelGen, this);\n\t});\n\t\n\texports.default = {\n\t title: '操作汇总',\n\t data: function data() {\n\t return {\n\t operationtypes: this.$appdata.getParam('报建业务类型'),\n\t model: new _vueClient.PagedList('' + this.sqlurl, 9999, { condition: '\"' + 'f_operator= \\'' + this.$login.f.name + '\\'' + '\"', items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"' }),\n\t show: false,\n\t asideTitle: '用户操作',\n\t row: Object,\n\t comp: null\n\t };\n\t },\n\t\n\t props: {\n\t sqlurl: {\n\t type: String,\n\t default: 'rs/sql/getinstallrecord'\n\t },\n\t items: {\n\t type: String,\n\t default: '*'\n\t },\n\t tablename: {\n\t type: String,\n\t default: 't_stopapply'\n\t },\n\t orderitem: {\n\t type: String,\n\t default: 'f_date desc'\n\t },\n\t btns: {\n\t type: Array\n\t },\n\t operationtype: {\n\t type: String,\n\t default: ''\n\t },\n\t userinfoid: {},\n\t isOperate: {\n\t type: Boolean,\n\t default: true\n\t }\n\t },\n\t ready: function ready() {\n\t this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype];\n\t this.search();\n\t for (var i = 0; i < this.model.length; i++) {\n\t this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16);\n\t }\n\t },\n\t\n\t methods: {\n\t dateDes: function dateDes(date) {\n\t return this.$login.dateDescripte(date);\n\t },\n\t selected: function selected(row) {\n\t if (this.row === row) {\n\t this.row = null;\n\t } else {\n\t this.row = row;\n\t }\n\t },\n\t isSelected: function isSelected(row) {\n\t return this.row === row;\n\t },\n\t search: function search() {\n\t var _this = this;\n\t\n\t var condition = '1=1';\n\t\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t this.$refs.pv.load(this.sqlurl, { data: { condition: condition } }).then(function (a) {\n\t if (a.data.length === 0) {\n\t _this.model.rows = [];\n\t _this.model.state = '错误';\n\t _this.model.error = '没有符合条件的记录';\n\t return;\n\t }\n\t _this.model.state = '正确';\n\t _this.model.rows = a.data;\n\t });\n\t },\n\t disEvent: function disEvent(btn) {\n\t this.$dispatch('' + btn.eventName);\n\t },\n\t operate: function operate(title, row) {\n\t var _this2 = this;\n\t\n\t if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\n\t this.$resetpost('rs/sql/apply_singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_sellinggas', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '其他收费') {\n\t this.$resetpost('rs/sql/apply_singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_othercharge', condition: 'id = ' + row.id } }).then(function (res) {\n\t if (res.data[0].f_charge_type === '国税发票') {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-other-bill', row);\n\t } else {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-tax-other-bill', row);\n\t }\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '换表') {\n\t this.$resetpost('rs/sql/apply_singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_changemeter', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-change-meter-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '撤销') {\n\t this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row);\n\t }\n\t },\n\t operateCancel: function operateCancel(row) {\n\t var cancel = cancelGen(this, row);\n\t (0, _co2.default)(cancel);\n\t },\n\t selfSearch: function selfSearch(args) {\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t args.condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t\n\t this.model.search(args.condition, args.model);\n\t }\n\t },\n\t watch: {}\n\t};\n\n/***/ }),\n\n/***/ 761:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n/***/ }),\n\n/***/ 942:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__vue_script__ = __webpack_require__(391)\n\t__vue_template__ = __webpack_require__(761)\n\tmodule.exports = __vue_script__ || {}\n\tif (module.exports.__esModule) module.exports = module.exports.default\n\tvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\n\tif (__vue_template__) {\n\t__vue_options__.template = __vue_template__\n\t}\n\tif (!__vue_options__.computed) __vue_options__.computed = {}\n\tObject.keys(__vue_styles__).forEach(function (key) {\n\tvar module = __vue_styles__[key]\n\t__vue_options__.computed[key] = function () { return module }\n\t})\n\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// 47.js","let DataStore = {\r\n params: {},\r\n singleValues: {},\r\n gasstyles: {},\r\n gasbrands: [],\r\n price: [],\r\n adjustables: [],\r\n\r\n getParam (key) {\r\n return this.params[key]\r\n },\r\n getSingleValue (key) {\r\n return this.singleValues[key]\r\n },\r\n getGasstyle (key) {\r\n return this.gasbrands.key\r\n },\r\n getGasbrand () {\r\n return this.gasbrands\r\n },\r\n getAdjustable (val) {\r\n // 数组去重\r\n let arr = []\r\n if (val) {\r\n this.adjustables.forEach((item, next) => {\r\n if (item.value.f_filiale === val) {\r\n arr.push(item)\r\n }\r\n })\r\n } else {\r\n this.adjustables.forEach((item, next) => {\r\n arr.push(item)\r\n })\r\n }\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getOnlyPrice () {\r\n // 数组去重\r\n let arr = []\r\n this.price.forEach((item, next) => {\r\n if (item.f_state === '有效') {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n arr.push(value)\r\n }\r\n })\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getPrice (object) {\r\n // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type\r\n if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\r\n return\r\n }\r\n let result = []\r\n // 做筛选\r\n if (object.filter) {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&\r\n object.f_gasproperties === item.f_gasproperties &&\r\n object.f_price_type === item.f_price_type &&\r\n object.filter === item.f_filiale) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n } else {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n }\r\n // 数组去重\r\n let hash = {}\r\n result = result.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n }\r\n}\r\n\r\nexport default DataStore\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/stores/AppData.js","<template>\r\n <div>\r\n <partial-view v-ref:pv>\r\n <criteria-paged :model=\"model\" v-ref:paged :pager=\"false\">\r\n <criteria partial='criteria' @condition-changed='$parent.$parent.selfSearch' v-ref:cri>\r\n <div novalidate class=\"flex-row select-overspread\" partial style=\"white-space: nowarp;\">\r\n <div class=\"form-group\">\r\n <!-- <label>用户编号:</label> -->\r\n <input type=\"text\" class=\"form-control width-100\" v-model=\"model.f_userinfo_id\" placeholder='报建编号' condition=\"f_userinfo_id = '{}'\">\r\n </div>\r\n <div class=\"form-group\" style=\"flex: 1;\">\r\n <!-- <label>操作类型:</label> -->\r\n <v-select id=\"f_paytype\"\r\n v-model=\"model.f_operat_type\"\r\n placeholder='操作类型'\r\n :value.sync=\"model.f_operat_type\"\r\n :options='$parent.$parent.$parent.operationtypes'\r\n condition=\"f_operat_type = '{}'\"\r\n close-on-select ></v-select>\r\n <partial name=\"cardcriteria\"></partial>\r\n </div>\r\n <!-- <div class=\"form-group\">\r\n <partial name=\"cardcriteria\"></partial>\r\n </div> -->\r\n <div class=\"form-group\">\r\n <button class=\"btn btn-success width-100\" @click=\"search()\" id=base-rightVie-cardLis-查询>查询</button>\r\n </div>\r\n\r\n </div>\r\n </criteria>\r\n <accordion :one-at-atime=\"true\" type=\"info\" partial=\"list\">\r\n <panel type=\"info\" v-for=\"row in model.rows\" :is-open=\"true\" :is-click=\"false\" v-show=\"row.type==='终止报建'\">\r\n <span class=\"panel-title row\" slot=\"header\" style=\"cursor: pointer;\">\r\n <div class=\"col-sm-11\">\r\n <div class=\"row\">\r\n <strong class=\"col-sm-4\">{{row.f_userinfo_id}}</strong>\r\n <span class=\"col-sm-4\">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>\r\n <span class=\"col-sm-4\">{{row.type}}</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-1\" v-if=\"$parent.$parent.$parent.isOperate\">\r\n <!--<dropdown class=\"auto\" v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表' || row.type === '报建收费' || row.type === '报建费用变更' || row.type === '报建费用减免' || row.state === 1\">-->\r\n <dropdown class=\"auto\" v-if=\"row.type === '终止报建'\">\r\n <button type=\"button\" data-toggle=\"dropdown\" style=\"border: 0px;background: none;\">\r\n <span class=\"glyphicon glyphicon-th-list\"></span>\r\n </button>\r\n <ul slot=\"dropdown-menu\" class=\"dropdown-menu dropdown-menu-right\" style=\" min-width: 60px;\">\r\n <!--<li v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表'\">-->\r\n <!--<a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('票据补打', row)\">票据补打</a>-->\r\n <!--</li>-->\r\n <!-- <li v-if=\"row.state === 1 && row.type !== '档案变更' && row.type !== '新增户档案' && row.type !== '银行代扣' && row.type !== '发卡售气' && row.type !== '卡表收费'&& row.type !== '补气'\"> -->\r\n <li v-if=\"row.type === '终止报建'\">\r\n <a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('撤销', row)\">撤销</a>\r\n </li>\r\n </ul>\r\n </dropdown>\r\n </div>\r\n\r\n <!--</span>-->\r\n <div class=\"panel-body\" v-if=\"$parent.$parent.$parent.isSelected(row)\">\r\n <!--<build-apply-detail v-if=\"row.type === '报建收费'\" :data=\"row\"></build-apply-detail>-->\r\n <!--<change-apply-detail v-if=\"row.type === '报建费用变更'\" :data=\"row\"></change-apply-detail>-->\r\n <!--<reduce-apply-detail v-if=\"row.type === '报建费用减免'\" :data=\"row\"></reduce-apply-detail>-->\r\n <stopapply-apply-detail v-if=\"row.type === '终止报建'\" :data=\"row\"></stopapply-apply-detail>\r\n </div>\r\n <div v-if=\"!$parent.$parent.$parent.isSelected(row)\" style=\"margin-top: 8px;background: #FFF;\">\r\n <p>{{row.f_describe}}</p>\r\n </div>\r\n </panel>\r\n </accordion>\r\n\r\n </criteria-paged>\r\n </partial-view>\r\n </div>\r\n </template>\r\n <script>\r\n /**\r\n *操作记录信息\r\n */\r\n import { PagedList } from 'vue-client'\r\n import co from 'co'\r\n import AppData from '../../../../stores/AppData'\r\n\r\n let cancelGen = function * (self, data) {\r\n let msgRet = yield self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel'])\r\n if (msgRet === 'cancel') return\r\n // 撤销操作完成,刷新界面\r\n self.search()\r\n }\r\n\r\n export default {\r\n title: '操作汇总',\r\n data () {\r\n return {\r\n operationtypes: this.$appdata.getParam('报建业务类型'),\r\n model: new PagedList(`${this.sqlurl}`, 9999,\r\n {condition:'\"' +'f_operator= \\''+this.$login.f.name+'\\''+ '\"',items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"'}),\r\n show: false,\r\n asideTitle: '用户操作',\r\n row: Object,\r\n comp: null\r\n }\r\n },\r\n props: {\r\n sqlurl: {\r\n type: String,\r\n default: 'rs/sql/getinstallrecord'\r\n },\r\n items: {\r\n type: String,\r\n default: '*'\r\n },\r\n tablename: {\r\n type: String,\r\n default: 't_stopapply'\r\n },\r\n orderitem: {\r\n type: String,\r\n default: 'f_date desc'\r\n },\r\n btns: {\r\n type: Array\r\n },\r\n operationtype: {\r\n type: String,\r\n default: ''\r\n },\r\n userinfoid: {},\r\n isOperate: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n ready () {\r\n this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n this.search()\r\n for (var i = 0; i < this.model.length; i++) {\r\n this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16)\r\n }\r\n },\r\n methods: {\r\n dateDes (date) {\r\n return this.$login.dateDescripte(date)\r\n },\r\n selected (row) {\r\n if (this.row === row) {\r\n this.row = null\r\n } else {\r\n this.row = row\r\n }\r\n },\r\n isSelected (row) {\r\n return this.row === row\r\n },\r\n search () {\r\n let condition = '1=1'\r\n // this.$refs.paged.$refs.cri.search()\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n if (a.data.length === 0) {\r\n this.model.rows = []\r\n this.model.state = '错误'\r\n this.model.error = '没有符合条件的记录'\r\n return\r\n }\r\n this.model.state = '正确'\r\n this.model.rows = a.data\r\n })\r\n },\r\n disEvent (btn) {\r\n this.$dispatch(`${btn.eventName}`)\r\n },\r\n operate (title, row) {\r\n if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\r\n this.$resetpost('rs/sql/apply_singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_sellinggas', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '其他收费') {\r\n this.$resetpost('rs/sql/apply_singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_othercharge', condition: 'id = ' + row.id}}).then((res) => {\r\n if (res.data[0].f_charge_type === '国税发票') {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-other-bill', row)\r\n } else {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-tax-other-bill', row)\r\n }\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '换表') {\r\n this.$resetpost('rs/sql/apply_singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_changemeter', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-change-meter-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '撤销') {\r\n this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row)\r\n\r\n }\r\n },\r\n // 撤销为统一操作,所以写到基础组件中\r\n operateCancel (row) {\r\n let cancel = cancelGen(this, row)\r\n co(cancel)\r\n },\r\n selfSearch (args) {\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n args.condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n // args.condition = `${args.condition} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n this.model.search(args.condition, args.model)\r\n }\r\n // isClose (val) {\r\n // // 再次点击收缩\r\n // if (val.oldVal && val.oldVal.id === val.val.id) {\r\n // this.$refs.paged.$refs.list.select(null)\r\n // }\r\n // }\r\n },\r\n watch: {\r\n // 'userinfoid' (newVal) {\r\n // if (newVal && newVal !== '') {\r\n // this.$nextTick(function () {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = newVal\r\n // }.bind(this))\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = ''\r\n // let condition = `f_userinfo_id = ${newVal} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n // this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n // if (a.data.length === 0) {\r\n // this.model.rows = []\r\n // this.model.state = '错误'\r\n // this.model.error = '没有符合条件的记录'\r\n // return\r\n // }\r\n // this.model.state = '正确'\r\n // this.model.rows = a.data\r\n // })\r\n // } else {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = ''\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n // this.search()\r\n // }\r\n // }\r\n },\r\n }\r\n </script>\r\n\n\n\n// WEBPACK FOOTER //\n// InstallCardList2.vue?f6be56b0","module.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 761\n// module chunks = 47","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./InstallCardList2.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./InstallCardList2.vue\")\nmodule.exports = __vue_script__ || {}\nif (module.exports.__esModule) module.exports = module.exports.default\nvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\nif (__vue_template__) {\n__vue_options__.template = __vue_template__\n}\nif (!__vue_options__.computed) __vue_options__.computed = {}\nObject.keys(__vue_styles__).forEach(function (key) {\nvar module = __vue_styles__[key]\n__vue_options__.computed[key] = function () { return module }\n})\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 942\n// module chunks = 47"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///47.js","webpack:///./src/stores/AppData.js?88bb","webpack:///InstallCardList2.vue","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue?d249","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue"],"names":["webpackJsonp","75","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_set","_set2","_from","_from2","DataStore","params","singleValues","gasstyles","gasbrands","price","adjustables","getParam","key","this","getSingleValue","getGasstyle","getGasbrand","getAdjustable","val","arr","forEach","item","next","f_filiale","push","hash","result","reduce","label","getOnlyPrice","f_state","f_price_name","getPrice","object","f_user_type","f_gasproperties","f_price_type","filter","391","_stringify","_stringify2","_assign","_assign2","_regenerator","_regenerator2","_vueClient","_co","_co2","_AppData","cancelGen","mark","self","data","msgRet","wrap","_context","prev","$showMessage","sent","abrupt","search","stop","title","operationtypes","$appdata","model","PagedList","sqlurl","condition","$login","f","name","items","tablename","orderitem","show","asideTitle","row","comp","props","type","String","btns","Array","operationtype","userinfoid","isOperate","Boolean","ready","$refs","paged","cri","f_operat_type","i","length","f_operate_date","substring","methods","dateDes","date","dateDescripte","selected","isSelected","_this","parent","includes","f_fengongsi","pv","load","then","a","rows","state","error","disEvent","btn","$dispatch","eventName","operate","_this2","$resetpost","id","res","f_charge_type","catch","status","$warn","operateCancel","cancel","selfSearch","args","watch","761","942","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys"],"mappings":"AAAAA,cAAc,KAERC,GACA,SAAUC,EAAQC,EAASC,GAEhC,YAcA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAZvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAOR,EAAoB,IAE3BS,EAAQR,EAAuBO,GAE/BE,EAAQV,EAAoB,IAE5BW,EAASV,EAAuBS,GCjBjCE,GACFC,UACAC,gBACAC,aACAC,aACAC,SACAC,eAEAC,SARc,SAQJC,GACR,MAAOC,MAAKR,OAAOO,IAErBE,eAXc,SAWEF,GACd,MAAOC,MAAKP,aAAaM,IAE3BG,YAdc,SAcDH,GACX,MAAOC,MAAKL,UAAUI,KAExBI,YAjBc,WAkBZ,MAAOH,MAAKL,WAEdS,cApBc,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["webpackJsonp([47],{\n\n/***/ 75:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _set = __webpack_require__(81);\n\t\n\tvar _set2 = _interopRequireDefault(_set);\n\t\n\tvar _from = __webpack_require__(38);\n\t\n\tvar _from2 = _interopRequireDefault(_from);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DataStore = {\n\t params: {},\n\t singleValues: {},\n\t gasstyles: {},\n\t gasbrands: [],\n\t price: [],\n\t adjustables: [],\n\t\n\t getParam: function getParam(key) {\n\t return this.params[key];\n\t },\n\t getSingleValue: function getSingleValue(key) {\n\t return this.singleValues[key];\n\t },\n\t getGasstyle: function getGasstyle(key) {\n\t return this.gasbrands.key;\n\t },\n\t getGasbrand: function getGasbrand() {\n\t return this.gasbrands;\n\t },\n\t getAdjustable: function getAdjustable(val) {\n\t var arr = [];\n\t if (val) {\n\t this.adjustables.forEach(function (item, next) {\n\t if (item.value.f_filiale === val) {\n\t arr.push(item);\n\t }\n\t });\n\t } else {\n\t this.adjustables.forEach(function (item, next) {\n\t arr.push(item);\n\t });\n\t }\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getOnlyPrice: function getOnlyPrice() {\n\t var arr = [];\n\t this.price.forEach(function (item, next) {\n\t if (item.f_state === '有效') {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t arr.push(value);\n\t }\n\t });\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getPrice: function getPrice(object) {\n\t if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\n\t return;\n\t }\n\t var result = [];\n\t\n\t if (object.filter) {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && object.filter === item.f_filiale) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t } else {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t }\n\t\n\t var hash = {};\n\t result = result.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t }\n\t};\n\t\n\texports.default = DataStore;\n\n/***/ }),\n\n/***/ 391:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stringify = __webpack_require__(6);\n\t\n\tvar _stringify2 = _interopRequireDefault(_stringify);\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar _assign2 = _interopRequireDefault(_assign);\n\t\n\tvar _regenerator = __webpack_require__(2);\n\t\n\tvar _regenerator2 = _interopRequireDefault(_regenerator);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tvar _co = __webpack_require__(8);\n\t\n\tvar _co2 = _interopRequireDefault(_co);\n\t\n\tvar _AppData = __webpack_require__(75);\n\t\n\tvar _AppData2 = _interopRequireDefault(_AppData);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar cancelGen = _regenerator2.default.mark(function cancelGen(self, data) {\n\t var msgRet;\n\t return _regenerator2.default.wrap(function cancelGen$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t _context.next = 2;\n\t return self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel']);\n\t\n\t case 2:\n\t msgRet = _context.sent;\n\t\n\t if (!(msgRet === 'cancel')) {\n\t _context.next = 5;\n\t break;\n\t }\n\t\n\t return _context.abrupt('return');\n\t\n\t case 5:\n\t self.search();\n\t\n\t case 6:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, cancelGen, this);\n\t});\n\t\n\texports.default = {\n\t title: '操作汇总',\n\t data: function data() {\n\t return {\n\t operationtypes: this.$appdata.getParam('报建业务类型'),\n\t model: new _vueClient.PagedList('' + this.sqlurl, 9999, { condition: '\"' + 'f_operator= \\'' + this.$login.f.name + '\\'' + '\"', items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"' }),\n\t show: false,\n\t asideTitle: '用户操作',\n\t row: Object,\n\t comp: null\n\t };\n\t },\n\t\n\t props: {\n\t sqlurl: {\n\t type: String,\n\t default: 'rs/sql/getinstallrecord'\n\t },\n\t items: {\n\t type: String,\n\t default: '*'\n\t },\n\t tablename: {\n\t type: String,\n\t default: 't_stopapply'\n\t },\n\t orderitem: {\n\t type: String,\n\t default: 'f_date desc'\n\t },\n\t btns: {\n\t type: Array\n\t },\n\t operationtype: {\n\t type: String,\n\t default: ''\n\t },\n\t userinfoid: {},\n\t isOperate: {\n\t type: Boolean,\n\t default: true\n\t }\n\t },\n\t ready: function ready() {\n\t this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype];\n\t this.search();\n\t for (var i = 0; i < this.model.length; i++) {\n\t this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16);\n\t }\n\t },\n\t\n\t methods: {\n\t dateDes: function dateDes(date) {\n\t return this.$login.dateDescripte(date);\n\t },\n\t selected: function selected(row) {\n\t if (this.row === row) {\n\t this.row = null;\n\t } else {\n\t this.row = row;\n\t }\n\t },\n\t isSelected: function isSelected(row) {\n\t return this.row === row;\n\t },\n\t search: function search() {\n\t var _this = this;\n\t\n\t var condition = '1=1';\n\t\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t this.$refs.pv.load(this.sqlurl, { data: { condition: condition } }).then(function (a) {\n\t if (a.data.length === 0) {\n\t _this.model.rows = [];\n\t _this.model.state = '错误';\n\t _this.model.error = '没有符合条件的记录';\n\t return;\n\t }\n\t _this.model.state = '正确';\n\t _this.model.rows = a.data;\n\t });\n\t },\n\t disEvent: function disEvent(btn) {\n\t this.$dispatch('' + btn.eventName);\n\t },\n\t operate: function operate(title, row) {\n\t var _this2 = this;\n\t\n\t if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_sellinggas', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '其他收费') {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_othercharge', condition: 'id = ' + row.id } }).then(function (res) {\n\t if (res.data[0].f_charge_type === '国税发票') {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-other-bill', row);\n\t } else {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-tax-other-bill', row);\n\t }\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '换表') {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_changemeter', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-change-meter-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '撤销') {\n\t this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row);\n\t }\n\t },\n\t operateCancel: function operateCancel(row) {\n\t var cancel = cancelGen(this, row);\n\t (0, _co2.default)(cancel);\n\t },\n\t selfSearch: function selfSearch(args) {\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t args.condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t\n\t this.model.search(args.condition, args.model);\n\t }\n\t },\n\t watch: {}\n\t};\n\n/***/ }),\n\n/***/ 761:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n/***/ }),\n\n/***/ 942:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__vue_script__ = __webpack_require__(391)\n\t__vue_template__ = __webpack_require__(761)\n\tmodule.exports = __vue_script__ || {}\n\tif (module.exports.__esModule) module.exports = module.exports.default\n\tvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\n\tif (__vue_template__) {\n\t__vue_options__.template = __vue_template__\n\t}\n\tif (!__vue_options__.computed) __vue_options__.computed = {}\n\tObject.keys(__vue_styles__).forEach(function (key) {\n\tvar module = __vue_styles__[key]\n\t__vue_options__.computed[key] = function () { return module }\n\t})\n\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// 47.js","let DataStore = {\r\n params: {},\r\n singleValues: {},\r\n gasstyles: {},\r\n gasbrands: [],\r\n price: [],\r\n adjustables: [],\r\n\r\n getParam (key) {\r\n return this.params[key]\r\n },\r\n getSingleValue (key) {\r\n return this.singleValues[key]\r\n },\r\n getGasstyle (key) {\r\n return this.gasbrands.key\r\n },\r\n getGasbrand () {\r\n return this.gasbrands\r\n },\r\n getAdjustable (val) {\r\n // 数组去重\r\n let arr = []\r\n if (val) {\r\n this.adjustables.forEach((item, next) => {\r\n if (item.value.f_filiale === val) {\r\n arr.push(item)\r\n }\r\n })\r\n } else {\r\n this.adjustables.forEach((item, next) => {\r\n arr.push(item)\r\n })\r\n }\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getOnlyPrice () {\r\n // 数组去重\r\n let arr = []\r\n this.price.forEach((item, next) => {\r\n if (item.f_state === '有效') {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n arr.push(value)\r\n }\r\n })\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getPrice (object) {\r\n // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type\r\n if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\r\n return\r\n }\r\n let result = []\r\n // 做筛选\r\n if (object.filter) {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&\r\n object.f_gasproperties === item.f_gasproperties &&\r\n object.f_price_type === item.f_price_type &&\r\n object.filter === item.f_filiale) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n } else {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n }\r\n // 数组去重\r\n let hash = {}\r\n result = result.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n }\r\n}\r\n\r\nexport default DataStore\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/stores/AppData.js","<template>\r\n <div>\r\n <partial-view v-ref:pv>\r\n <criteria-paged :model=\"model\" v-ref:paged :pager=\"false\">\r\n <criteria partial='criteria' @condition-changed='$parent.$parent.selfSearch' v-ref:cri>\r\n <div novalidate class=\"flex-row select-overspread\" partial style=\"white-space: nowarp;\">\r\n <div class=\"form-group\">\r\n <!-- <label>用户编号:</label> -->\r\n <input type=\"text\" class=\"form-control width-100\" v-model=\"model.f_userinfo_id\" placeholder='报建编号' condition=\"f_userinfo_id = '{}'\">\r\n </div>\r\n <div class=\"form-group\" style=\"flex: 1;\">\r\n <!-- <label>操作类型:</label> -->\r\n <v-select id=\"f_paytype\"\r\n v-model=\"model.f_operat_type\"\r\n placeholder='操作类型'\r\n :value.sync=\"model.f_operat_type\"\r\n :options='$parent.$parent.$parent.operationtypes'\r\n condition=\"f_operat_type = '{}'\"\r\n close-on-select ></v-select>\r\n <partial name=\"cardcriteria\"></partial>\r\n </div>\r\n <!-- <div class=\"form-group\">\r\n <partial name=\"cardcriteria\"></partial>\r\n </div> -->\r\n <div class=\"form-group\">\r\n <button class=\"btn btn-success width-100\" @click=\"search()\" id=base-rightVie-cardLis-查询>查询</button>\r\n </div>\r\n\r\n </div>\r\n </criteria>\r\n <accordion :one-at-atime=\"true\" type=\"info\" partial=\"list\">\r\n <panel type=\"info\" v-for=\"row in model.rows\" :is-open=\"true\" :is-click=\"false\" v-show=\"row.type==='终止报建'\">\r\n <span class=\"panel-title row\" slot=\"header\" style=\"cursor: pointer;\">\r\n <div class=\"col-sm-11\">\r\n <div class=\"row\">\r\n <strong class=\"col-sm-4\">{{row.f_userinfo_id}}</strong>\r\n <span class=\"col-sm-4\">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>\r\n <span class=\"col-sm-4\">{{row.type}}</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-1\" v-if=\"$parent.$parent.$parent.isOperate\">\r\n <!--<dropdown class=\"auto\" v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表' || row.type === '报建收费' || row.type === '报建费用变更' || row.type === '报建费用减免' || row.state === 1\">-->\r\n <dropdown class=\"auto\" v-if=\"row.type === '终止报建'\">\r\n <button type=\"button\" data-toggle=\"dropdown\" style=\"border: 0px;background: none;\">\r\n <span class=\"glyphicon glyphicon-th-list\"></span>\r\n </button>\r\n <ul slot=\"dropdown-menu\" class=\"dropdown-menu dropdown-menu-right\" style=\" min-width: 60px;\">\r\n <!--<li v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表'\">-->\r\n <!--<a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('票据补打', row)\">票据补打</a>-->\r\n <!--</li>-->\r\n <!-- <li v-if=\"row.state === 1 && row.type !== '档案变更' && row.type !== '新增户档案' && row.type !== '银行代扣' && row.type !== '发卡售气' && row.type !== '卡表收费'&& row.type !== '补气'\"> -->\r\n <li v-if=\"row.type === '终止报建'\">\r\n <a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('撤销', row)\">撤销</a>\r\n </li>\r\n </ul>\r\n </dropdown>\r\n </div>\r\n\r\n <!--</span>-->\r\n <div class=\"panel-body\" v-if=\"$parent.$parent.$parent.isSelected(row)\">\r\n <!--<build-apply-detail v-if=\"row.type === '报建收费'\" :data=\"row\"></build-apply-detail>-->\r\n <!--<change-apply-detail v-if=\"row.type === '报建费用变更'\" :data=\"row\"></change-apply-detail>-->\r\n <!--<reduce-apply-detail v-if=\"row.type === '报建费用减免'\" :data=\"row\"></reduce-apply-detail>-->\r\n <stopapply-apply-detail v-if=\"row.type === '终止报建'\" :data=\"row\"></stopapply-apply-detail>\r\n </div>\r\n <div v-if=\"!$parent.$parent.$parent.isSelected(row)\" style=\"margin-top: 8px;background: #FFF;\">\r\n <p>{{row.f_describe}}</p>\r\n </div>\r\n </panel>\r\n </accordion>\r\n\r\n </criteria-paged>\r\n </partial-view>\r\n </div>\r\n </template>\r\n <script>\r\n /**\r\n *操作记录信息\r\n */\r\n import { PagedList } from 'vue-client'\r\n import co from 'co'\r\n import AppData from '../../../../stores/AppData'\r\n\r\n let cancelGen = function * (self, data) {\r\n let msgRet = yield self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel'])\r\n if (msgRet === 'cancel') return\r\n // 撤销操作完成,刷新界面\r\n self.search()\r\n }\r\n\r\n export default {\r\n title: '操作汇总',\r\n data () {\r\n return {\r\n operationtypes: this.$appdata.getParam('报建业务类型'),\r\n model: new PagedList(`${this.sqlurl}`, 9999,\r\n {condition:'\"' +'f_operator= \\''+this.$login.f.name+'\\''+ '\"',items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"'}),\r\n show: false,\r\n asideTitle: '用户操作',\r\n row: Object,\r\n comp: null\r\n }\r\n },\r\n props: {\r\n sqlurl: {\r\n type: String,\r\n default: 'rs/sql/getinstallrecord'\r\n },\r\n items: {\r\n type: String,\r\n default: '*'\r\n },\r\n tablename: {\r\n type: String,\r\n default: 't_stopapply'\r\n },\r\n orderitem: {\r\n type: String,\r\n default: 'f_date desc'\r\n },\r\n btns: {\r\n type: Array\r\n },\r\n operationtype: {\r\n type: String,\r\n default: ''\r\n },\r\n userinfoid: {},\r\n isOperate: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n ready () {\r\n this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n this.search()\r\n for (var i = 0; i < this.model.length; i++) {\r\n this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16)\r\n }\r\n },\r\n methods: {\r\n dateDes (date) {\r\n return this.$login.dateDescripte(date)\r\n },\r\n selected (row) {\r\n if (this.row === row) {\r\n this.row = null\r\n } else {\r\n this.row = row\r\n }\r\n },\r\n isSelected (row) {\r\n return this.row === row\r\n },\r\n search () {\r\n let condition = '1=1'\r\n // this.$refs.paged.$refs.cri.search()\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n if (a.data.length === 0) {\r\n this.model.rows = []\r\n this.model.state = '错误'\r\n this.model.error = '没有符合条件的记录'\r\n return\r\n }\r\n this.model.state = '正确'\r\n this.model.rows = a.data\r\n })\r\n },\r\n disEvent (btn) {\r\n this.$dispatch(`${btn.eventName}`)\r\n },\r\n operate (title, row) {\r\n if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_sellinggas', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '其他收费') {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_othercharge', condition: 'id = ' + row.id}}).then((res) => {\r\n if (res.data[0].f_charge_type === '国税发票') {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-other-bill', row)\r\n } else {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-tax-other-bill', row)\r\n }\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '换表') {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_changemeter', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-change-meter-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '撤销') {\r\n this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row)\r\n\r\n }\r\n },\r\n // 撤销为统一操作,所以写到基础组件中\r\n operateCancel (row) {\r\n let cancel = cancelGen(this, row)\r\n co(cancel)\r\n },\r\n selfSearch (args) {\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n args.condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n // args.condition = `${args.condition} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n this.model.search(args.condition, args.model)\r\n }\r\n // isClose (val) {\r\n // // 再次点击收缩\r\n // if (val.oldVal && val.oldVal.id === val.val.id) {\r\n // this.$refs.paged.$refs.list.select(null)\r\n // }\r\n // }\r\n },\r\n watch: {\r\n // 'userinfoid' (newVal) {\r\n // if (newVal && newVal !== '') {\r\n // this.$nextTick(function () {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = newVal\r\n // }.bind(this))\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = ''\r\n // let condition = `f_userinfo_id = ${newVal} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n // this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n // if (a.data.length === 0) {\r\n // this.model.rows = []\r\n // this.model.state = '错误'\r\n // this.model.error = '没有符合条件的记录'\r\n // return\r\n // }\r\n // this.model.state = '正确'\r\n // this.model.rows = a.data\r\n // })\r\n // } else {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = ''\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n // this.search()\r\n // }\r\n // }\r\n },\r\n }\r\n </script>\r\n\n\n\n// WEBPACK FOOTER //\n// InstallCardList2.vue?f6be56b0","module.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 761\n// module chunks = 47","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./InstallCardList2.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./InstallCardList2.vue\")\nmodule.exports = __vue_script__ || {}\nif (module.exports.__esModule) module.exports = module.exports.default\nvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\nif (__vue_template__) {\n__vue_options__.template = __vue_template__\n}\nif (!__vue_options__.computed) __vue_options__.computed = {}\nObject.keys(__vue_styles__).forEach(function (key) {\nvar module = __vue_styles__[key]\n__vue_options__.computed[key] = function () { return module }\n})\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 942\n// module chunks = 47"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- webpackJsonp([50],{13:function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t,a){if(e.f_state="",e.f_signin_time&&e.f_knockoff_time){var i=e.f_signin_time.substring(11,16),n=e.f_knockoff_time.substring(11,16);i>t&&(e.f_state="迟到"),n<a&&(e.f_state=e.f_state+"早退")}else e.f_state="缺勤";e.f_state||(e.f_state="正常")}function s(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+"-"+(t<10?"0"+t:t)}function r(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+(t<10?"0"+t:t)}function l(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)}function f(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+""+(t<10?"0"+t:t)+(a<10?"0"+a:a)}function o(){var e=new Date,t=e.getMonth()+1;return[e.getFullYear()+"-"+(t<10?"0"+t:t)+"-01",e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+new Date(e.getFullYear(),t,0).getDate()]}function d(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+" "+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function m(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function u(e){return new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2),e.substr(11,2),e.substr(14,2),e.substr(17,2))}function c(e){var t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function _(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}function h(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"请选择";if("view"!=e){var n=[];if(a&&n.push({label:i,value:null}),E.default.param&&E.default.param[t]){var s=E.default.param[t];s.forEach(function(e){n.push({label:e.name,value:e.name})})}else n.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"});return n}E.default.getParams(t,[null])}function p(e){return("number"!=typeof e||0!=e)&&(!e||(e+="",e=e.trim(),!e))}function b(e){return!window.isNaN(e)&&e%1===0}function g(e){return!window.isNaN(e)}function v(e){for(var t in e)e.hasOwnProperty(t)&&("object"==(0,P.default)(e[t])&&null!=e[t]?v(e[t]):"true"!==e[t]&&"false"!=e[t]||(e[t]="true"===e[t]))}function y(e){for(var t in e)t.endsWith("_path")?e[t]?e[t]="rs/db/file/"+e[t]:e[t]="rs/db/file/nopic.png":null!==e[t]&&"object"==(0,P.default)(e[t])&&y(e[t])}function I(e,t){return new A.default(function(a,i){var n=void 0;"css"==e?(n=document.createElement("link"),n.setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",t)):"js"==e&&(n=document.createElement("script"),n.setAttribute("type","text/javascript"),n.setAttribute("src",t)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){a(n)},!1),n.addEventListener("error",function(){i(n)},!1),document.body.appendChild(n))})}function N(e){return e.substring(10)}function w(e){var t="",a="",i=new Date;t=i.getDay();var n=i.getMonth()+1,s=i.getDate(),r=i.getYear();a=r>200?r:1900+r;var l=["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"];return a+"年"+n+"月"+s+"日 "+l[t]}function x(e,t){var a=new Date(e);a=a.valueOf(),a+=24*t*60*60*1e3,a=new Date(a);var i=a.getMonth()+1,n=a.getDate(),s=a.getHours(),r=a.getMinutes(),l=a.getSeconds();return a.getFullYear()+"-"+(i<10?"0"+i:i)+"-"+(n<10?"0"+n:n)+" "+(s<10?"0"+s:s)+":"+(r<10?"0"+r:r)+":"+(l<10?"0"+l:l)}function M(e){var t=window.location.search,a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function S(e){var t=k(window.location.search.slice(1,window.location.search.length)),a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function D(e){for(var t=String.fromCharCode(e.charCodeAt(0)+e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)+e.charCodeAt(a-1));return escape(t)}function k(e){e=unescape(e);for(var t=String.fromCharCode(e.charCodeAt(0)-e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)-t.charCodeAt(a-1));return t}function $(e){var t=(new Date).getTime(),a=new Date(e).getTime(),i=t-a,n=6e4,s=60*n,r=24*s,l=30*r,f=12*l,o="";return i<=2*n?o="刚刚":2*n<i&&i<s?o=Math.floor(i/n)+"分钟前":s<i&&i<=r?o=Math.floor(i/s)+"小时前":r<i&&i<=l?o=Math.floor(i/r)+"天前":l<i&&i<=f?o=Math.floor(i/l)+"个月前":f<i&&(o=Math.floor(i/f)+"年前"),o}function C(e){var t=e.split("-"),a=t[1]-0+1;return t[0]+"-"+(a<10?"0"+a:a)+"-20 00:00:00"}Object.defineProperty(t,"__esModule",{value:!0}),t.f=void 0;var j=a(10),A=i(j),O=a(12),P=i(O);t.getAttendanceState=n,t.toStandardYearMonth=s,t.toStandardYearMonth1=r,t.toStandardDateString=l,t.toStandardDateString2=f,t.toStartAndEndDateString=o,t.toStandardTimeString=d,t.to3339TimeString=m,t.parse3339String=u,t.format3339TimeString=c,t.guid=_,t.choices=h,t.required=p,t.isInt=b,t.isFloat=g,t.booleanFilter=v,t.ratifyPics=y,t.loadscript=I,t.orgName=N,t.getNowDate=w,t.addDate=x,t.getUrlParames=M,t.getUrlCompileParames=S,t.compileStr=D,t.uncompileStr=k,t.dateDescripte=$,t.nextMonth20=C;var T=a(1),E=i(T);t.f=void 0},371:function(e,t,a){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(11),r=n(s),l=a(12),f=n(l),o=a(7),d=n(o),m=a(44),u=n(m),c=a(2),_=n(c),h=a(3),p=a(129),b=n(p),g=a(13),v=i(g);_.default.mark(function e(t,a){return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a.f_actualfee_type=a.f_actualfee_type[0],a.f_bill_type=a.f_bill_type[0],e.next=4,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_apply",parameters:a}});case 4:delete a.id,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_record",parameters:a}}).then(function(){t.reset()});case 6:case"end":return e.stop()}},e,this)});t.default={components:{InputAndSelect:b.default},title:"报装收费",data:function(){var e;return e={f_billnumber:"",temp:[],billinfo:{},number:{},sum:0},(0,u.default)(e,"billinfo",null),(0,u.default)(e,"billselect",{f_process_id:this.infee.f_process_id}),(0,u.default)(e,"info",null),(0,u.default)(e,"charging_item",[{label:"开户费",value:!1},{label:"入户安装费",value:!1},{label:"人工费",value:!1},{label:"改管费",value:!1},{label:"材料费",value:!1},{label:"设备安装费",value:!1}]),(0,u.default)(e,"showpay",!1),(0,u.default)(e,"addItem",{f_fee:0,f_pay_number:1,f_payfee_money:0}),(0,u.default)(e,"model",{f_payfee_operator:"",f_payfee_department:"",f_filiale:"",f_payfee_date:"",rows:[]}),e},props:["infee"],ready:function(){this.load(),this.model.f_payfee_operator=this.$login.f.name,this.model.f_payfee_department=this.$login.f.f_parentname,this.model.f_filiale=this.$login.f.f_fengongsi,this.model.f_payfee_date=this.$login.toStandardDateString()},methods:{checkedValue:function(e){var t=this;if(this.charging_item[e].value=!this.charging_item[e].value,"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_account_cost=this.infee.f_account_cost?this.infee.f_account_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number);var a={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_account_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number)};this.temp.push(a)}else"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_construction_cost=this.infee.f_construction_cost?this.infee.f_construction_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number);var i={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_construction_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number)};this.temp.push(i)}else"入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("材料费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_material_cost=this.infee.f_material_cost?this.infee.f_material_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number);var n={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_material_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number)};this.temp.push(n)}else"材料费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("人工费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_labor_cost=this.infee.f_labor_cost?this.infee.f_labor_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number);var s={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_labor_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number)};this.temp.push(s)}else"人工费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("改管费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_change_pipeline_cost=this.infee.f_change_pipeline_cost?this.infee.f_change_pipeline_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number);var r={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_change_pipeline_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number)};this.temp.push(r)}else"改管费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_sbaz_cost=this.infee.f_sbaz_cost?this.infee.f_sbaz_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number);var l={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_sbaz_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number)};this.temp.push(l)}else"设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}))},smalltoBIG:function(e){var t=["角","分"],a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],i=[["元","万","亿"],["","拾","佰","仟"]],n=e<0?"欠":"";e=Math.abs(e);for(var s="",r=0;r<t.length;r++)s+=(a[Math.floor(10*e*Math.pow(10,r))%10]+t[r]).replace(/零./,"");s=s||"整",e=Math.floor(e);for(var r=0;r<i[0].length&&e>0;r++){for(var l="",f=0;f<i[1].length&&e>0;f++)l=a[e%10]+i[1][f]+l,e=Math.floor(e/10);s=l.replace(/(零.)*零$/,"").replace(/^$/,"零")+i[0][r]+s}return n+s.replace(/(零.)*零元/,"元").replace(/(零.)+/g,"零").replace(/^整$/,"零元整")},add:function(){this.addItem.f_fee=0,this.showpay=!0},close:function(){this.showpay=!1,this.addItem.f_fee=0,this.addItem.f_capital="",this.addItem.f_payfee_name="",this.addItem.f_payfee_money=0,this.addItem.f_pay_number=1;for(var e=0;e<this.charging_item.length;e++)this.charging_item[e].value=!1},handle:function(){for(;this.number.value.length<3;)this.number.value="0"+this.number.value},check:function(){var e=/^[+-]?\d+(\.\d+)?$/;return!!e.test(this.addItem.f_payfee_money)||(this.$showMessage("请输入数字"),this.addItem.f_payfee_money="",!1)},confirm:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n,s,r,l=this;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.check()!==!1){e.next=2;break}return e.abrupt("return");case 2:for(t="",a=0;a<this.charging_item.length;a++)this.charging_item[a].value===!0&&(t+=this.charging_item[a].label,t+=",");return this.addItem.f_charging_item=t.substring(0,t.length-1),this.addItem.f_payfee_way="object"===(0,f.default)(this.addItem.f_payfee_way)?this.addItem.f_payfee_way[0]:"",this.addItem.processid=this.infee.f_process_id,this.addItem.applyid=this.infee.f_apply_num,this.addItem.f_operator=this.$login.f.name,this.addItem.f_department=this.$login.f.f_parentname,this.addItem.f_filiale=this.$login.f.f_fengongsi,this.addItem.f_fee=Number(this.addItem.f_fee),this.addItem.f_payfee_remarks=this.addItem.f_payfee_money?"其它费用("+this.addItem.f_payfee_name+"):"+this.addItem.f_payfee_money+"元":"",i=new h.HttpResetClass,e.next=16,i.load("POST","rs/logic/saveentity",{data:{tablename:"t_paydetail",parameters:this.addItem}},{resolveMsg:null,rejectMsg:"添加失败"});case 16:return n=new h.HttpResetClass,s={tablename:"t_singlevalue",condition:"name = '销售单编号'"},e.next=20,n.load("POST","rs/sql/apply_singleTable",{data:s},{resolveMsg:null,rejectMsg:"获取销售单编号失败"},{silent:!0});case 20:r=e.sent,this.number=r.data[0],this.handle(),this.$refs.billxsdx.billinfo={f_billnumber:"XS-"+v.toStandardDateString2()+"-"+this.number.value,f_date:v.toStandardDateString(),f_remark:" ",f_username:this.$login.f.name},this.f_billnumber="XS-"+v.toStandardDateString2()+"-"+this.number.value,this.$refs.billxsdx.info=this.temp,this.$refs.billxsdx.load(),setTimeout(function(){l.$refs.billxsdx.billprint()},5e3),this.updateNumber(),this.close(),this.load();case 31:case"end":return e.stop()}},e,this)}));return e}(),updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,this.number.value=String(Number(this.number.value)+1),e.next=4,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"存储销售单编号失败"});case 4:for(t=new h.HttpResetClass,a=(0,r.default)({},this.infee,this.temp),delete a.id,a.f_bill_type="销售单",a.f_billnumber=this.f_billnumber,a.f_date=v.toStandardDateString(),a.f_username=this.$login.f.name,a.f_remark=" ",i=0;i<this.temp.length;i++)this.temp[i].f_sale_money=String(this.temp[i].f_sale_money);return n={billinfo:a,array:this.temp},e.next=15,t.load("POST","rs/logic/makebillrecord",{data:n},{resolveMsg:null,rejectMsg:"票据记录存储失败"});case 15:case"end":return e.stop()}},e,this)}));return e}(),load:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,a={columnname:"f_preparation_fee",tablename:"t_preparationfee",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=4,t.load("POST","rs/sql/getSum",{data:a},{resolveMsg:null,rejectMsg:"获取总金额失败"});case 4:return i=e.sent,this.sum=Math.round(100*i.data[0].f_preparation_fee)/100,a={tablename:"t_paydetail",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=9,t.load("POST","rs/sql/apply_singleTable",{data:a},{resolveMsg:null,rejectMsg:"获取付款数据失败"});case 9:for(i=e.sent,n=0;n<i.data.length;n++)i.data[n].f_payfeedate=i.data[n].f_payfeedate.substring(0,11);this.model.rows=i.data;case 12:case"end":return e.stop()}},e,this)}));return e}()},watch:{"addItem.f_pay_number":function(){var e=this,t=0;this.charging_item.forEach(function(a){1==a.value&&("开户费"===a.label&&(t+=Number(e.infee.f_account_cost)),"入户安装费"===a.label&&(t+=Number(e.infee.f_construction_cost)),"材料费"===a.label&&(t+=Number(e.infee.f_material_cost)),"人工费"===a.label&&(t+=Number(e.infee.f_labor_cost)),"改管费"===a.label&&(t+=Number(e.infee.f_change_pipeline_cost)),"设备安装费"===a.label&&(t+=Number(e.infee.f_sbaz_cost)))}),this.addItem.f_pay_number?this.addItem.f_fee=Number(t)*Number(this.addItem.f_pay_number)+Number(this.addItem.f_payfee_money):this.addItem.f_fee=Number(t)+Number(this.addItem.f_payfee_money)},"addItem.f_payfee_money":function(e,t){t&&!isNaN(Number(t))&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(t)),e&&!isNaN(Number(e))&&(this.addItem.f_fee=Number(this.addItem.f_fee)+Number(e))}},computed:{getCapital:function(){return this.addItem.f_fee&&(this.addItem.f_capital=this.smalltoBIG(Number(this.addItem.f_fee))),this.addItem.f_capital},subcost:function(){for(var e=this.sum,t=0;t<this.model.rows.length;t++)e=Number(e)-Number(this.model.rows[t].f_fee);return e},feeoptions:function(){return this.$appdata.getParam("费用类型")},dayin:function(){return this.$appdata.getParam("打印格式")},jiaofei:function(){return this.$appdata.getParam("缴费类型")}}}},746:function(e,t){e.exports=' <div class="col-sm-12 auto select-overspread"> <div class="auto select-overspread"> <div class="panel panel-info"> <div class="panel-heading auto"> <h3 class=panel-title>预付扣款</h3> </div> </div> </div> <span class=col-sm-1></span><span class=col-sm-3>预付款总金额:{{sum}}元</span><span class=col-sm-3>预付款余额:{{subcost}}元</span> <button type=button class="btn btn-warning col-sm-3 col-sm-offset-3" @click=add()>新增扣款</button> <div class=col-sm-12 style="height: auto"> <div class="form-inline auto" style="margin-bottom: 5px"> </div> <div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 500px"> <partial-view v-ref:single-load> <data-grid :model=model v-ref:grid> <template partial=head> <tr> <th>序号</th> <th>扣款金额(元)</th> <th>金额大写</th> <th>收费项</th> <th>缴费类型</th> <th>收费人员</th> <th>日期</th> <th>备注</th> </tr> </template> <template partial=body> <td style="text-align: center">{{$index+1}}</td> <td style="text-align: center">{{row.f_fee}}</td> <td style="text-align: center">{{row.f_capital}}</td> <td style="text-align: center"> <nobr>{{row.f_charging_item}}</nobr> </td> <td style="text-align: center">{{row.f_payfee_way}}</td> <td style="text-align: center">{{row.f_operator}}</td> <td style="text-align: center">{{row.f_payfeedate}}</td> <td style="text-align: center">{{row.f_payfee_remarks}}</td> </template> </data-grid> </partial-view> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">分公司:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_filiale disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作日期:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_date disabled=disabled> </div> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">部门:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_department disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作人:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_operator disabled=disabled> </div> </div> </div> <modal :show.sync=showpay v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=close><span>&times;</span></button> <h4 class=modal-title>新增收费</h4> </header> <article slot=modal-body class=modal-body> <div v-if=showpay> <validator name=validator> <div class=from-group> <label>总金额(元)</label> <input type=text class=form-control v-model=addItem.f_fee readonly=readonly> </div> <div class=from-group> <label>总金额大写</label> <input type=text class=form-control v-model=getCapital readonly=readonly> </div> <div class=from-group> <label>收费项 </label> <div> <label v-for="item in charging_item"><input type=checkbox @change=checkedValue($index) />{{item.label}} </label> </div> </div> <div class=from-group v-if="!infee.f_apply_type.includes(\'个人\')"> <label>缴费户数 :</label> <input type=text v-model=addItem.f_pay_number> </div> <div class=from-group> <label>其它费用名称:</label> <input class=form-control v-model=addItem.f_payfee_name> <div> <label>其它费用金额(元):</label> <input class=form-control v-model=addItem.f_payfee_money> </div> </div> <div class=from-group> <label>缴费类型</label> <v-select :options=jiaofei v-validate:additem.f_payfee_way[0] v-model=addItem.f_payfee_way :value.sync=addItem.f_payfee_way close-on-select> </v-select> </div> </validator> </div> </article> <footer slot=modal-footer class=modal-footer> <button v-show=showpay type=button class="btn btn-default" @click=close>取消</button> <button v-show=showpay type=button class="btn btn-success" @click=confirm>确认</button> </footer> </modal> <billxsd v-show=false v-ref:billxsdx :billinfo=billinfo :billselect=billselect :info=info></billxsd> </div> '},922:function(e,t,a){var i,n,s={};i=a(371),n=a(746),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var r="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;n&&(r.template=n),r.computed||(r.computed={}),Object.keys(s).forEach(function(e){var t=s[e];r.computed[e]=function(){return t}})}});
2
- //# sourceMappingURL=50.js.map
1
+ webpackJsonp([50],{13:function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t,a){if(e.f_state="",e.f_signin_time&&e.f_knockoff_time){var i=e.f_signin_time.substring(11,16),n=e.f_knockoff_time.substring(11,16);i>t&&(e.f_state="迟到"),n<a&&(e.f_state=e.f_state+"早退")}else e.f_state="缺勤";e.f_state||(e.f_state="正常")}function s(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+"-"+(t<10?"0"+t:t)}function r(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+(t<10?"0"+t:t)}function l(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)}function f(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+""+(t<10?"0"+t:t)+(a<10?"0"+a:a)}function o(){var e=new Date,t=e.getMonth()+1;return[e.getFullYear()+"-"+(t<10?"0"+t:t)+"-01",e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+new Date(e.getFullYear(),t,0).getDate()]}function d(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+" "+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function m(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function u(e){return new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2),e.substr(11,2),e.substr(14,2),e.substr(17,2))}function c(e){var t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function _(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}function h(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"请选择";if("view"!=e){var n=[];if(a&&n.push({label:i,value:null}),E.default.param&&E.default.param[t]){var s=E.default.param[t];s.forEach(function(e){n.push({label:e.name,value:e.name})})}else n.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"});return n}E.default.getParams(t,[null])}function p(e){return("number"!=typeof e||0!=e)&&(!e||(e+="",e=e.trim(),!e))}function b(e){return!window.isNaN(e)&&e%1===0}function g(e){return!window.isNaN(e)}function v(e){for(var t in e)e.hasOwnProperty(t)&&("object"==(0,P.default)(e[t])&&null!=e[t]?v(e[t]):"true"!==e[t]&&"false"!=e[t]||(e[t]="true"===e[t]))}function y(e){for(var t in e)t.endsWith("_path")?e[t]?e[t]="rs/db/file/"+e[t]:e[t]="rs/db/file/nopic.png":null!==e[t]&&"object"==(0,P.default)(e[t])&&y(e[t])}function I(e,t){return new A.default(function(a,i){var n=void 0;"css"==e?(n=document.createElement("link"),n.setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",t)):"js"==e&&(n=document.createElement("script"),n.setAttribute("type","text/javascript"),n.setAttribute("src",t)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){a(n)},!1),n.addEventListener("error",function(){i(n)},!1),document.body.appendChild(n))})}function N(e){return e.substring(10)}function w(e){var t="",a="",i=new Date;t=i.getDay();var n=i.getMonth()+1,s=i.getDate(),r=i.getYear();a=r>200?r:1900+r;var l=["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"];return a+"年"+n+"月"+s+"日 "+l[t]}function x(e,t){var a=new Date(e);a=a.valueOf(),a+=24*t*60*60*1e3,a=new Date(a);var i=a.getMonth()+1,n=a.getDate(),s=a.getHours(),r=a.getMinutes(),l=a.getSeconds();return a.getFullYear()+"-"+(i<10?"0"+i:i)+"-"+(n<10?"0"+n:n)+" "+(s<10?"0"+s:s)+":"+(r<10?"0"+r:r)+":"+(l<10?"0"+l:l)}function M(e){var t=window.location.search,a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function S(e){var t=k(window.location.search.slice(1,window.location.search.length)),a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function D(e){for(var t=String.fromCharCode(e.charCodeAt(0)+e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)+e.charCodeAt(a-1));return escape(t)}function k(e){e=unescape(e);for(var t=String.fromCharCode(e.charCodeAt(0)-e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)-t.charCodeAt(a-1));return t}function $(e){var t=(new Date).getTime(),a=new Date(e).getTime(),i=t-a,n=6e4,s=60*n,r=24*s,l=30*r,f=12*l,o="";return i<=2*n?o="刚刚":2*n<i&&i<s?o=Math.floor(i/n)+"分钟前":s<i&&i<=r?o=Math.floor(i/s)+"小时前":r<i&&i<=l?o=Math.floor(i/r)+"天前":l<i&&i<=f?o=Math.floor(i/l)+"个月前":f<i&&(o=Math.floor(i/f)+"年前"),o}function C(e){var t=e.split("-"),a=t[1]-0+1;return t[0]+"-"+(a<10?"0"+a:a)+"-20 00:00:00"}Object.defineProperty(t,"__esModule",{value:!0}),t.f=void 0;var j=a(10),A=i(j),O=a(12),P=i(O);t.getAttendanceState=n,t.toStandardYearMonth=s,t.toStandardYearMonth1=r,t.toStandardDateString=l,t.toStandardDateString2=f,t.toStartAndEndDateString=o,t.toStandardTimeString=d,t.to3339TimeString=m,t.parse3339String=u,t.format3339TimeString=c,t.guid=_,t.choices=h,t.required=p,t.isInt=b,t.isFloat=g,t.booleanFilter=v,t.ratifyPics=y,t.loadscript=I,t.orgName=N,t.getNowDate=w,t.addDate=x,t.getUrlParames=M,t.getUrlCompileParames=S,t.compileStr=D,t.uncompileStr=k,t.dateDescripte=$,t.nextMonth20=C;var T=a(1),E=i(T);t.f=void 0},371:function(e,t,a){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(11),r=n(s),l=a(12),f=n(l),o=a(7),d=n(o),m=a(44),u=n(m),c=a(2),_=n(c),h=a(3),p=a(129),b=n(p),g=a(13),v=i(g);_.default.mark(function e(t,a){return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a.f_actualfee_type=a.f_actualfee_type[0],a.f_bill_type=a.f_bill_type[0],e.next=4,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_apply",parameters:a}});case 4:delete a.id,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_record",parameters:a}}).then(function(){t.reset()});case 6:case"end":return e.stop()}},e,this)});t.default={components:{InputAndSelect:b.default},title:"报装收费",data:function(){var e;return e={f_billnumber:"",temp:[],billinfo:{},number:{},sum:0},(0,u.default)(e,"billinfo",null),(0,u.default)(e,"billselect",{f_process_id:this.infee.f_process_id}),(0,u.default)(e,"info",null),(0,u.default)(e,"charging_item",[{label:"开户费",value:!1},{label:"入户安装费",value:!1},{label:"人工费",value:!1},{label:"改管费",value:!1},{label:"材料费",value:!1},{label:"设备安装费",value:!1}]),(0,u.default)(e,"showpay",!1),(0,u.default)(e,"addItem",{f_fee:0,f_pay_number:1,f_payfee_money:0}),(0,u.default)(e,"model",{f_payfee_operator:"",f_payfee_department:"",f_filiale:"",f_payfee_date:"",rows:[]}),e},props:["infee"],ready:function(){this.load(),this.model.f_payfee_operator=this.$login.f.name,this.model.f_payfee_department=this.$login.f.f_parentname,this.model.f_filiale=this.$login.f.f_fengongsi,this.model.f_payfee_date=this.$login.toStandardDateString()},methods:{checkedValue:function(e){var t=this;if(this.charging_item[e].value=!this.charging_item[e].value,"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_account_cost=this.infee.f_account_cost?this.infee.f_account_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number);var a={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_account_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number)};this.temp.push(a)}else"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_construction_cost=this.infee.f_construction_cost?this.infee.f_construction_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number);var i={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_construction_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number)};this.temp.push(i)}else"入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("材料费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_material_cost=this.infee.f_material_cost?this.infee.f_material_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number);var n={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_material_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number)};this.temp.push(n)}else"材料费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("人工费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_labor_cost=this.infee.f_labor_cost?this.infee.f_labor_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number);var s={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_labor_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number)};this.temp.push(s)}else"人工费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("改管费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_change_pipeline_cost=this.infee.f_change_pipeline_cost?this.infee.f_change_pipeline_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number);var r={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_change_pipeline_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number)};this.temp.push(r)}else"改管费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_sbaz_cost=this.infee.f_sbaz_cost?this.infee.f_sbaz_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number);var l={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_sbaz_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number)};this.temp.push(l)}else"设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}))},smalltoBIG:function(e){var t=["角","分"],a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],i=[["元","万","亿"],["","拾","佰","仟"]],n=e<0?"欠":"";e=Math.abs(e);for(var s="",r=0;r<t.length;r++)s+=(a[Math.floor(10*e*Math.pow(10,r))%10]+t[r]).replace(/零./,"");s=s||"整",e=Math.floor(e);for(var r=0;r<i[0].length&&e>0;r++){for(var l="",f=0;f<i[1].length&&e>0;f++)l=a[e%10]+i[1][f]+l,e=Math.floor(e/10);s=l.replace(/(零.)*零$/,"").replace(/^$/,"零")+i[0][r]+s}return n+s.replace(/(零.)*零元/,"元").replace(/(零.)+/g,"零").replace(/^整$/,"零元整")},add:function(){this.addItem.f_fee=0,this.showpay=!0},close:function(){this.showpay=!1,this.addItem.f_fee=0,this.addItem.f_capital="",this.addItem.f_payfee_name="",this.addItem.f_payfee_money=0,this.addItem.f_pay_number=1;for(var e=0;e<this.charging_item.length;e++)this.charging_item[e].value=!1},handle:function(){for(;this.number.value.length<3;)this.number.value="0"+this.number.value},check:function(){var e=/^[+-]?\d+(\.\d+)?$/;return!!e.test(this.addItem.f_payfee_money)||(this.$showMessage("请输入数字"),this.addItem.f_payfee_money="",!1)},confirm:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n,s,r,l=this;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.check()!==!1){e.next=2;break}return e.abrupt("return");case 2:for(t="",a=0;a<this.charging_item.length;a++)this.charging_item[a].value===!0&&(t+=this.charging_item[a].label,t+=",");return this.addItem.f_charging_item=t.substring(0,t.length-1),this.addItem.f_payfee_way="object"===(0,f.default)(this.addItem.f_payfee_way)?this.addItem.f_payfee_way[0]:"",this.addItem.processid=this.infee.f_process_id,this.addItem.applyid=this.infee.f_apply_num,this.addItem.f_operator=this.$login.f.name,this.addItem.f_department=this.$login.f.f_parentname,this.addItem.f_filiale=this.$login.f.f_fengongsi,this.addItem.f_fee=Number(this.addItem.f_fee),this.addItem.f_payfee_remarks=this.addItem.f_payfee_money?"其它费用("+this.addItem.f_payfee_name+"):"+this.addItem.f_payfee_money+"元":"",i=new h.HttpResetClass,e.next=16,i.load("POST","rs/logic/saveentity",{data:{tablename:"t_paydetail",parameters:this.addItem}},{resolveMsg:null,rejectMsg:"添加失败"});case 16:return n=new h.HttpResetClass,s={tablename:"t_singlevalue",condition:"name = '销售单编号'"},e.next=20,n.load("POST","rs/sql/singleTable",{data:s},{resolveMsg:null,rejectMsg:"获取销售单编号失败"},{silent:!0});case 20:r=e.sent,this.number=r.data[0],this.handle(),this.$refs.billxsdx.billinfo={f_billnumber:"XS-"+v.toStandardDateString2()+"-"+this.number.value,f_date:v.toStandardDateString(),f_remark:" ",f_username:this.$login.f.name},this.f_billnumber="XS-"+v.toStandardDateString2()+"-"+this.number.value,this.$refs.billxsdx.info=this.temp,this.$refs.billxsdx.load(),setTimeout(function(){l.$refs.billxsdx.billprint()},5e3),this.updateNumber(),this.close(),this.load();case 31:case"end":return e.stop()}},e,this)}));return e}(),updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,this.number.value=String(Number(this.number.value)+1),e.next=4,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"存储销售单编号失败"});case 4:for(t=new h.HttpResetClass,a=(0,r.default)({},this.infee,this.temp),delete a.id,a.f_bill_type="销售单",a.f_billnumber=this.f_billnumber,a.f_date=v.toStandardDateString(),a.f_username=this.$login.f.name,a.f_remark=" ",i=0;i<this.temp.length;i++)this.temp[i].f_sale_money=String(this.temp[i].f_sale_money);return n={billinfo:a,array:this.temp},e.next=15,t.load("POST","rs/logic/makebillrecord",{data:n},{resolveMsg:null,rejectMsg:"票据记录存储失败"});case 15:case"end":return e.stop()}},e,this)}));return e}(),load:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,a={columnname:"f_preparation_fee",tablename:"t_preparationfee",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=4,t.load("POST","rs/sql/getSum",{data:a},{resolveMsg:null,rejectMsg:"获取总金额失败"});case 4:return i=e.sent,this.sum=Math.round(100*i.data[0].f_preparation_fee)/100,a={tablename:"t_paydetail",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=9,t.load("POST","rs/sql/singleTable",{data:a},{resolveMsg:null,rejectMsg:"获取付款数据失败"});case 9:for(i=e.sent,n=0;n<i.data.length;n++)i.data[n].f_payfeedate=i.data[n].f_payfeedate.substring(0,11);this.model.rows=i.data;case 12:case"end":return e.stop()}},e,this)}));return e}()},watch:{"addItem.f_pay_number":function(){var e=this,t=0;this.charging_item.forEach(function(a){1==a.value&&("开户费"===a.label&&(t+=Number(e.infee.f_account_cost)),"入户安装费"===a.label&&(t+=Number(e.infee.f_construction_cost)),"材料费"===a.label&&(t+=Number(e.infee.f_material_cost)),"人工费"===a.label&&(t+=Number(e.infee.f_labor_cost)),"改管费"===a.label&&(t+=Number(e.infee.f_change_pipeline_cost)),"设备安装费"===a.label&&(t+=Number(e.infee.f_sbaz_cost)))}),this.addItem.f_pay_number?this.addItem.f_fee=Number(t)*Number(this.addItem.f_pay_number)+Number(this.addItem.f_payfee_money):this.addItem.f_fee=Number(t)+Number(this.addItem.f_payfee_money)},"addItem.f_payfee_money":function(e,t){t&&!isNaN(Number(t))&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(t)),e&&!isNaN(Number(e))&&(this.addItem.f_fee=Number(this.addItem.f_fee)+Number(e))}},computed:{getCapital:function(){return this.addItem.f_fee&&(this.addItem.f_capital=this.smalltoBIG(Number(this.addItem.f_fee))),this.addItem.f_capital},subcost:function(){for(var e=this.sum,t=0;t<this.model.rows.length;t++)e=Number(e)-Number(this.model.rows[t].f_fee);return e},feeoptions:function(){return this.$appdata.getParam("费用类型")},dayin:function(){return this.$appdata.getParam("打印格式")},jiaofei:function(){return this.$appdata.getParam("缴费类型")}}}},746:function(e,t){e.exports=' <div class="col-sm-12 auto select-overspread"> <div class="auto select-overspread"> <div class="panel panel-info"> <div class="panel-heading auto"> <h3 class=panel-title>预付扣款</h3> </div> </div> </div> <span class=col-sm-1></span><span class=col-sm-3>预付款总金额:{{sum}}元</span><span class=col-sm-3>预付款余额:{{subcost}}元</span> <button type=button class="btn btn-warning col-sm-3 col-sm-offset-3" @click=add()>新增扣款</button> <div class=col-sm-12 style="height: auto"> <div class="form-inline auto" style="margin-bottom: 5px"> </div> <div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 500px"> <partial-view v-ref:single-load> <data-grid :model=model v-ref:grid> <template partial=head> <tr> <th>序号</th> <th>扣款金额(元)</th> <th>金额大写</th> <th>收费项</th> <th>缴费类型</th> <th>收费人员</th> <th>日期</th> <th>备注</th> </tr> </template> <template partial=body> <td style="text-align: center">{{$index+1}}</td> <td style="text-align: center">{{row.f_fee}}</td> <td style="text-align: center">{{row.f_capital}}</td> <td style="text-align: center"> <nobr>{{row.f_charging_item}}</nobr> </td> <td style="text-align: center">{{row.f_payfee_way}}</td> <td style="text-align: center">{{row.f_operator}}</td> <td style="text-align: center">{{row.f_payfeedate}}</td> <td style="text-align: center">{{row.f_payfee_remarks}}</td> </template> </data-grid> </partial-view> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">分公司:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_filiale disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作日期:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_date disabled=disabled> </div> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">部门:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_department disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作人:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_operator disabled=disabled> </div> </div> </div> <modal :show.sync=showpay v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=close><span>&times;</span></button> <h4 class=modal-title>新增收费</h4> </header> <article slot=modal-body class=modal-body> <div v-if=showpay> <validator name=validator> <div class=from-group> <label>总金额(元)</label> <input type=text class=form-control v-model=addItem.f_fee readonly=readonly> </div> <div class=from-group> <label>总金额大写</label> <input type=text class=form-control v-model=getCapital readonly=readonly> </div> <div class=from-group> <label>收费项 </label> <div> <label v-for="item in charging_item"><input type=checkbox @change=checkedValue($index) />{{item.label}} </label> </div> </div> <div class=from-group v-if="!infee.f_apply_type.includes(\'个人\')"> <label>缴费户数 :</label> <input type=text v-model=addItem.f_pay_number> </div> <div class=from-group> <label>其它费用名称:</label> <input class=form-control v-model=addItem.f_payfee_name> <div> <label>其它费用金额(元):</label> <input class=form-control v-model=addItem.f_payfee_money> </div> </div> <div class=from-group> <label>缴费类型</label> <v-select :options=jiaofei v-validate:additem.f_payfee_way[0] v-model=addItem.f_payfee_way :value.sync=addItem.f_payfee_way close-on-select> </v-select> </div> </validator> </div> </article> <footer slot=modal-footer class=modal-footer> <button v-show=showpay type=button class="btn btn-default" @click=close>取消</button> <button v-show=showpay type=button class="btn btn-success" @click=confirm>确认</button> </footer> </modal> <billxsd v-show=false v-ref:billxsdx :billinfo=billinfo :billselect=billselect :info=info></billxsd> </div> '},922:function(e,t,a){var i,n,s={};i=a(371),n=a(746),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var r="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;n&&(r.template=n),r.computed||(r.computed={}),Object.keys(s).forEach(function(e){var t=s[e];r.computed[e]=function(){return t}})}});
2
+ //# sourceMappingURL=50.js.map