apply-clients 3.4.64 → 3.4.66

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 (105) 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 +4 -3
  53. package/src/apply.js +5 -0
  54. package/src/applyAndroid.js +2 -0
  55. package/src/components/android/AppSign.vue +154 -154
  56. package/src/components/android/AppTakePic.vue +143 -143
  57. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
  58. package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
  59. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
  60. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  61. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  62. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  63. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  64. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  65. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
  66. package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
  67. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  68. package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
  69. package/src/components/product/Ignition/IgnitionList.vue +236 -0
  70. package/src/components/product/Ignition/IgnitionListManage.vue +413 -0
  71. package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
  72. package/src/components/product/Process/ExplorationSelect.vue +0 -13
  73. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  74. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  75. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  76. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  77. package/src/components/product/Process/Service/ServiceControl.vue +56 -1
  78. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  79. package/src/components/product/Process/ShowBackReason.vue +33 -33
  80. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
  81. package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
  82. package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
  83. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  84. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
  85. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  86. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  87. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  88. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  89. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
  90. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  91. package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
  92. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  93. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
  94. package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
  95. package/src/filiale/shexian/pc/ExplorationSelect.vue +474 -0
  96. package/src/filiale/shexian/pc.js +6 -0
  97. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
  98. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  99. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  100. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  101. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  102. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  103. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
  104. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
  105. package/dist.7z +0 -0
@@ -1,2 +1,2 @@
1
- webpackJsonp([30],{365:function(e,n,t){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=t(2),s=a(o),l=t(7),r=a(l),c=t(3);n.default={title:"追加合同",props:["addcontract"],data:function(){return{contract_datas:[],show:!1,addItem:null}},ready:function(){this.load()},methods:{smalltoBIG:function(e){var n=["角","分"],t=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],a=[["元","万","亿"],["","拾","佰","仟"]],o=e<0?"欠":"";e=Math.abs(e);for(var s="",l=0;l<n.length;l++)s+=(t[Math.floor(10*e*Math.pow(10,l))%10]+n[l]).replace(/零./,"");s=s||"整",e=Math.floor(e);for(var l=0;l<a[0].length&&e>0;l++){for(var r="",c=0;c<a[1].length&&e>0;c++)r=t[e%10]+a[1][c]+r,e=Math.floor(e/10);s=r.replace(/(零.)*零$/,"").replace(/^$/,"零")+a[0][l]+s}return o+s.replace(/(零.)*零元/,"元").replace(/(零.)+/g,"零").replace(/^整$/,"零元整")},load:function(){function e(){return n.apply(this,arguments)}var n=(0,r.default)(s.default.mark(function e(){var n,t,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new c.HttpResetClass,t={tablename:"t_contract",condition:"processid = '"+this.addcontract.f_process_id+"'"},e.next=4,n.load("POST","rs/sql/apply_singleTable",{data:t},{resolveMsg:null,rejectMsg:"获取合同表失败"});case 4:a=e.sent,this.contract_datas=[],a.data.forEach(function(e,n){e.f_contract_nature.includes('"')&&(e.f_contract_nature=e.f_contract_nature.split('"')[1]),e.f_pay_type.includes('"')&&(e.f_pay_type=e.f_pay_type.split('"')[1])}),this.contract_datas=a.data;case 8:case"end":return e.stop()}},e,this)}));return e}(),add:function(){this.contract_datas?this.$showMessage("请先在主流程中签订合同"):this.show=!0},confirm:function(){function e(){return n.apply(this,arguments)}var n=(0,r.default)(s.default.mark(function e(){var n,t=this;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.addItem.f_contract_money){e.next=13;break}return n=new c.HttpResetClass,this.addItem.f_contract_nature=this.addcontract.f_contract_nature,this.addItem.f_contract_number=this.addcontract.f_contract_number,this.addItem.processid=this.addcontract.f_process_id,this.addItem.f_contract_type="补充协议",this.addItem.applyid=this.addcontract.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.contract_datas.push(this.addItem),e.next=13,n.load("POST","rs/logic/saveentity",{data:{tablename:"t_contract",parameters:this.addItem}},{resolveMsg:null,rejectMsg:"添加失败"}).then(function(e){t.close()});case 13:this.$showMessage("请输入金额");case 14:case"end":return e.stop()}},e,this)}));return e}(),close:function(){this.show=!1,this.addItem=null}},computed:{getCapital:function(){return this.addItem.f_contract_money&&(this.addItem.f_capital=this.smalltoBIG(Number(this.addItem.f_contract_money))),this.addItem.f_capital},sum:function(){for(var e=0,n=0;n<this.contract_datas.length;n++)e+=Number(this.contract_datas[n].f_contract_money);return e},jiaofei:function(){return this.$appdata.getParam("缴费类型")}}}},514:function(e,n,t){n=e.exports=t(4)(),n.push([e.id,"textarea[_v-6e09eef4]{width:74.5%}","",{version:3,sources:["/./src/components/product/Function/functions/AddContract.vue"],names:[],mappings:"AA4PA,sBACE,WAAa,CACd",file:"AddContract.vue",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ntextarea[_v-6e09eef4] {\n width: 74.5%;\n}\n"],sourceRoot:"webpack://"}])},601:function(e,n,t){var a=t(514);"string"==typeof a&&(a=[[e.id,a,""]]);t(5)(a,{});a.locals&&(e.exports=a.locals)},797:function(e,n){e.exports=' <div class=col-sm-12 style="height: auto" _v-6e09eef4=""> <div class="auto select-overspread" _v-6e09eef4=""> <div class="panel panel-info" _v-6e09eef4=""> <div class="panel-heading auto" _v-6e09eef4=""> <h3 class=panel-title _v-6e09eef4="">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style="height: auto" _v-6e09eef4=""> <span class=col-sm-1 _v-6e09eef4=""></span> <span class=col-sm-3 _v-6e09eef4="">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=""></span> <span class=col-sm-3 v-if="!$login.f.f_fengongsi.includes(\'彩虹\')" _v-6e09eef4="">总金额:{{sum}}元</span> <button class="col-sm-offset-2 btn btn-warning" type=button @click=add() _v-6e09eef4="">补充协议</button> </div> <div class=col-sm-12 style="height: auto;border:1px solid #000;padding-top: 10px" v-for="row in contract_datas" _v-6e09eef4=""> <div class=col-sm-12 _v-6e09eef4=""> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_number readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_type readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_time readonly="" _v-6e09eef4=""> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=""> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_money readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_capital readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_nature readonly="" _v-6e09eef4=""> </div> </div> </div> <div class="form-group col-sm-12 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=""> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly="" _v-6e09eef4=""></textarea> </div> </div> <div class="form-group col-sm-12 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">备注:</label> <div class=col-sm-5 _v-6e09eef4=""> <textarea class=form-control v-model=row.t_remarks rows=2 readonly="" _v-6e09eef4=""></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal="" backdrop=false _v-6e09eef4=""> <header slot=modal-header class=modal-header _v-6e09eef4=""> <button type=button class=close @click=close _v-6e09eef4=""><span _v-6e09eef4="">×</span></button> <h4 class=modal-title _v-6e09eef4="">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=""> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly="" _v-6e09eef4=""> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">签订日期</label> <div _v-6e09eef4=""> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format="\'yyyy-MM-dd\'" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=""> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=""> </div> <div class=form-group _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly="" _v-6e09eef4=""> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select="" _v-6e09eef4=""> </v-select> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=""></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=""> <button v-show=show type=button class="btn btn-default" @click=close _v-6e09eef4="">取消</button> <button v-show=show type=button class="btn btn-success" @click=confirm _v-6e09eef4="">确认</button> </footer> </modal> </div> '},916:function(e,n,t){var a,o,s={};t(601),a=t(365),o=t(797),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default);var l="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;o&&(l.template=o),l.computed||(l.computed={}),Object.keys(s).forEach(function(e){var n=s[e];l.computed[e]=function(){return n}})}});
2
- //# sourceMappingURL=30.js.map
1
+ webpackJsonp([30],{365:function(e,n,t){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=t(2),s=a(o),l=t(7),r=a(l),c=t(3);n.default={title:"追加合同",props:["addcontract"],data:function(){return{contract_datas:[],show:!1,addItem:null}},ready:function(){this.load()},methods:{smalltoBIG:function(e){var n=["角","分"],t=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],a=[["元","万","亿"],["","拾","佰","仟"]],o=e<0?"欠":"";e=Math.abs(e);for(var s="",l=0;l<n.length;l++)s+=(t[Math.floor(10*e*Math.pow(10,l))%10]+n[l]).replace(/零./,"");s=s||"整",e=Math.floor(e);for(var l=0;l<a[0].length&&e>0;l++){for(var r="",c=0;c<a[1].length&&e>0;c++)r=t[e%10]+a[1][c]+r,e=Math.floor(e/10);s=r.replace(/(零.)*零$/,"").replace(/^$/,"零")+a[0][l]+s}return o+s.replace(/(零.)*零元/,"元").replace(/(零.)+/g,"零").replace(/^整$/,"零元整")},load:function(){function e(){return n.apply(this,arguments)}var n=(0,r.default)(s.default.mark(function e(){var n,t,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new c.HttpResetClass,t={tablename:"t_contract",condition:"processid = '"+this.addcontract.f_process_id+"'"},e.next=4,n.load("POST","rs/sql/singleTable",{data:t},{resolveMsg:null,rejectMsg:"获取合同表失败"});case 4:a=e.sent,this.contract_datas=[],a.data.forEach(function(e,n){e.f_contract_nature.includes('"')&&(e.f_contract_nature=e.f_contract_nature.split('"')[1]),e.f_pay_type.includes('"')&&(e.f_pay_type=e.f_pay_type.split('"')[1])}),this.contract_datas=a.data;case 8:case"end":return e.stop()}},e,this)}));return e}(),add:function(){this.contract_datas?this.$showMessage("请先在主流程中签订合同"):this.show=!0},confirm:function(){function e(){return n.apply(this,arguments)}var n=(0,r.default)(s.default.mark(function e(){var n,t=this;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.addItem.f_contract_money){e.next=13;break}return n=new c.HttpResetClass,this.addItem.f_contract_nature=this.addcontract.f_contract_nature,this.addItem.f_contract_number=this.addcontract.f_contract_number,this.addItem.processid=this.addcontract.f_process_id,this.addItem.f_contract_type="补充协议",this.addItem.applyid=this.addcontract.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.contract_datas.push(this.addItem),e.next=13,n.load("POST","rs/logic/saveentity",{data:{tablename:"t_contract",parameters:this.addItem}},{resolveMsg:null,rejectMsg:"添加失败"}).then(function(e){t.close()});case 13:this.$showMessage("请输入金额");case 14:case"end":return e.stop()}},e,this)}));return e}(),close:function(){this.show=!1,this.addItem=null}},computed:{getCapital:function(){return this.addItem.f_contract_money&&(this.addItem.f_capital=this.smalltoBIG(Number(this.addItem.f_contract_money))),this.addItem.f_capital},sum:function(){for(var e=0,n=0;n<this.contract_datas.length;n++)e+=Number(this.contract_datas[n].f_contract_money);return e},jiaofei:function(){return this.$appdata.getParam("缴费类型")}}}},514:function(e,n,t){n=e.exports=t(4)(),n.push([e.id,"textarea[_v-6e09eef4]{width:74.5%}","",{version:3,sources:["/./src/components/product/Function/functions/AddContract.vue"],names:[],mappings:"AA4PA,sBACE,WAAa,CACd",file:"AddContract.vue",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ntextarea[_v-6e09eef4] {\n width: 74.5%;\n}\n"],sourceRoot:"webpack://"}])},601:function(e,n,t){var a=t(514);"string"==typeof a&&(a=[[e.id,a,""]]);t(5)(a,{});a.locals&&(e.exports=a.locals)},797:function(e,n){e.exports=' <div class=col-sm-12 style="height: auto" _v-6e09eef4=""> <div class="auto select-overspread" _v-6e09eef4=""> <div class="panel panel-info" _v-6e09eef4=""> <div class="panel-heading auto" _v-6e09eef4=""> <h3 class=panel-title _v-6e09eef4="">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style="height: auto" _v-6e09eef4=""> <span class=col-sm-1 _v-6e09eef4=""></span> <span class=col-sm-3 _v-6e09eef4="">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=""></span> <span class=col-sm-3 v-if="!$login.f.f_fengongsi.includes(\'彩虹\')" _v-6e09eef4="">总金额:{{sum}}元</span> <button class="col-sm-offset-2 btn btn-warning" type=button @click=add() _v-6e09eef4="">补充协议</button> </div> <div class=col-sm-12 style="height: auto;border:1px solid #000;padding-top: 10px" v-for="row in contract_datas" _v-6e09eef4=""> <div class=col-sm-12 _v-6e09eef4=""> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_number readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_type readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_time readonly="" _v-6e09eef4=""> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=""> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_money readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_capital readonly="" _v-6e09eef4=""> </div> </div> <div class="form-group col-sm-3 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=""> <input class=form-control type=text v-model=row.f_contract_nature readonly="" _v-6e09eef4=""> </div> </div> </div> <div class="form-group col-sm-12 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=""> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly="" _v-6e09eef4=""></textarea> </div> </div> <div class="form-group col-sm-12 form-input-group" _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">备注:</label> <div class=col-sm-5 _v-6e09eef4=""> <textarea class=form-control v-model=row.t_remarks rows=2 readonly="" _v-6e09eef4=""></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal="" backdrop=false _v-6e09eef4=""> <header slot=modal-header class=modal-header _v-6e09eef4=""> <button type=button class=close @click=close _v-6e09eef4=""><span _v-6e09eef4="">×</span></button> <h4 class=modal-title _v-6e09eef4="">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=""> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly="" _v-6e09eef4=""> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">签订日期</label> <div _v-6e09eef4=""> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format="\'yyyy-MM-dd\'" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=""> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=""> </div> <div class=form-group _v-6e09eef4=""> <label class=control-label _v-6e09eef4="">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly="" _v-6e09eef4=""> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select="" _v-6e09eef4=""> </v-select> </div> <div class=from-group _v-6e09eef4=""> <label _v-6e09eef4="">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=""></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=""> <button v-show=show type=button class="btn btn-default" @click=close _v-6e09eef4="">取消</button> <button v-show=show type=button class="btn btn-success" @click=confirm _v-6e09eef4="">确认</button> </footer> </modal> </div> '},916:function(e,n,t){var a,o,s={};t(601),a=t(365),o=t(797),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default);var l="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;o&&(l.template=o),l.computed||(l.computed={}),Object.keys(s).forEach(function(e){var n=s[e];l.computed[e]=function(){return n}})}});
2
+ //# sourceMappingURL=30.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///30.js","webpack:///AddContract.vue","webpack:///./src/components/product/Function/functions/AddContract.vue?b749","webpack:///./src/components/product/Function/functions/AddContract.vue?2369","webpack:///./src/components/product/Function/functions/AddContract.vue?1809","webpack:///./src/components/product/Function/functions/AddContract.vue"],"names":["webpackJsonp","365","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","contract_datas","show","addItem","ready","this","load","methods","smalltoBIG","n","fraction","digit","unit","head","Math","abs","s","i","length","floor","pow","replace","p","j","_ref","apply","arguments","mark","_callee","http","res","wrap","_context","prev","next","HttpResetClass","tablename","condition","addcontract","f_process_id","resolveMsg","rejectMsg","sent","forEach","item","index","f_contract_nature","includes","split","f_pay_type","stop","add","$showMessage","confirm","_ref2","_callee2","_this","_context2","f_contract_money","f_contract_number","processid","f_contract_type","applyid","f_apply_num","f_operator","$login","f","name","f_department","f_parentname","f_filiale","f_fengongsi","push","parameters","then","close","computed","getCapital","f_capital","Number","sum","num","jiaofei","$appdata","getParam","514","id","version","sources","names","mappings","file","sourcesContent","sourceRoot","601","content","locals","797","916","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","keys","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAgBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAdvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAeR,EAAoB,GAEnCS,EAAgBR,EAAuBO,GAEvCE,EAAqBV,EAAoB,GAEzCW,EAAqBV,EAAuBS,GAE5CE,EAAaZ,EAAoB,EAIrCD,GAAQK,SCqGTS,MAAA,OACAC,OAAA,eACAC,KAJA,WAKA,OACAC,kBACAC,MAAA,EACAC,QAAA,OAGAC,MAXA,WAoBAC,KAAAC,QAEAC,SAEAC,WAFA,SAEAC,GACA,GAAAC,IAAA,SACAC,GAAA,yCACAC,IAAA,+BACAC,EAAAJ,EAAA,QACAA,GAAAK,KAAAC,IAAAN,EAIA,QAFAO,GAAA,GAEAC,EAAA,EAAAA,EAAAP,EAAAQ,OAAAD,IACAD,IAAAL,EAAAG,KAAAK,MAAA,GAAAV,EAAAK,KAAAM,IAAA,GAAAH,IAAA,IAAAP,EAAAO,IAAAI,QAAA,QAEAL,MAAA,IACAP,EAAAK,KAAAK,MAAAV,EAEA,QAAAQ,GAAA,EAAAA,EAAAL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GAAAF,OAAA1E,KAAAJ,eAAAgB,GAAAyC,iBAEA,OAAAuB,IAEAC,QAhBA,WAiBA,MAAA7E,MAAA8E,SAAAC,SAAA,YD1DMC,IACA,SAAUtG,EAAQC,EAASC,GE5LjCD,EAAAD,EAAAC,QAAAC,EAAA,KAKAD,EAAAwF,MAAAzF,EAAAuG,GAAA,qCAA4D,IAAQC,QAAA,EAAAC,SAAA,gEAAAC,SAAAC,SAAA,wBAAAC,KAAA,kBAAAC,gBAAA,yiBAAotBC,WAAA,iBFqMlxBC,IACA,SAAU/G,EAAQC,EAASC,GGxMjC,GAAA8G,GAAA9G,EAAA,IACA,iBAAA8G,SAAAhH,EAAAuG,GAAAS,EAAA,KAEA9G,GAAA,GAAA8G,KACAA,GAAAC,SAAAjH,EAAAC,QAAA+G,EAAAC,SH8NMC,IACA,SAAUlH,EAAQC,GItOxBD,EAAAC,QAAA,+yJJ4OMkH,IACA,SAAUnH,EAAQC,EAASC,GK7OjC,GAAAkH,GAAAC,EACAC,IACApH,GAAA,KACAkH,EAAAlH,EAAA,KACAmH,EAAAnH,EAAA,KACAF,EAAAC,QAAAmH,MACApH,EAAAC,QAAAI,aAAAL,EAAAC,QAAAD,EAAAC,QAAAK,QACA,IAAAiH,GAAA,kBAAAvH,GAAAC,QAAAD,EAAAC,QAAAuH,UAAAxH,EAAAC,QAAAuH,YAAoHxH,EAAAC,OACpHoH,KACAE,EAAAE,SAAAJ,GAEAE,EAAA1B,WAAA0B,EAAA1B,aACAtF,OAAAmH,KAAAJ,GAAA1D,QAAA,SAAA+D,GACA,GAAA3H,GAAAsH,EAAAK,EACAJ,GAAA1B,SAAA8B,GAAA,WAA6C,MAAA3H","file":"30.js","sourcesContent":["webpackJsonp([30],{\n\n/***/ 365:\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 _regenerator = __webpack_require__(2);\n\t\n\tvar _regenerator2 = _interopRequireDefault(_regenerator);\n\t\n\tvar _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t\n\t title: \"追加合同\",\n\t props: ['addcontract'],\n\t data: function data() {\n\t return {\n\t contract_datas: [],\n\t show: false,\n\t addItem: null };\n\t },\n\t ready: function ready() {\n\t this.load();\n\t },\n\t\n\t methods: {\n\t smalltoBIG: function smalltoBIG(n) {\n\t var fraction = ['角', '分'];\n\t var digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];\n\t var unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];\n\t var head = n < 0 ? '欠' : '';\n\t n = Math.abs(n);\n\t\n\t var s = '';\n\t\n\t for (var i = 0; i < fraction.length; i++) {\n\t s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');\n\t }\n\t s = s || '整';\n\t n = Math.floor(n);\n\t\n\t for (var i = 0; i < unit[0].length && n > 0; i++) {\n\t var p = '';\n\t for (var j = 0; j < unit[1].length && n > 0; j++) {\n\t p = digit[n % 10] + unit[1][j] + p;\n\t n = Math.floor(n / 10);\n\t }\n\t s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;\n\t }\n\t return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整');\n\t },\n\t load: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_contract',\n\t condition: 'processid = \\'' + this.addcontract.f_process_id + '\\''\n\t };\n\t _context.next = 4;\n\t return http.load('POST', 'rs/sql/apply_singleTable', { data: data }, { resolveMsg: null, rejectMsg: '获取合同表失败' });\n\t\n\t case 4:\n\t res = _context.sent;\n\t\n\t this.contract_datas = [];\n\t res.data.forEach(function (item, index) {\n\t if (item.f_contract_nature.includes(\"\\\"\")) {\n\t item.f_contract_nature = item.f_contract_nature.split(\"\\\"\")[1];\n\t }\n\t if (item.f_pay_type.includes(\"\\\"\")) {\n\t item.f_pay_type = item.f_pay_type.split(\"\\\"\")[1];\n\t }\n\t });\n\t this.contract_datas = res.data;\n\t\n\t case 8:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function load() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return load;\n\t }(),\n\t add: function add() {\n\t if (!this.contract_datas) {\n\t this.show = true;\n\t } else {\n\t this.$showMessage(\"请先在主流程中签订合同\");\n\t }\n\t },\n\t confirm: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var _this = this;\n\t\n\t var http;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t if (!this.addItem.f_contract_money) {\n\t _context2.next = 13;\n\t break;\n\t }\n\t\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.addItem.f_contract_nature = this.addcontract.f_contract_nature;\n\t this.addItem.f_contract_number = this.addcontract.f_contract_number;\n\t this.addItem.processid = this.addcontract.f_process_id;\n\t this.addItem.f_contract_type = '补充协议';\n\t this.addItem.applyid = this.addcontract.f_apply_num;\n\t this.addItem.f_operator = this.$login.f.name;\n\t this.addItem.f_department = this.$login.f.f_parentname;\n\t this.addItem.f_filiale = this.$login.f.f_fengongsi;\n\t this.contract_datas.push(this.addItem);\n\t _context2.next = 13;\n\t return http.load('POST', 'rs/logic/saveentity', { data: { tablename: 't_contract', parameters: this.addItem } }, { resolveMsg: null, rejectMsg: \"添加失败\" }).then(function (res) {\n\t _this.close();\n\t });\n\t\n\t case 13:\n\t this.$showMessage(\"请输入金额\");\n\t\n\t case 14:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function confirm() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return confirm;\n\t }(),\n\t close: function close() {\n\t this.show = false;\n\t this.addItem = null;\n\t }\n\t },\n\t computed: {\n\t getCapital: function getCapital() {\n\t if (this.addItem.f_contract_money) {\n\t this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_contract_money));\n\t }\n\t return this.addItem.f_capital;\n\t },\n\t sum: function sum() {\n\t var num = 0;\n\t for (var i = 0; i < this.contract_datas.length; i++) {\n\t num += Number(this.contract_datas[i].f_contract_money);\n\t }\n\t return num;\n\t },\n\t jiaofei: function jiaofei() {\n\t return this.$appdata.getParam('缴费类型');\n\t }\n\t }\n\t};\n\n/***/ }),\n\n/***/ 514:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"textarea[_v-6e09eef4]{width:74.5%}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/product/Function/functions/AddContract.vue\"],\"names\":[],\"mappings\":\"AA4PA,sBACE,WAAa,CACd\",\"file\":\"AddContract.vue\",\"sourcesContent\":[\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\ntextarea[_v-6e09eef4] {\\n width: 74.5%;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 601:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(514);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 797:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"auto select-overspread\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel panel-info\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel-heading auto\\\" _v-6e09eef4=\\\"\\\"> <h3 class=panel-title _v-6e09eef4=\\\"\\\">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <span class=col-sm-1 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 _v-6e09eef4=\\\"\\\">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 v-if=\\\"!$login.f.f_fengongsi.includes('彩虹')\\\" _v-6e09eef4=\\\"\\\">总金额:{{sum}}元</span> <button class=\\\"col-sm-offset-2 btn btn-warning\\\" type=button @click=add() _v-6e09eef4=\\\"\\\">补充协议</button> </div> <div class=col-sm-12 style=\\\"height: auto;border:1px solid #000;padding-top: 10px\\\" v-for=\\\"row in contract_datas\\\" _v-6e09eef4=\\\"\\\"> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_type readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_time readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_money readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_capital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_nature readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">备注:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.t_remarks rows=2 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal=\\\"\\\" backdrop=false _v-6e09eef4=\\\"\\\"> <header slot=modal-header class=modal-header _v-6e09eef4=\\\"\\\"> <button type=button class=close @click=close _v-6e09eef4=\\\"\\\"><span _v-6e09eef4=\\\"\\\">×</span></button> <h4 class=modal-title _v-6e09eef4=\\\"\\\">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=\\\"\\\"> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">签订日期</label> <div _v-6e09eef4=\\\"\\\"> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format=\\\"'yyyy-MM-dd'\\\" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=\\\"\\\"> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=\\\"\\\"> </div> <div class=form-group _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select=\\\"\\\" _v-6e09eef4=\\\"\\\"> </v-select> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=\\\"\\\"></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=\\\"\\\"> <button v-show=show type=button class=\\\"btn btn-default\\\" @click=close _v-6e09eef4=\\\"\\\">取消</button> <button v-show=show type=button class=\\\"btn btn-success\\\" @click=confirm _v-6e09eef4=\\\"\\\">确认</button> </footer> </modal> </div> \";\n\n/***/ }),\n\n/***/ 916:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(601)\n\t__vue_script__ = __webpack_require__(365)\n\t__vue_template__ = __webpack_require__(797)\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// 30.js","<template>\r\n <div class=\"col-sm-12\" style=\"height: auto\">\r\n <div class=\"auto select-overspread\">\r\n <div class=\"panel panel-info\">\r\n <div class=\"panel-heading auto\">\r\n <h3 class=\"panel-title\">补充协议</h3>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12\" style=\"height: auto\">\r\n <span class=\"col-sm-1\"></span>\r\n <span class=\"col-sm-3\">总个数:{{contract_datas.length}}</span>\r\n <span class=\"col-sm-2\"></span>\r\n <span class=\"col-sm-3\" v-if=\"!$login.f.f_fengongsi.includes('彩虹')\">总金额:{{sum}}元</span>\r\n <button class=\"col-sm-offset-2 btn btn-warning\" type=\"button\" @click=\"add()\">补充协议</button>\r\n </div>\r\n <div class=\"col-sm-12\" style=\"height: auto;border:1px solid #000;padding-top: 10px;\" v-for=\"row in contract_datas\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同编号:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_number\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">类型(合同/协议):</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_type\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">签订日期:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_time\" readonly>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12\">\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同金额(元):</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_money\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">金额大写:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_capital\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同性质:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_nature\" readonly>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-12 form-input-group\">\r\n <label class=\"control-label\">缴费类型:</label>\r\n <div class=\"col-sm-5\">\r\n <textarea class=\"form-control\" v-model=\"row.f_pay_type\" rows=\"3\" readonly></textarea>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-12 form-input-group\">\r\n <label class=\"control-label\">备注:</label>\r\n <div class=\"col-sm-5\">\r\n <textarea class=\"form-control\" v-model=\"row.t_remarks\" rows=\"2\" readonly></textarea>\r\n </div>\r\n </div>\r\n </div>\r\n <modal :show.sync=\"show\" v-ref:modal backdrop=\"false\">\r\n <header slot=\"modal-header\" class=\"modal-header\">\r\n <button type=\"button\" class=\"close\" @click=\"close\"><span>&times;</span></button>\r\n <h4 class=\"modal-title\">新增合同</h4>\r\n </header>\r\n <article slot=\"modal-body\" class=\"modal-body\">\r\n <div class=\"from-group\">\r\n <label>合同编号</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"addcontract.f_contract_number\" readonly>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>签订日期</label>\r\n <div>\r\n <datepicker width=\"600.76px;\"\r\n :value.sync=\"addItem.f_contract_time\"\r\n :format=\"'yyyy-MM-dd'\"\r\n v-model=\"addItem.f_contract_time\" readonly=\"readonly\"\r\n :show-reset-button=\"reset\">\r\n </datepicker>\r\n </div>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>合同金额(元)</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"addItem.f_contract_money\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"control-label\">金额大写:</label>\r\n <input class=\"form-control\" type=\"text\" v-model=\"getCapital\" readonly>\r\n </div>\r\n\r\n <div class=\"from-group\">\r\n <label>缴费类型</label>\r\n <v-select :options=\"jiaofei\"\r\n v-model=\"addItem.f_pay_type\" :value.sync=\"addItem.f_pay_type\" close-on-select>\r\n </v-select>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>备注</label>\r\n <textarea class=\"form-control\" v-model=\"addItem.t_remarks\" rows=\"3\"></textarea>\r\n </div>\r\n </article>\r\n <footer slot=\"modal-footer\" class=\"modal-footer\">\r\n <button v-show=\"show\" type=\"button\" class=\"btn btn-default\" @click='close'>取消</button>\r\n <button v-show=\"show\" type=\"button\" class=\"btn btn-success\" @click='confirm'>确认</button>\r\n </footer>\r\n </modal>\r\n</div>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n\r\n export default {\r\n\r\n title: \"追加合同\",\r\n props: ['addcontract'],\r\n data() {\r\n return {\r\n contract_datas: [], // 合同信息数组\r\n show: false, // 新增合同模态框控制\r\n addItem: null, // 模态框零时对象\r\n }\r\n },\r\n ready() {\r\n // this.contract_datas = {\r\n // f_contract_number: 1,\r\n // f_contract_time: 2,\r\n // f_contract_money: 9,\r\n // f_pay_type: 3,\r\n // t_remarks: 5\r\n // }, //测试数据\r\n // {f_contract_number: 1, f_contract_money: 9, f_contract_time: 2, f_pay_type: 3, t_remarks: 5}\r\n this.load();\r\n },\r\n methods: {\r\n // 小写转换大写\r\n smalltoBIG(n) {\r\n let fraction = ['角', '分'];\r\n let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];\r\n let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];\r\n let head = n < 0 ? '欠' : '';\r\n n = Math.abs(n);\r\n\r\n let s = '';\r\n\r\n for (var i = 0; i < fraction.length; i++) {\r\n s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');\r\n }\r\n s = s || '整';\r\n n = Math.floor(n);\r\n\r\n for (var i = 0; i < unit[0].length && n > 0; i++) {\r\n let p = '';\r\n for (var j = 0; j < unit[1].length && n > 0; j++) {\r\n p = digit[n % 10] + unit[1][j] + p;\r\n n = Math.floor(n / 10);\r\n }\r\n s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;\r\n }\r\n return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')\r\n },\r\n // 获取数据库数据\r\n async load() {\r\n let http = new HttpResetClass();\r\n let data = {\r\n tablename: 't_contract',\r\n condition: `processid = '${this.addcontract.f_process_id}'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取合同表失败'})\r\n this.contract_datas = []\r\n res.data.forEach((item,index)=>{\r\n if(item.f_contract_nature.includes(\"\\\"\")){\r\n item.f_contract_nature = item.f_contract_nature.split(\"\\\"\")[1]\r\n }\r\n if(item.f_pay_type.includes(\"\\\"\")){\r\n item.f_pay_type = item.f_pay_type.split(\"\\\"\")[1]\r\n }\r\n })\r\n this.contract_datas = res.data\r\n },\r\n // 新增按钮触发事件\r\n add() {\r\n if(!this.contract_datas){\r\n this.show = true\r\n }else{\r\n this.$showMessage(\"请先在主流程中签订合同\")\r\n }\r\n },\r\n // 模态框确定按钮触发\r\n async confirm() {\r\n if(this.addItem.f_contract_money){\r\n let http = new HttpResetClass();\r\n this.addItem.f_contract_nature = this.addcontract.f_contract_nature\r\n this.addItem.f_contract_number = this.addcontract.f_contract_number\r\n this.addItem.processid = this.addcontract.f_process_id\r\n this.addItem.f_contract_type = '补充协议'\r\n this.addItem.applyid = this.addcontract.f_apply_num\r\n this.addItem.f_operator = this.$login.f.name\r\n this.addItem.f_department = this.$login.f.f_parentname\r\n this.addItem.f_filiale = this.$login.f.f_fengongsi\r\n this.contract_datas.push(this.addItem)\r\n await http.load('POST', 'rs/logic/saveentity', {data:{tablename:'t_contract',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: \"添加失败\"})\r\n .then((res) => {\r\n this.close()\r\n })\r\n }{\r\n this.$showMessage(\"请输入金额\")\r\n }\r\n\r\n\r\n },\r\n // 模态框关闭按钮触发\r\n close() {\r\n this.show = false\r\n this.addItem = null\r\n }\r\n\r\n },\r\n computed: {\r\n // 计算大写\r\n getCapital() {\r\n if (this.addItem.f_contract_money) {\r\n this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_contract_money))\r\n }\r\n return this.addItem.f_capital\r\n },\r\n // 总金额计算\r\n sum() {\r\n let num = 0;\r\n for (var i = 0; i < this.contract_datas.length; i++) {\r\n num += Number(this.contract_datas[i].f_contract_money)\r\n }\r\n return num\r\n },\r\n jiaofei() {\r\n return this.$appdata.getParam('缴费类型')\r\n // return [{label: '全部', value: ''}, ...AppData.getParam('缴费类型')]\r\n }\r\n }\r\n }\r\n</script>\r\n<style scoped>\r\n textarea {\r\n width: 74.5%;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// AddContract.vue?0f181d03","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"textarea[_v-6e09eef4]{width:74.5%}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/product/Function/functions/AddContract.vue\"],\"names\":[],\"mappings\":\"AA4PA,sBACE,WAAa,CACd\",\"file\":\"AddContract.vue\",\"sourcesContent\":[\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\ntextarea[_v-6e09eef4] {\\n width: 74.5%;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 514\n// module chunks = 30","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 601\n// module chunks = 30","module.exports = \" <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"auto select-overspread\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel panel-info\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel-heading auto\\\" _v-6e09eef4=\\\"\\\"> <h3 class=panel-title _v-6e09eef4=\\\"\\\">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <span class=col-sm-1 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 _v-6e09eef4=\\\"\\\">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 v-if=\\\"!$login.f.f_fengongsi.includes('彩虹')\\\" _v-6e09eef4=\\\"\\\">总金额:{{sum}}元</span> <button class=\\\"col-sm-offset-2 btn btn-warning\\\" type=button @click=add() _v-6e09eef4=\\\"\\\">补充协议</button> </div> <div class=col-sm-12 style=\\\"height: auto;border:1px solid #000;padding-top: 10px\\\" v-for=\\\"row in contract_datas\\\" _v-6e09eef4=\\\"\\\"> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_type readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_time readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_money readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_capital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_nature readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">备注:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.t_remarks rows=2 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal=\\\"\\\" backdrop=false _v-6e09eef4=\\\"\\\"> <header slot=modal-header class=modal-header _v-6e09eef4=\\\"\\\"> <button type=button class=close @click=close _v-6e09eef4=\\\"\\\"><span _v-6e09eef4=\\\"\\\">×</span></button> <h4 class=modal-title _v-6e09eef4=\\\"\\\">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=\\\"\\\"> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">签订日期</label> <div _v-6e09eef4=\\\"\\\"> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format=\\\"'yyyy-MM-dd'\\\" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=\\\"\\\"> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=\\\"\\\"> </div> <div class=form-group _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select=\\\"\\\" _v-6e09eef4=\\\"\\\"> </v-select> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=\\\"\\\"></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=\\\"\\\"> <button v-show=show type=button class=\\\"btn btn-default\\\" @click=close _v-6e09eef4=\\\"\\\">取消</button> <button v-show=show type=button class=\\\"btn btn-success\\\" @click=confirm _v-6e09eef4=\\\"\\\">确认</button> </footer> </modal> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-6e09eef4!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 797\n// module chunks = 30","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./AddContract.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-6e09eef4!../../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./AddContract.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/Function/functions/AddContract.vue\n// module id = 916\n// module chunks = 30"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///30.js","webpack:///AddContract.vue","webpack:///./src/components/product/Function/functions/AddContract.vue?b749","webpack:///./src/components/product/Function/functions/AddContract.vue?2369","webpack:///./src/components/product/Function/functions/AddContract.vue?1809","webpack:///./src/components/product/Function/functions/AddContract.vue"],"names":["webpackJsonp","365","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","contract_datas","show","addItem","ready","this","load","methods","smalltoBIG","n","fraction","digit","unit","head","Math","abs","s","i","length","floor","pow","replace","p","j","_ref","apply","arguments","mark","_callee","http","res","wrap","_context","prev","next","HttpResetClass","tablename","condition","addcontract","f_process_id","resolveMsg","rejectMsg","sent","forEach","item","index","f_contract_nature","includes","split","f_pay_type","stop","add","$showMessage","confirm","_ref2","_callee2","_this","_context2","f_contract_money","f_contract_number","processid","f_contract_type","applyid","f_apply_num","f_operator","$login","f","name","f_department","f_parentname","f_filiale","f_fengongsi","push","parameters","then","close","computed","getCapital","f_capital","Number","sum","num","jiaofei","$appdata","getParam","514","id","version","sources","names","mappings","file","sourcesContent","sourceRoot","601","content","locals","797","916","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","keys","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAgBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAdvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAeR,EAAoB,GAEnCS,EAAgBR,EAAuBO,GAEvCE,EAAqBV,EAAoB,GAEzCW,EAAqBV,EAAuBS,GAE5CE,EAAaZ,EAAoB,EAIrCD,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A,IAAAiH,GAAA,kBAAAvH,GAAAC,QAAAD,EAAAC,QAAAuH,UAAAxH,EAAAC,QAAAuH,YAAoHxH,EAAAC,OACpHoH,KACAE,EAAAE,SAAAJ,GAEAE,EAAA1B,WAAA0B,EAAA1B,aACAtF,OAAAmH,KAAAJ,GAAA1D,QAAA,SAAA+D,GACA,GAAA3H,GAAAsH,EAAAK,EACAJ,GAAA1B,SAAA8B,GAAA,WAA6C,MAAA3H","file":"30.js","sourcesContent":["webpackJsonp([30],{\n\n/***/ 365:\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 _regenerator = __webpack_require__(2);\n\t\n\tvar _regenerator2 = _interopRequireDefault(_regenerator);\n\t\n\tvar _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t\n\t title: \"追加合同\",\n\t props: ['addcontract'],\n\t data: function data() {\n\t return {\n\t contract_datas: [],\n\t show: false,\n\t addItem: null };\n\t },\n\t ready: function ready() {\n\t this.load();\n\t },\n\t\n\t methods: {\n\t smalltoBIG: function smalltoBIG(n) {\n\t var fraction = ['角', '分'];\n\t var digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];\n\t var unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];\n\t var head = n < 0 ? '欠' : '';\n\t n = Math.abs(n);\n\t\n\t var s = '';\n\t\n\t for (var i = 0; i < fraction.length; i++) {\n\t s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');\n\t }\n\t s = s || '整';\n\t n = Math.floor(n);\n\t\n\t for (var i = 0; i < unit[0].length && n > 0; i++) {\n\t var p = '';\n\t for (var j = 0; j < unit[1].length && n > 0; j++) {\n\t p = digit[n % 10] + unit[1][j] + p;\n\t n = Math.floor(n / 10);\n\t }\n\t s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;\n\t }\n\t return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整');\n\t },\n\t load: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_contract',\n\t condition: 'processid = \\'' + this.addcontract.f_process_id + '\\''\n\t };\n\t _context.next = 4;\n\t return http.load('POST', 'rs/sql/singleTable', { data: data }, { resolveMsg: null, rejectMsg: '获取合同表失败' });\n\t\n\t case 4:\n\t res = _context.sent;\n\t\n\t this.contract_datas = [];\n\t res.data.forEach(function (item, index) {\n\t if (item.f_contract_nature.includes(\"\\\"\")) {\n\t item.f_contract_nature = item.f_contract_nature.split(\"\\\"\")[1];\n\t }\n\t if (item.f_pay_type.includes(\"\\\"\")) {\n\t item.f_pay_type = item.f_pay_type.split(\"\\\"\")[1];\n\t }\n\t });\n\t this.contract_datas = res.data;\n\t\n\t case 8:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function load() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return load;\n\t }(),\n\t add: function add() {\n\t if (!this.contract_datas) {\n\t this.show = true;\n\t } else {\n\t this.$showMessage(\"请先在主流程中签订合同\");\n\t }\n\t },\n\t confirm: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var _this = this;\n\t\n\t var http;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t if (!this.addItem.f_contract_money) {\n\t _context2.next = 13;\n\t break;\n\t }\n\t\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.addItem.f_contract_nature = this.addcontract.f_contract_nature;\n\t this.addItem.f_contract_number = this.addcontract.f_contract_number;\n\t this.addItem.processid = this.addcontract.f_process_id;\n\t this.addItem.f_contract_type = '补充协议';\n\t this.addItem.applyid = this.addcontract.f_apply_num;\n\t this.addItem.f_operator = this.$login.f.name;\n\t this.addItem.f_department = this.$login.f.f_parentname;\n\t this.addItem.f_filiale = this.$login.f.f_fengongsi;\n\t this.contract_datas.push(this.addItem);\n\t _context2.next = 13;\n\t return http.load('POST', 'rs/logic/saveentity', { data: { tablename: 't_contract', parameters: this.addItem } }, { resolveMsg: null, rejectMsg: \"添加失败\" }).then(function (res) {\n\t _this.close();\n\t });\n\t\n\t case 13:\n\t this.$showMessage(\"请输入金额\");\n\t\n\t case 14:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function confirm() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return confirm;\n\t }(),\n\t close: function close() {\n\t this.show = false;\n\t this.addItem = null;\n\t }\n\t },\n\t computed: {\n\t getCapital: function getCapital() {\n\t if (this.addItem.f_contract_money) {\n\t this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_contract_money));\n\t }\n\t return this.addItem.f_capital;\n\t },\n\t sum: function sum() {\n\t var num = 0;\n\t for (var i = 0; i < this.contract_datas.length; i++) {\n\t num += Number(this.contract_datas[i].f_contract_money);\n\t }\n\t return num;\n\t },\n\t jiaofei: function jiaofei() {\n\t return this.$appdata.getParam('缴费类型');\n\t }\n\t }\n\t};\n\n/***/ }),\n\n/***/ 514:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"textarea[_v-6e09eef4]{width:74.5%}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/product/Function/functions/AddContract.vue\"],\"names\":[],\"mappings\":\"AA4PA,sBACE,WAAa,CACd\",\"file\":\"AddContract.vue\",\"sourcesContent\":[\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\ntextarea[_v-6e09eef4] {\\n width: 74.5%;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 601:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(514);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 797:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"auto select-overspread\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel panel-info\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel-heading auto\\\" _v-6e09eef4=\\\"\\\"> <h3 class=panel-title _v-6e09eef4=\\\"\\\">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <span class=col-sm-1 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 _v-6e09eef4=\\\"\\\">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 v-if=\\\"!$login.f.f_fengongsi.includes('彩虹')\\\" _v-6e09eef4=\\\"\\\">总金额:{{sum}}元</span> <button class=\\\"col-sm-offset-2 btn btn-warning\\\" type=button @click=add() _v-6e09eef4=\\\"\\\">补充协议</button> </div> <div class=col-sm-12 style=\\\"height: auto;border:1px solid #000;padding-top: 10px\\\" v-for=\\\"row in contract_datas\\\" _v-6e09eef4=\\\"\\\"> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_type readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_time readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_money readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_capital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_nature readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">备注:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.t_remarks rows=2 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal=\\\"\\\" backdrop=false _v-6e09eef4=\\\"\\\"> <header slot=modal-header class=modal-header _v-6e09eef4=\\\"\\\"> <button type=button class=close @click=close _v-6e09eef4=\\\"\\\"><span _v-6e09eef4=\\\"\\\">×</span></button> <h4 class=modal-title _v-6e09eef4=\\\"\\\">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=\\\"\\\"> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">签订日期</label> <div _v-6e09eef4=\\\"\\\"> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format=\\\"'yyyy-MM-dd'\\\" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=\\\"\\\"> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=\\\"\\\"> </div> <div class=form-group _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select=\\\"\\\" _v-6e09eef4=\\\"\\\"> </v-select> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=\\\"\\\"></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=\\\"\\\"> <button v-show=show type=button class=\\\"btn btn-default\\\" @click=close _v-6e09eef4=\\\"\\\">取消</button> <button v-show=show type=button class=\\\"btn btn-success\\\" @click=confirm _v-6e09eef4=\\\"\\\">确认</button> </footer> </modal> </div> \";\n\n/***/ }),\n\n/***/ 916:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(601)\n\t__vue_script__ = __webpack_require__(365)\n\t__vue_template__ = __webpack_require__(797)\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// 30.js","<template>\r\n <div class=\"col-sm-12\" style=\"height: auto\">\r\n <div class=\"auto select-overspread\">\r\n <div class=\"panel panel-info\">\r\n <div class=\"panel-heading auto\">\r\n <h3 class=\"panel-title\">补充协议</h3>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12\" style=\"height: auto\">\r\n <span class=\"col-sm-1\"></span>\r\n <span class=\"col-sm-3\">总个数:{{contract_datas.length}}</span>\r\n <span class=\"col-sm-2\"></span>\r\n <span class=\"col-sm-3\" v-if=\"!$login.f.f_fengongsi.includes('彩虹')\">总金额:{{sum}}元</span>\r\n <button class=\"col-sm-offset-2 btn btn-warning\" type=\"button\" @click=\"add()\">补充协议</button>\r\n </div>\r\n <div class=\"col-sm-12\" style=\"height: auto;border:1px solid #000;padding-top: 10px;\" v-for=\"row in contract_datas\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同编号:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_number\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">类型(合同/协议):</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_type\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">签订日期:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_time\" readonly>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12\">\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同金额(元):</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_money\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">金额大写:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_capital\" readonly>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-3 form-input-group\">\r\n <label class=\"control-label\">合同性质:</label>\r\n <div class=\"col-sm-6\">\r\n <input class=\"form-control\" type=\"text\" v-model=\"row.f_contract_nature\" readonly>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-12 form-input-group\">\r\n <label class=\"control-label\">缴费类型:</label>\r\n <div class=\"col-sm-5\">\r\n <textarea class=\"form-control\" v-model=\"row.f_pay_type\" rows=\"3\" readonly></textarea>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-sm-12 form-input-group\">\r\n <label class=\"control-label\">备注:</label>\r\n <div class=\"col-sm-5\">\r\n <textarea class=\"form-control\" v-model=\"row.t_remarks\" rows=\"2\" readonly></textarea>\r\n </div>\r\n </div>\r\n </div>\r\n <modal :show.sync=\"show\" v-ref:modal backdrop=\"false\">\r\n <header slot=\"modal-header\" class=\"modal-header\">\r\n <button type=\"button\" class=\"close\" @click=\"close\"><span>&times;</span></button>\r\n <h4 class=\"modal-title\">新增合同</h4>\r\n </header>\r\n <article slot=\"modal-body\" class=\"modal-body\">\r\n <div class=\"from-group\">\r\n <label>合同编号</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"addcontract.f_contract_number\" readonly>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>签订日期</label>\r\n <div>\r\n <datepicker width=\"600.76px;\"\r\n :value.sync=\"addItem.f_contract_time\"\r\n :format=\"'yyyy-MM-dd'\"\r\n v-model=\"addItem.f_contract_time\" readonly=\"readonly\"\r\n :show-reset-button=\"reset\">\r\n </datepicker>\r\n </div>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>合同金额(元)</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"addItem.f_contract_money\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"control-label\">金额大写:</label>\r\n <input class=\"form-control\" type=\"text\" v-model=\"getCapital\" readonly>\r\n </div>\r\n\r\n <div class=\"from-group\">\r\n <label>缴费类型</label>\r\n <v-select :options=\"jiaofei\"\r\n v-model=\"addItem.f_pay_type\" :value.sync=\"addItem.f_pay_type\" close-on-select>\r\n </v-select>\r\n </div>\r\n <div class=\"from-group\">\r\n <label>备注</label>\r\n <textarea class=\"form-control\" v-model=\"addItem.t_remarks\" rows=\"3\"></textarea>\r\n </div>\r\n </article>\r\n <footer slot=\"modal-footer\" class=\"modal-footer\">\r\n <button v-show=\"show\" type=\"button\" class=\"btn btn-default\" @click='close'>取消</button>\r\n <button v-show=\"show\" type=\"button\" class=\"btn btn-success\" @click='confirm'>确认</button>\r\n </footer>\r\n </modal>\r\n</div>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n\r\n export default {\r\n\r\n title: \"追加合同\",\r\n props: ['addcontract'],\r\n data() {\r\n return {\r\n contract_datas: [], // 合同信息数组\r\n show: false, // 新增合同模态框控制\r\n addItem: null, // 模态框零时对象\r\n }\r\n },\r\n ready() {\r\n // this.contract_datas = {\r\n // f_contract_number: 1,\r\n // f_contract_time: 2,\r\n // f_contract_money: 9,\r\n // f_pay_type: 3,\r\n // t_remarks: 5\r\n // }, //测试数据\r\n // {f_contract_number: 1, f_contract_money: 9, f_contract_time: 2, f_pay_type: 3, t_remarks: 5}\r\n this.load();\r\n },\r\n methods: {\r\n // 小写转换大写\r\n smalltoBIG(n) {\r\n let fraction = ['角', '分'];\r\n let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];\r\n let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];\r\n let head = n < 0 ? '欠' : '';\r\n n = Math.abs(n);\r\n\r\n let s = '';\r\n\r\n for (var i = 0; i < fraction.length; i++) {\r\n s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');\r\n }\r\n s = s || '整';\r\n n = Math.floor(n);\r\n\r\n for (var i = 0; i < unit[0].length && n > 0; i++) {\r\n let p = '';\r\n for (var j = 0; j < unit[1].length && n > 0; j++) {\r\n p = digit[n % 10] + unit[1][j] + p;\r\n n = Math.floor(n / 10);\r\n }\r\n s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;\r\n }\r\n return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')\r\n },\r\n // 获取数据库数据\r\n async load() {\r\n let http = new HttpResetClass();\r\n let data = {\r\n tablename: 't_contract',\r\n condition: `processid = '${this.addcontract.f_process_id}'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取合同表失败'})\r\n this.contract_datas = []\r\n res.data.forEach((item,index)=>{\r\n if(item.f_contract_nature.includes(\"\\\"\")){\r\n item.f_contract_nature = item.f_contract_nature.split(\"\\\"\")[1]\r\n }\r\n if(item.f_pay_type.includes(\"\\\"\")){\r\n item.f_pay_type = item.f_pay_type.split(\"\\\"\")[1]\r\n }\r\n })\r\n this.contract_datas = res.data\r\n },\r\n // 新增按钮触发事件\r\n add() {\r\n if(!this.contract_datas){\r\n this.show = true\r\n }else{\r\n this.$showMessage(\"请先在主流程中签订合同\")\r\n }\r\n },\r\n // 模态框确定按钮触发\r\n async confirm() {\r\n if(this.addItem.f_contract_money){\r\n let http = new HttpResetClass();\r\n this.addItem.f_contract_nature = this.addcontract.f_contract_nature\r\n this.addItem.f_contract_number = this.addcontract.f_contract_number\r\n this.addItem.processid = this.addcontract.f_process_id\r\n this.addItem.f_contract_type = '补充协议'\r\n this.addItem.applyid = this.addcontract.f_apply_num\r\n this.addItem.f_operator = this.$login.f.name\r\n this.addItem.f_department = this.$login.f.f_parentname\r\n this.addItem.f_filiale = this.$login.f.f_fengongsi\r\n this.contract_datas.push(this.addItem)\r\n await http.load('POST', 'rs/logic/saveentity', {data:{tablename:'t_contract',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: \"添加失败\"})\r\n .then((res) => {\r\n this.close()\r\n })\r\n }{\r\n this.$showMessage(\"请输入金额\")\r\n }\r\n\r\n\r\n },\r\n // 模态框关闭按钮触发\r\n close() {\r\n this.show = false\r\n this.addItem = null\r\n }\r\n\r\n },\r\n computed: {\r\n // 计算大写\r\n getCapital() {\r\n if (this.addItem.f_contract_money) {\r\n this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_contract_money))\r\n }\r\n return this.addItem.f_capital\r\n },\r\n // 总金额计算\r\n sum() {\r\n let num = 0;\r\n for (var i = 0; i < this.contract_datas.length; i++) {\r\n num += Number(this.contract_datas[i].f_contract_money)\r\n }\r\n return num\r\n },\r\n jiaofei() {\r\n return this.$appdata.getParam('缴费类型')\r\n // return [{label: '全部', value: ''}, ...AppData.getParam('缴费类型')]\r\n }\r\n }\r\n }\r\n</script>\r\n<style scoped>\r\n textarea {\r\n width: 74.5%;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// AddContract.vue?0f181d03","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"textarea[_v-6e09eef4]{width:74.5%}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/product/Function/functions/AddContract.vue\"],\"names\":[],\"mappings\":\"AA4PA,sBACE,WAAa,CACd\",\"file\":\"AddContract.vue\",\"sourcesContent\":[\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\ntextarea[_v-6e09eef4] {\\n width: 74.5%;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 514\n// module chunks = 30","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 601\n// module chunks = 30","module.exports = \" <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"auto select-overspread\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel panel-info\\\" _v-6e09eef4=\\\"\\\"> <div class=\\\"panel-heading auto\\\" _v-6e09eef4=\\\"\\\"> <h3 class=panel-title _v-6e09eef4=\\\"\\\">补充协议</h3> </div> </div> </div> <div class=col-sm-12 style=\\\"height: auto\\\" _v-6e09eef4=\\\"\\\"> <span class=col-sm-1 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 _v-6e09eef4=\\\"\\\">总个数:{{contract_datas.length}}</span> <span class=col-sm-2 _v-6e09eef4=\\\"\\\"></span> <span class=col-sm-3 v-if=\\\"!$login.f.f_fengongsi.includes('彩虹')\\\" _v-6e09eef4=\\\"\\\">总金额:{{sum}}元</span> <button class=\\\"col-sm-offset-2 btn btn-warning\\\" type=button @click=add() _v-6e09eef4=\\\"\\\">补充协议</button> </div> <div class=col-sm-12 style=\\\"height: auto;border:1px solid #000;padding-top: 10px\\\" v-for=\\\"row in contract_datas\\\" _v-6e09eef4=\\\"\\\"> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同编号:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">类型(合同/协议):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_type readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">签订日期:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_time readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=col-sm-12 _v-6e09eef4=\\\"\\\"> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同金额(元):</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_money readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_capital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> <div class=\\\"form-group col-sm-3 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">合同性质:</label> <div class=col-sm-6 _v-6e09eef4=\\\"\\\"> <input class=form-control type=text v-model=row.f_contract_nature readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">缴费类型:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.f_pay_type rows=3 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> <div class=\\\"form-group col-sm-12 form-input-group\\\" _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">备注:</label> <div class=col-sm-5 _v-6e09eef4=\\\"\\\"> <textarea class=form-control v-model=row.t_remarks rows=2 readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"></textarea> </div> </div> </div> <modal :show.sync=show v-ref:modal=\\\"\\\" backdrop=false _v-6e09eef4=\\\"\\\"> <header slot=modal-header class=modal-header _v-6e09eef4=\\\"\\\"> <button type=button class=close @click=close _v-6e09eef4=\\\"\\\"><span _v-6e09eef4=\\\"\\\">×</span></button> <h4 class=modal-title _v-6e09eef4=\\\"\\\">新增合同</h4> </header> <article slot=modal-body class=modal-body _v-6e09eef4=\\\"\\\"> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同编号</label> <input type=text class=form-control v-model=addcontract.f_contract_number readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">签订日期</label> <div _v-6e09eef4=\\\"\\\"> <datepicker width=600.76px; :value.sync=addItem.f_contract_time :format=\\\"'yyyy-MM-dd'\\\" v-model=addItem.f_contract_time readonly=readonly :show-reset-button=reset _v-6e09eef4=\\\"\\\"> </datepicker> </div> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">合同金额(元)</label> <input type=text class=form-control v-model=addItem.f_contract_money _v-6e09eef4=\\\"\\\"> </div> <div class=form-group _v-6e09eef4=\\\"\\\"> <label class=control-label _v-6e09eef4=\\\"\\\">金额大写:</label> <input class=form-control type=text v-model=getCapital readonly=\\\"\\\" _v-6e09eef4=\\\"\\\"> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">缴费类型</label> <v-select :options=jiaofei v-model=addItem.f_pay_type :value.sync=addItem.f_pay_type close-on-select=\\\"\\\" _v-6e09eef4=\\\"\\\"> </v-select> </div> <div class=from-group _v-6e09eef4=\\\"\\\"> <label _v-6e09eef4=\\\"\\\">备注</label> <textarea class=form-control v-model=addItem.t_remarks rows=3 _v-6e09eef4=\\\"\\\"></textarea> </div> </article> <footer slot=modal-footer class=modal-footer _v-6e09eef4=\\\"\\\"> <button v-show=show type=button class=\\\"btn btn-default\\\" @click=close _v-6e09eef4=\\\"\\\">取消</button> <button v-show=show type=button class=\\\"btn btn-success\\\" @click=confirm _v-6e09eef4=\\\"\\\">确认</button> </footer> </modal> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-6e09eef4!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Function/functions/AddContract.vue\n// module id = 797\n// module chunks = 30","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-6e09eef4&scoped=true!../../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./AddContract.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./AddContract.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-6e09eef4!../../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./AddContract.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/Function/functions/AddContract.vue\n// module id = 916\n// module chunks = 30"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- webpackJsonp([34],{355:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=n(11),r=l(s),i=n(2),a=l(i),o=n(7),u=l(o),c=n(3);t.default={title:"确认卡信息",props:["billselect","selectone"],data:function(){return{show:!1,billinfo:{f_billnumber:null},number:null}},ready:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.isShow(),t=new c.HttpResetClass,n={tablename:"t_singlevalue",condition:"name = '确认卡编号'"},e.next=5,t.load("POST","rs/sql/apply_singleTable",{data:n},{resolveMsg:null,rejectMsg:"获取单据编号失败"},{silent:!0});case 5:l=e.sent,this.number=l.data[0],this.handle(),this.billinfo.f_billnumber=this.number.value;case 9:case"end":return e.stop()}},e,this)}));return e}(),methods:{isShow:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l,s;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,n={tablename:"t_paydetail",condition:"processid = '"+this.billselect.f_process_id+"'"},e.next=4,t.load("POST","rs/sql/apply_singleTable",{data:n},{resolveMsg:null,rejectMsg:"获取开户费信息失败"},{silent:!0});case 4:for(l=e.sent,s=0;s<l.data.length;s++)l.data[s].f_charging_item.includes("开户费")&&(this.show=!0);case 6:case"end":return e.stop()}},e,this)}));return e}(),handle:function(){for(;this.number.value.length<8;)this.number.value="0"+this.number.value},updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,this.number.value=Number(this.number.value)+1,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"改装卡编号保存失败"}),t=new c.HttpResetClass,n=(0,r.default)({},this.billselect,this.billinfo),delete n.id,n.f_bill_type=this.selectone,l={billinfo:n},e.next=10,t.load("POST","rs/logic/makebillrecord",{data:l},{resolveMsg:null,rejectMsg:"改装卡编号存储失败"});case 10:case"end":return e.stop()}},e,this)}));return e}()}}},516:function(e,t,n){t=e.exports=n(4)(),t.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",file:"BillQRKMakeInfo.vue",sourceRoot:"webpack://"}])},605:function(e,t,n){var l=n(516);"string"==typeof l&&(l=[[e.id,l,""]]);n(5)(l,{});l.locals&&(e.exports=l.locals)},801:function(e,t){e.exports=' <p v-if=!show _v-9c56553c=""><font color=red _v-9c56553c="">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk="" :billselect=billselect :billinfo=billinfo _v-9c56553c=""></billqrk> '},906:function(e,t,n){var l,s,r={};n(605),l=n(355),s=n(801),e.exports=l||{},e.exports.__esModule&&(e.exports=e.exports.default);var i="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;s&&(i.template=s),i.computed||(i.computed={}),Object.keys(r).forEach(function(e){var t=r[e];i.computed[e]=function(){return t}})}});
2
- //# sourceMappingURL=34.js.map
1
+ webpackJsonp([34],{355:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=n(11),r=l(s),i=n(2),a=l(i),o=n(7),u=l(o),c=n(3);t.default={title:"确认卡信息",props:["billselect","selectone"],data:function(){return{show:!1,billinfo:{f_billnumber:null},number:null}},ready:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.isShow(),t=new c.HttpResetClass,n={tablename:"t_singlevalue",condition:"name = '确认卡编号'"},e.next=5,t.load("POST","rs/sql/singleTable",{data:n},{resolveMsg:null,rejectMsg:"获取单据编号失败"},{silent:!0});case 5:l=e.sent,this.number=l.data[0],this.handle(),this.billinfo.f_billnumber=this.number.value;case 9:case"end":return e.stop()}},e,this)}));return e}(),methods:{isShow:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l,s;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,n={tablename:"t_paydetail",condition:"processid = '"+this.billselect.f_process_id+"'"},e.next=4,t.load("POST","rs/sql/singleTable",{data:n},{resolveMsg:null,rejectMsg:"获取开户费信息失败"},{silent:!0});case 4:for(l=e.sent,s=0;s<l.data.length;s++)l.data[s].f_charging_item.includes("开户费")&&(this.show=!0);case 6:case"end":return e.stop()}},e,this)}));return e}(),handle:function(){for(;this.number.value.length<8;)this.number.value="0"+this.number.value},updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,u.default)(a.default.mark(function e(){var t,n,l;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,this.number.value=Number(this.number.value)+1,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"改装卡编号保存失败"}),t=new c.HttpResetClass,n=(0,r.default)({},this.billselect,this.billinfo),delete n.id,n.f_bill_type=this.selectone,l={billinfo:n},e.next=10,t.load("POST","rs/logic/makebillrecord",{data:l},{resolveMsg:null,rejectMsg:"改装卡编号存储失败"});case 10:case"end":return e.stop()}},e,this)}));return e}()}}},516:function(e,t,n){t=e.exports=n(4)(),t.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",file:"BillQRKMakeInfo.vue",sourceRoot:"webpack://"}])},605:function(e,t,n){var l=n(516);"string"==typeof l&&(l=[[e.id,l,""]]);n(5)(l,{});l.locals&&(e.exports=l.locals)},801:function(e,t){e.exports=' <p v-if=!show _v-9c56553c=""><font color=red _v-9c56553c="">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk="" :billselect=billselect :billinfo=billinfo _v-9c56553c=""></billqrk> '},906:function(e,t,n){var l,s,r={};n(605),l=n(355),s=n(801),e.exports=l||{},e.exports.__esModule&&(e.exports=e.exports.default);var i="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;s&&(i.template=s),i.computed||(i.computed={}),Object.keys(r).forEach(function(e){var t=r[e];i.computed[e]=function(){return t}})}});
2
+ //# sourceMappingURL=34.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///34.js","webpack:///BillQRKMakeInfo.vue","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?edc3","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?13a4","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?094b","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue"],"names":["webpackJsonp","355","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_assign","_assign2","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","show","billinfo","f_billnumber","number","ready","_ref","apply","this","arguments","mark","_callee","http","res","wrap","_context","prev","next","isShow","HttpResetClass","tablename","condition","load","resolveMsg","rejectMsg","silent","sent","handle","stop","methods","_ref2","_callee2","i","_context2","billselect","f_process_id","length","f_charging_item","includes","updateNumber","_ref3","_callee3","_context3","Number","id","f_bill_type","selectone","516","push","version","sources","names","mappings","file","sourceRoot","605","content","locals","801","906","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys","forEach","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAoBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAlBvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAUR,EAAoB,IAE9BS,EAAWR,EAAuBO,GAElCE,EAAeV,EAAoB,GAEnCW,EAAgBV,EAAuBS,GAEvCE,EAAqBZ,EAAoB,GAEzCa,EAAqBZ,EAAuBW,GAE5CE,EAAad,EAAoB,EAIrCD,GAAQK,SCnBTW,MAAA,QACAC,OAAA,0BACAC,KAHA,WAIA,OACAC,MAAA,EACAC,UAAAC,aAAA,MACAC,OAAA,OAGAC,MAVA,mBAAAA,KAAA,MAAAC,GAAAC,MAAAC,KAAAC,WAAA,GAAAH,IAAA,EAAAV,EAAAT,SAAAO,EAAAP,QAAAuB,KAAA,QAAAC,KAAA,GAAAC,GAAAZ,EAAAa,CAAA,OAAAnB,GAAAP,QAAA2B,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,aAYAT,MAAAU,SAEAN,EAAA,GAAAf,GAAAsB,eACAnB,GACAoB,UAAA,gBACAC,UAAA,kBAjBAN,EAAAE,KAAA,EAmBAL,EAAAU,KAAA,6BAAAtB,SACAuB,WAAA,KACAC,UAAA,aACAC,QAAA,GAtBA,QAmBAZ,EAnBAE,EAAAW,KAuBAlB,KAAAJ,OAAAS,EAAAb,KAAA,GACAQ,KAAAmB,SACAnB,KAAAN,SAAAC,aAAAK,KAAAJ,OAAAd,KAzBA,wBAAAy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) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\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 _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t title: \"确认卡信息\",\n\t props: ['billselect', 'selectone'],\n\t data: function data() {\n\t return {\n\t show: false,\n\t billinfo: { f_billnumber: null },\n\t number: null\n\t };\n\t },\n\t ready: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t this.isShow();\n\t\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_singlevalue',\n\t condition: 'name = \\'\\u786E\\u8BA4\\u5361\\u7F16\\u53F7\\''\n\t };\n\t _context.next = 5;\n\t return http.load('POST', 'rs/sql/apply_singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取单据编号失败\"\n\t }, { silent: true });\n\t\n\t case 5:\n\t res = _context.sent;\n\t\n\t this.number = res.data[0];\n\t this.handle();\n\t this.billinfo.f_billnumber = this.number.value;\n\t\n\t case 9:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function ready() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return ready;\n\t }(),\n\t\n\t methods: {\n\t isShow: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var http, data, res, i;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_paydetail',\n\t condition: 'processid = \\'' + this.billselect.f_process_id + '\\''\n\t };\n\t _context2.next = 4;\n\t return http.load('POST', 'rs/sql/apply_singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取开户费信息失败\"\n\t }, { silent: true });\n\t\n\t case 4:\n\t res = _context2.sent;\n\t\n\t for (i = 0; i < res.data.length; i++) {\n\t if (res.data[i].f_charging_item.includes('开户费')) {\n\t this.show = true;\n\t }\n\t }\n\t\n\t case 6:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function isShow() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return isShow;\n\t }(),\n\t handle: function handle() {\n\t while (this.number.value.length < 8) {\n\t this.number.value = '0' + this.number.value;\n\t }\n\t },\n\t updateNumber: function () {\n\t var _ref3 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3() {\n\t var http, billinfo, data;\n\t return _regenerator2.default.wrap(function _callee3$(_context3) {\n\t while (1) {\n\t switch (_context3.prev = _context3.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.number.value = Number(this.number.value) + 1;\n\t http.load('POST', 'rs/logic/updatesinglevalue', { data: this.number }, { resolveMsg: null, rejectMsg: \"改装卡编号保存失败\" });\n\t http = new _vueClient.HttpResetClass();\n\t billinfo = (0, _assign2.default)({}, this.billselect, this.billinfo);\n\t\n\t delete billinfo.id;\n\t\n\t billinfo.f_bill_type = this.selectone;\n\t data = {\n\t billinfo: billinfo\n\t };\n\t _context3.next = 10;\n\t return http.load('POST', 'rs/logic/makebillrecord', { data: data }, { resolveMsg: null, rejectMsg: \"改装卡编号存储失败\" });\n\t\n\t case 10:\n\t case 'end':\n\t return _context3.stop();\n\t }\n\t }\n\t }, _callee3, this);\n\t }));\n\t\n\t function updateNumber() {\n\t return _ref3.apply(this, arguments);\n\t }\n\t\n\t return updateNumber;\n\t }()\n\t }\n\t};\n\n/***/ }),\n\n/***/ 516:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillQRKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 605:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(516);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 801:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <p v-if=!show _v-9c56553c=\\\"\\\"><font color=red _v-9c56553c=\\\"\\\">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-9c56553c=\\\"\\\"></billqrk> \";\n\n/***/ }),\n\n/***/ 906:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(605)\n\t__vue_script__ = __webpack_require__(355)\n\t__vue_template__ = __webpack_require__(801)\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// 34.js","<template>\r\n <p v-if=\"!show\"><font color=\"red\">还未交开户费</font></p>\r\n <billqrk v-if=\"billinfo.f_billnumber&&show\" v-ref:billqrk :billselect=\"billselect\" :billinfo=\"billinfo\"></billqrk>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n export default {\r\n title: \"确认卡信息\",\r\n props:['billselect','selectone'],\r\n data(){\r\n return{\r\n show: false,\r\n billinfo: {f_billnumber:null},\r\n number: null\r\n }\r\n },\r\n async ready(){\r\n //如果没有缴开户费,不能打印户内安装确认卡\r\n this.isShow()\r\n\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_singlevalue',\r\n condition: `name = '确认卡编号'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取单据编号失败\"\r\n }, {silent: true})\r\n this.number = res.data[0]\r\n this.handle()\r\n this.billinfo.f_billnumber = this.number.value\r\n },\r\n methods: {\r\n async isShow(){\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_paydetail',\r\n condition: `processid = '${this.billselect.f_process_id}'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取开户费信息失败\"\r\n }, {silent: true})\r\n for(let i=0;i<res.data.length;i++){\r\n if(res.data[i].f_charging_item.includes('开户费')){\r\n this.show = true\r\n }\r\n }\r\n },\r\n // 处理数字,例如: 1 转换成 001\r\n handle() {\r\n while (this.number.value.length < 8) {\r\n this.number.value = '0' + this.number.value\r\n }\r\n },\r\n // 更新 确认卡编号\r\n async updateNumber() {\r\n let http = new HttpResetClass()\r\n this.number.value = Number(this.number.value) + 1\r\n http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {resolveMsg: null, rejectMsg: \"改装卡编号保存失败\"})\r\n http = new HttpResetClass()\r\n let billinfo = Object.assign({}, this.billselect, this.billinfo)\r\n delete billinfo.id\r\n // 票据类型\r\n billinfo.f_bill_type = this.selectone\r\n let data = {\r\n billinfo: billinfo\r\n }\r\n await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: \"改装卡编号存储失败\"})\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// BillQRKMakeInfo.vue?1a973e36","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillQRKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 516\n// module chunks = 34","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 605\n// module chunks = 34","module.exports = \" <p v-if=!show _v-9c56553c=\\\"\\\"><font color=red _v-9c56553c=\\\"\\\">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-9c56553c=\\\"\\\"></billqrk> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-9c56553c!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 801\n// module chunks = 34","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./BillQRKMakeInfo.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-9c56553c!../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./BillQRKMakeInfo.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/Bill/BillQRKMakeInfo.vue\n// module id = 906\n// module chunks = 34"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///34.js","webpack:///BillQRKMakeInfo.vue","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?edc3","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?13a4","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue?094b","webpack:///./src/components/product/Bill/BillQRKMakeInfo.vue"],"names":["webpackJsonp","355","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_assign","_assign2","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","show","billinfo","f_billnumber","number","ready","_ref","apply","this","arguments","mark","_callee","http","res","wrap","_context","prev","next","isShow","HttpResetClass","tablename","condition","load","resolveMsg","rejectMsg","silent","sent","handle","stop","methods","_ref2","_callee2","i","_context2","billselect","f_process_id","length","f_charging_item","includes","updateNumber","_ref3","_callee3","_context3","Number","id","f_bill_type","selectone","516","push","version","sources","names","mappings","file","sourceRoot","605","content","locals","801","906","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys","forEach","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAoBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAlBvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAUR,EAAoB,IAE9BS,EAAWR,EAAuBO,GAElCE,EAAeV,EAAoB,GAEnCW,EAAgBV,EAAuBS,GAEvCE,EAAqBZ,EAAoB,GAEzCa,EAAqBZ,EAAuBW,GAE5CE,EAAad,EAAoB,EAIrCD,GAAQK,SCnBTW,MAAA,QACAC,OAAA,0BACAC,KAHA,WAIA,OACAC,MAAA,EACAC,UAAAC,aAAA,MACAC,OAAA,OAGAC,MAVA,mBAAAA,KAAA,MAAAC,GAAAC,MAAAC,KAAAC,WAAA,GAAAH,IAAA,EAAAV,EAAAT,SAAAO,EAAAP,QAAAuB,KAAA,QAAAC,KAAA,GAAAC,GAAAZ,EAAAa,CAAA,OAAAnB,GAAAP,QAAA2B,KAAA,SA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D,EAAAC,QAAAK,QACA,IAAA4E,GAAA,kBAAAlF,GAAAC,QAAAD,EAAAC,QAAAkF,UAAAnF,EAAAC,QAAAkF,YAAoHnF,EAAAC,OACpH+E,KACAE,EAAAE,SAAAJ,GAEAE,EAAAG,WAAAH,EAAAG,aACA9E,OAAA+E,KAAAL,GAAAM,QAAA,SAAAC,GACA,GAAAxF,GAAAiF,EAAAO,EACAN,GAAAG,SAAAG,GAAA,WAA6C,MAAAxF","file":"34.js","sourcesContent":["webpackJsonp([34],{\n\n/***/ 355:\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 _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 _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t title: \"确认卡信息\",\n\t props: ['billselect', 'selectone'],\n\t data: function data() {\n\t return {\n\t show: false,\n\t billinfo: { f_billnumber: null },\n\t number: null\n\t };\n\t },\n\t ready: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t this.isShow();\n\t\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_singlevalue',\n\t condition: 'name = \\'\\u786E\\u8BA4\\u5361\\u7F16\\u53F7\\''\n\t };\n\t _context.next = 5;\n\t return http.load('POST', 'rs/sql/singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取单据编号失败\"\n\t }, { silent: true });\n\t\n\t case 5:\n\t res = _context.sent;\n\t\n\t this.number = res.data[0];\n\t this.handle();\n\t this.billinfo.f_billnumber = this.number.value;\n\t\n\t case 9:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function ready() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return ready;\n\t }(),\n\t\n\t methods: {\n\t isShow: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var http, data, res, i;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_paydetail',\n\t condition: 'processid = \\'' + this.billselect.f_process_id + '\\''\n\t };\n\t _context2.next = 4;\n\t return http.load('POST', 'rs/sql/singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取开户费信息失败\"\n\t }, { silent: true });\n\t\n\t case 4:\n\t res = _context2.sent;\n\t\n\t for (i = 0; i < res.data.length; i++) {\n\t if (res.data[i].f_charging_item.includes('开户费')) {\n\t this.show = true;\n\t }\n\t }\n\t\n\t case 6:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function isShow() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return isShow;\n\t }(),\n\t handle: function handle() {\n\t while (this.number.value.length < 8) {\n\t this.number.value = '0' + this.number.value;\n\t }\n\t },\n\t updateNumber: function () {\n\t var _ref3 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3() {\n\t var http, billinfo, data;\n\t return _regenerator2.default.wrap(function _callee3$(_context3) {\n\t while (1) {\n\t switch (_context3.prev = _context3.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.number.value = Number(this.number.value) + 1;\n\t http.load('POST', 'rs/logic/updatesinglevalue', { data: this.number }, { resolveMsg: null, rejectMsg: \"改装卡编号保存失败\" });\n\t http = new _vueClient.HttpResetClass();\n\t billinfo = (0, _assign2.default)({}, this.billselect, this.billinfo);\n\t\n\t delete billinfo.id;\n\t\n\t billinfo.f_bill_type = this.selectone;\n\t data = {\n\t billinfo: billinfo\n\t };\n\t _context3.next = 10;\n\t return http.load('POST', 'rs/logic/makebillrecord', { data: data }, { resolveMsg: null, rejectMsg: \"改装卡编号存储失败\" });\n\t\n\t case 10:\n\t case 'end':\n\t return _context3.stop();\n\t }\n\t }\n\t }, _callee3, this);\n\t }));\n\t\n\t function updateNumber() {\n\t return _ref3.apply(this, arguments);\n\t }\n\t\n\t return updateNumber;\n\t }()\n\t }\n\t};\n\n/***/ }),\n\n/***/ 516:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillQRKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 605:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(516);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 801:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <p v-if=!show _v-9c56553c=\\\"\\\"><font color=red _v-9c56553c=\\\"\\\">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-9c56553c=\\\"\\\"></billqrk> \";\n\n/***/ }),\n\n/***/ 906:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(605)\n\t__vue_script__ = __webpack_require__(355)\n\t__vue_template__ = __webpack_require__(801)\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// 34.js","<template>\r\n <p v-if=\"!show\"><font color=\"red\">还未交开户费</font></p>\r\n <billqrk v-if=\"billinfo.f_billnumber&&show\" v-ref:billqrk :billselect=\"billselect\" :billinfo=\"billinfo\"></billqrk>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n export default {\r\n title: \"确认卡信息\",\r\n props:['billselect','selectone'],\r\n data(){\r\n return{\r\n show: false,\r\n billinfo: {f_billnumber:null},\r\n number: null\r\n }\r\n },\r\n async ready(){\r\n //如果没有缴开户费,不能打印户内安装确认卡\r\n this.isShow()\r\n\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_singlevalue',\r\n condition: `name = '确认卡编号'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取单据编号失败\"\r\n }, {silent: true})\r\n this.number = res.data[0]\r\n this.handle()\r\n this.billinfo.f_billnumber = this.number.value\r\n },\r\n methods: {\r\n async isShow(){\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_paydetail',\r\n condition: `processid = '${this.billselect.f_process_id}'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取开户费信息失败\"\r\n }, {silent: true})\r\n for(let i=0;i<res.data.length;i++){\r\n if(res.data[i].f_charging_item.includes('开户费')){\r\n this.show = true\r\n }\r\n }\r\n },\r\n // 处理数字,例如: 1 转换成 001\r\n handle() {\r\n while (this.number.value.length < 8) {\r\n this.number.value = '0' + this.number.value\r\n }\r\n },\r\n // 更新 确认卡编号\r\n async updateNumber() {\r\n let http = new HttpResetClass()\r\n this.number.value = Number(this.number.value) + 1\r\n http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {resolveMsg: null, rejectMsg: \"改装卡编号保存失败\"})\r\n http = new HttpResetClass()\r\n let billinfo = Object.assign({}, this.billselect, this.billinfo)\r\n delete billinfo.id\r\n // 票据类型\r\n billinfo.f_bill_type = this.selectone\r\n let data = {\r\n billinfo: billinfo\r\n }\r\n await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: \"改装卡编号存储失败\"})\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// BillQRKMakeInfo.vue?1a973e36","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillQRKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 516\n// module chunks = 34","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 605\n// module chunks = 34","module.exports = \" <p v-if=!show _v-9c56553c=\\\"\\\"><font color=red _v-9c56553c=\\\"\\\">还未交开户费</font></p> <billqrk v-if=billinfo.f_billnumber&amp;&amp;show v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-9c56553c=\\\"\\\"></billqrk> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-9c56553c!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Bill/BillQRKMakeInfo.vue\n// module id = 801\n// module chunks = 34","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-9c56553c&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillQRKMakeInfo.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./BillQRKMakeInfo.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-9c56553c!../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./BillQRKMakeInfo.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/Bill/BillQRKMakeInfo.vue\n// module id = 906\n// module chunks = 34"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- webpackJsonp([43],{346:function(e,t,l){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=l(11),s=n(r),u=l(2),i=n(u),o=l(7),a=n(o),c=l(3);t.default={title:"确认卡信息",props:["billselect","selectone"],data:function(){return{billinfo:{f_billnumber:null},number:null}},ready:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(){var t,l,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,l={tablename:"t_singlevalue",condition:"name = '改装卡编号'"},e.next=4,t.load("POST","rs/sql/apply_singleTable",{data:l},{resolveMsg:null,rejectMsg:"获取单据编号失败"},{silent:!0});case 4:n=e.sent,this.number=n.data[0],this.handle(),this.billinfo.f_billnumber=this.number.value;case 8:case"end":return e.stop()}},e,this)}));return e}(),methods:{handle:function(){for(;this.number.value.length<8;)this.number.value="0"+this.number.value},updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(){var t,l,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,this.number.value=Number(this.number.value)+1,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"改装卡编号保存失败"}),t=new c.HttpResetClass,l=(0,s.default)({},this.billselect,this.billinfo),delete l.id,l.f_bill_type="改装卡",n={billinfo:l},e.next=10,t.load("POST","rs/logic/makebillrecord",{data:n},{resolveMsg:null,rejectMsg:"改装卡编号存储失败"});case 10:case"end":return e.stop()}},e,this)}));return e}()}}},504:function(e,t,l){t=e.exports=l(4)(),t.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",file:"BillGZKMakeInfo.vue",sourceRoot:"webpack://"}])},586:function(e,t,l){var n=l(504);"string"==typeof n&&(n=[[e.id,n,""]]);l(5)(n,{});n.locals&&(e.exports=n.locals)},782:function(e,t){e.exports=' <billgzk v-ref:billqrk="" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=""></billgzk> '},897:function(e,t,l){var n,r,s={};l(586),n=l(346),r=l(782),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports.default);var u="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(u.template=r),u.computed||(u.computed={}),Object.keys(s).forEach(function(e){var t=s[e];u.computed[e]=function(){return t}})}});
2
- //# sourceMappingURL=43.js.map
1
+ webpackJsonp([43],{346:function(e,t,l){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=l(11),s=n(r),u=l(2),i=n(u),o=l(7),a=n(o),c=l(3);t.default={title:"确认卡信息",props:["billselect","selectone"],data:function(){return{billinfo:{f_billnumber:null},number:null}},ready:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(){var t,l,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,l={tablename:"t_singlevalue",condition:"name = '改装卡编号'"},e.next=4,t.load("POST","rs/sql/singleTable",{data:l},{resolveMsg:null,rejectMsg:"获取单据编号失败"},{silent:!0});case 4:n=e.sent,this.number=n.data[0],this.handle(),this.billinfo.f_billnumber=this.number.value;case 8:case"end":return e.stop()}},e,this)}));return e}(),methods:{handle:function(){for(;this.number.value.length<8;)this.number.value="0"+this.number.value},updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(){var t,l,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new c.HttpResetClass,this.number.value=Number(this.number.value)+1,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"改装卡编号保存失败"}),t=new c.HttpResetClass,l=(0,s.default)({},this.billselect,this.billinfo),delete l.id,l.f_bill_type="改装卡",n={billinfo:l},e.next=10,t.load("POST","rs/logic/makebillrecord",{data:n},{resolveMsg:null,rejectMsg:"改装卡编号存储失败"});case 10:case"end":return e.stop()}},e,this)}));return e}()}}},504:function(e,t,l){t=e.exports=l(4)(),t.push([e.id,"","",{version:3,sources:[],names:[],mappings:"",file:"BillGZKMakeInfo.vue",sourceRoot:"webpack://"}])},586:function(e,t,l){var n=l(504);"string"==typeof n&&(n=[[e.id,n,""]]);l(5)(n,{});n.locals&&(e.exports=n.locals)},782:function(e,t){e.exports=' <billgzk v-ref:billqrk="" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=""></billgzk> '},897:function(e,t,l){var n,r,s={};l(586),n=l(346),r=l(782),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports.default);var u="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;r&&(u.template=r),u.computed||(u.computed={}),Object.keys(s).forEach(function(e){var t=s[e];u.computed[e]=function(){return t}})}});
2
+ //# sourceMappingURL=43.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///43.js","webpack:///BillGZKMakeInfo.vue","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?f462","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?e0d1","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?4426","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue"],"names":["webpackJsonp","346","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_assign","_assign2","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","billinfo","f_billnumber","number","ready","_ref","apply","this","arguments","mark","_callee","http","res","wrap","_context","prev","next","HttpResetClass","tablename","condition","load","resolveMsg","rejectMsg","silent","sent","handle","stop","methods","length","updateNumber","_ref2","_callee2","_context2","Number","billselect","id","f_bill_type","504","push","version","sources","names","mappings","file","sourceRoot","586","content","locals","782","897","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys","forEach","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAoBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAlBvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAUR,EAAoB,IAE9BS,EAAWR,EAAuBO,GAElCE,EAAeV,EAAoB,GAEnCW,EAAgBV,EAAuBS,GAEvCE,EAAqBZ,EAAoB,GAEzCa,EAAqBZ,EAAuBW,GAE5CE,EAAad,EAAoB,EAIrCD,GAAQK,SCpBTW,MAAA,QACAC,OAAA,0BACAC,KAHA,WAIA,OACAC,UAAAC,aAAA,MACAC,OAAA,OAGAC,MATA,mBAAAA,KAAA,MAAAC,GAAAC,MAAAC,KAAAC,WAAA,GAAAH,IAAA,EAAAT,EAAAT,SAAAO,EAAAP,QAAAsB,KAAA,QAAAC,KAAA,GAAAC,GAAAX,EAAAY,CAAA,OAAAlB,GAAAP,QAAA0B,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,aAUAL,GAAA,GAAAd,GAAAoB,eACAjB,GACAkB,UAAA,gBACAC,UAAA,kBAbAL,EAAAE,KAAA,EAeAL,EAAAS,KAAA,6BAAApB,SACAqB,WAAA,KACAC,UAAA,aACAC,QAAA,GAlBA,QAeAX,EAfAE,EAAAU,KAmBAjB,KAAAJ,OAAAS,EAAAZ,KAAA,GACAO,KAAAkB,SACAlB,KAAAN,SAAAC,aAAAK,KAAAJ,OAAAb,KArBA,wBAAAwB,GAAAY,SAAAhB,EAAAH,QAAA,OAAAH,MAuBAuB,SAEAF,OAFA,WAGA,KAAAlB,KAAAJ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AC,IACArE,GAAA,KACAmE,EAAAnE,EAAA,KACAoE,EAAApE,EAAA,KACAF,EAAAC,QAAAoE,MACArE,EAAAC,QAAAI,aAAAL,EAAAC,QAAAD,EAAAC,QAAAK,QACA,IAAAkE,GAAA,kBAAAxE,GAAAC,QAAAD,EAAAC,QAAAwE,UAAAzE,EAAAC,QAAAwE,YAAoHzE,EAAAC,OACpHqE,KACAE,EAAAE,SAAAJ,GAEAE,EAAAG,WAAAH,EAAAG,aACApE,OAAAqE,KAAAL,GAAAM,QAAA,SAAAC,GACA,GAAA9E,GAAAuE,EAAAO,EACAN,GAAAG,SAAAG,GAAA,WAA6C,MAAA9E","file":"43.js","sourcesContent":["webpackJsonp([43],{\n\n/***/ 346:\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 _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 _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t title: \"确认卡信息\",\n\t props: ['billselect', 'selectone'],\n\t data: function data() {\n\t return {\n\t billinfo: { f_billnumber: null },\n\t number: null\n\t };\n\t },\n\t ready: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_singlevalue',\n\t condition: 'name = \\'\\u6539\\u88C5\\u5361\\u7F16\\u53F7\\''\n\t };\n\t _context.next = 4;\n\t return http.load('POST', 'rs/sql/apply_singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取单据编号失败\"\n\t }, { silent: true });\n\t\n\t case 4:\n\t res = _context.sent;\n\t\n\t this.number = res.data[0];\n\t this.handle();\n\t this.billinfo.f_billnumber = this.number.value;\n\t\n\t case 8:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function ready() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return ready;\n\t }(),\n\t\n\t methods: {\n\t handle: function handle() {\n\t while (this.number.value.length < 8) {\n\t this.number.value = '0' + this.number.value;\n\t }\n\t },\n\t updateNumber: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var http, billinfo, data;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.number.value = Number(this.number.value) + 1;\n\t http.load('POST', 'rs/logic/updatesinglevalue', { data: this.number }, { resolveMsg: null, rejectMsg: \"改装卡编号保存失败\" });\n\t http = new _vueClient.HttpResetClass();\n\t billinfo = (0, _assign2.default)({}, this.billselect, this.billinfo);\n\t\n\t delete billinfo.id;\n\t\n\t billinfo.f_bill_type = '改装卡';\n\t data = {\n\t billinfo: billinfo\n\t };\n\t _context2.next = 10;\n\t return http.load('POST', 'rs/logic/makebillrecord', { data: data }, { resolveMsg: null, rejectMsg: \"改装卡编号存储失败\" });\n\t\n\t case 10:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function updateNumber() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return updateNumber;\n\t }()\n\t }\n\t};\n\n/***/ }),\n\n/***/ 504:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillGZKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 586:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(504);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 782:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <billgzk v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=\\\"\\\"></billgzk> \";\n\n/***/ }),\n\n/***/ 897:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(586)\n\t__vue_script__ = __webpack_require__(346)\n\t__vue_template__ = __webpack_require__(782)\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// 43.js","<template>\r\n <billgzk v-ref:billqrk :billselect=\"billselect\" :billinfo=\"billinfo\"></billgzk>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n export default {\r\n title: \"确认卡信息\",\r\n props:['billselect','selectone'],\r\n data(){\r\n return{\r\n billinfo: {f_billnumber:null},\r\n number: null\r\n }\r\n },\r\n async ready(){\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_singlevalue',\r\n condition: `name = '改装卡编号'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取单据编号失败\"\r\n }, {silent: true})\r\n this.number = res.data[0]\r\n this.handle()\r\n this.billinfo.f_billnumber = this.number.value\r\n },\r\n methods: {\r\n // 处理数字,例如: 1 转换成 001\r\n handle() {\r\n while (this.number.value.length < 8) {\r\n this.number.value = '0' + this.number.value\r\n }\r\n },\r\n // 更新 确认卡编号\r\n async updateNumber() {\r\n let http = new HttpResetClass()\r\n this.number.value = Number(this.number.value) + 1\r\n http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {resolveMsg: null, rejectMsg: \"改装卡编号保存失败\"})\r\n http = new HttpResetClass()\r\n let billinfo = Object.assign({}, this.billselect, this.billinfo)\r\n delete billinfo.id\r\n // 票据类型\r\n billinfo.f_bill_type = '改装卡'\r\n let data = {\r\n billinfo: billinfo\r\n }\r\n await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: \"改装卡编号存储失败\"})\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// BillGZKMakeInfo.vue?6faa435c","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillGZKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 504\n// module chunks = 43","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 586\n// module chunks = 43","module.exports = \" <billgzk v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=\\\"\\\"></billgzk> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-3e30fbd0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 782\n// module chunks = 43","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./BillGZKMakeInfo.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-3e30fbd0!../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./BillGZKMakeInfo.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/Bill/BillGZKMakeInfo.vue\n// module id = 897\n// module chunks = 43"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///43.js","webpack:///BillGZKMakeInfo.vue","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?f462","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?e0d1","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue?4426","webpack:///./src/components/product/Bill/BillGZKMakeInfo.vue"],"names":["webpackJsonp","346","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_assign","_assign2","_regenerator","_regenerator2","_asyncToGenerator2","_asyncToGenerator3","_vueClient","title","props","data","billinfo","f_billnumber","number","ready","_ref","apply","this","arguments","mark","_callee","http","res","wrap","_context","prev","next","HttpResetClass","tablename","condition","load","resolveMsg","rejectMsg","silent","sent","handle","stop","methods","length","updateNumber","_ref2","_callee2","_context2","Number","billselect","id","f_bill_type","504","push","version","sources","names","mappings","file","sourceRoot","586","content","locals","782","897","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys","forEach","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAoBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAlBvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAUR,EAAoB,IAE9BS,EAAWR,EAAuBO,GAElCE,EAAeV,EAAoB,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Jsonp([43],{\n\n/***/ 346:\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 _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 _asyncToGenerator2 = __webpack_require__(7);\n\t\n\tvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t title: \"确认卡信息\",\n\t props: ['billselect', 'selectone'],\n\t data: function data() {\n\t return {\n\t billinfo: { f_billnumber: null },\n\t number: null\n\t };\n\t },\n\t ready: function () {\n\t var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee() {\n\t var http, data, res;\n\t return _regenerator2.default.wrap(function _callee$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t data = {\n\t tablename: 't_singlevalue',\n\t condition: 'name = \\'\\u6539\\u88C5\\u5361\\u7F16\\u53F7\\''\n\t };\n\t _context.next = 4;\n\t return http.load('POST', 'rs/sql/singleTable', { data: data }, {\n\t resolveMsg: null,\n\t rejectMsg: \"获取单据编号失败\"\n\t }, { silent: true });\n\t\n\t case 4:\n\t res = _context.sent;\n\t\n\t this.number = res.data[0];\n\t this.handle();\n\t this.billinfo.f_billnumber = this.number.value;\n\t\n\t case 8:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, _callee, this);\n\t }));\n\t\n\t function ready() {\n\t return _ref.apply(this, arguments);\n\t }\n\t\n\t return ready;\n\t }(),\n\t\n\t methods: {\n\t handle: function handle() {\n\t while (this.number.value.length < 8) {\n\t this.number.value = '0' + this.number.value;\n\t }\n\t },\n\t updateNumber: function () {\n\t var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {\n\t var http, billinfo, data;\n\t return _regenerator2.default.wrap(function _callee2$(_context2) {\n\t while (1) {\n\t switch (_context2.prev = _context2.next) {\n\t case 0:\n\t http = new _vueClient.HttpResetClass();\n\t\n\t this.number.value = Number(this.number.value) + 1;\n\t http.load('POST', 'rs/logic/updatesinglevalue', { data: this.number }, { resolveMsg: null, rejectMsg: \"改装卡编号保存失败\" });\n\t http = new _vueClient.HttpResetClass();\n\t billinfo = (0, _assign2.default)({}, this.billselect, this.billinfo);\n\t\n\t delete billinfo.id;\n\t\n\t billinfo.f_bill_type = '改装卡';\n\t data = {\n\t billinfo: billinfo\n\t };\n\t _context2.next = 10;\n\t return http.load('POST', 'rs/logic/makebillrecord', { data: data }, { resolveMsg: null, rejectMsg: \"改装卡编号存储失败\" });\n\t\n\t case 10:\n\t case 'end':\n\t return _context2.stop();\n\t }\n\t }\n\t }, _callee2, this);\n\t }));\n\t\n\t function updateNumber() {\n\t return _ref2.apply(this, arguments);\n\t }\n\t\n\t return updateNumber;\n\t }()\n\t }\n\t};\n\n/***/ }),\n\n/***/ 504:\n/***/ (function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(4)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillGZKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 586:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(504);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(5)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ }),\n\n/***/ 782:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <billgzk v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=\\\"\\\"></billgzk> \";\n\n/***/ }),\n\n/***/ 897:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(586)\n\t__vue_script__ = __webpack_require__(346)\n\t__vue_template__ = __webpack_require__(782)\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// 43.js","<template>\r\n <billgzk v-ref:billqrk :billselect=\"billselect\" :billinfo=\"billinfo\"></billgzk>\r\n</template>\r\n\r\n<script>\r\n import {HttpResetClass} from 'vue-client'\r\n export default {\r\n title: \"确认卡信息\",\r\n props:['billselect','selectone'],\r\n data(){\r\n return{\r\n billinfo: {f_billnumber:null},\r\n number: null\r\n }\r\n },\r\n async ready(){\r\n let http = new HttpResetClass()\r\n let data = {\r\n tablename: 't_singlevalue',\r\n condition: `name = '改装卡编号'`\r\n }\r\n let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {\r\n resolveMsg: null,\r\n rejectMsg: \"获取单据编号失败\"\r\n }, {silent: true})\r\n this.number = res.data[0]\r\n this.handle()\r\n this.billinfo.f_billnumber = this.number.value\r\n },\r\n methods: {\r\n // 处理数字,例如: 1 转换成 001\r\n handle() {\r\n while (this.number.value.length < 8) {\r\n this.number.value = '0' + this.number.value\r\n }\r\n },\r\n // 更新 确认卡编号\r\n async updateNumber() {\r\n let http = new HttpResetClass()\r\n this.number.value = Number(this.number.value) + 1\r\n http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {resolveMsg: null, rejectMsg: \"改装卡编号保存失败\"})\r\n http = new HttpResetClass()\r\n let billinfo = Object.assign({}, this.billselect, this.billinfo)\r\n delete billinfo.id\r\n // 票据类型\r\n billinfo.f_bill_type = '改装卡'\r\n let data = {\r\n billinfo: billinfo\r\n }\r\n await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: \"改装卡编号存储失败\"})\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// BillGZKMakeInfo.vue?6faa435c","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"BillGZKMakeInfo.vue\",\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 504\n// module chunks = 43","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../../node_modules/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 586\n// module chunks = 43","module.exports = \" <billgzk v-ref:billqrk=\\\"\\\" :billselect=billselect :billinfo=billinfo _v-3e30fbd0=\\\"\\\"></billgzk> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/template-rewriter.js?id=_v-3e30fbd0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/Bill/BillGZKMakeInfo.vue\n// module id = 782\n// module chunks = 43","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-3e30fbd0&scoped=true!../../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./BillGZKMakeInfo.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./BillGZKMakeInfo.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-3e30fbd0!../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./BillGZKMakeInfo.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/Bill/BillGZKMakeInfo.vue\n// module id = 897\n// module chunks = 43"],"sourceRoot":""}