apply-clients 3.4.59 → 3.4.60
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.
- package/build/dev-server.js +119 -119
- package/dist-android/static/18.js +2 -0
- package/dist-android/static/18.js.map +1 -0
- package/dist-android/static/19.js +2 -0
- package/dist-android/static/19.js.map +1 -0
- package/dist-android/static/24.js +2 -0
- package/dist-android/static/24.js.map +1 -0
- package/dist-android/static/25.js +2 -0
- package/dist-android/static/25.js.map +1 -0
- package/dist-android/static/26.js +2 -0
- package/dist-android/static/26.js.map +1 -0
- package/dist-android/static/28.js +2 -0
- package/dist-android/static/28.js.map +1 -0
- package/dist-android/static/30.js +2 -0
- package/dist-android/static/30.js.map +1 -0
- package/dist-android/static/34.js +2 -0
- package/dist-android/static/34.js.map +1 -0
- package/dist-android/static/43.js +2 -0
- package/dist-android/static/43.js.map +1 -0
- package/dist-android/static/46.js +2 -0
- package/dist-android/static/46.js.map +1 -0
- package/dist-android/static/47.js +2 -0
- package/dist-android/static/47.js.map +1 -0
- package/dist-android/static/50.js +2 -0
- package/dist-android/static/50.js.map +1 -0
- package/dist-android/static/51.js +2 -0
- package/dist-android/static/51.js.map +1 -0
- package/dist-android/static/52.js +2 -0
- package/dist-android/static/52.js.map +1 -0
- package/dist-android/static/53.js +2 -0
- package/dist-android/static/53.js.map +1 -0
- package/dist-android/static/54.js +2 -0
- package/dist-android/static/54.js.map +1 -0
- package/dist-android/static/60.js +2 -0
- package/dist-android/static/60.js.map +1 -0
- package/dist-android/static/63.js +2 -0
- package/dist-android/static/63.js.map +1 -0
- package/dist-android/static/64.js +2 -0
- package/dist-android/static/64.js.map +1 -0
- package/dist-android/static/app.js +80 -0
- package/dist-android/static/app.js.map +1 -0
- package/package.json +1 -1
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
- package/.vscode/launch.json +0 -15
- package/yarn-error.log +0 -9976
|
@@ -0,0 +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,G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B,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>×</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":""}
|
|
@@ -0,0 +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/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&&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
|
|
@@ -0,0 +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,G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AF,EAAAC,QAAA8E,MACA/E,EAAAC,QAAAI,aAAAL,EAAAC,QAAAD,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&&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&&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":""}
|
|
@@ -0,0 +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/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
|
|
@@ -0,0 +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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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/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":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
webpackJsonp([46],{238:function(n,o,e){"use strict";function s(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(o,"__esModule",{value:!0});var t=(e(3),e(8));s(t);o.default={title:"查询用户",data:function(){return{model:[],show:!1,row:Object}},props:{user:{type:Object},f_userinfo_id:""},methods:{getmodel:function(){var n=this,o=void 0;this.f_userinfo_id?o=this.f_userinfo_id:(o=this.user.f_userinfo_id,console.log(this.user.f_userinfo_id)),console.log(o),this.$resetpost(this.$androidUtil.getProxyUrl()+"/rs/sql/tel_singleTable_OrderBy",{data:{items:"*",tablename:"t_sellinggas",orderitem:"f_delivery_date desc",condition:"f_userinfo_id = '"+o+"'"}}).then(function(o){n.model=o.data})},back:function(){}},watch:{user:function(n){this.user&&(this.user.isNuN||(this.model=[],this.getmodel()))},f_userinfo_id:function(){this.f_userinfo_id&&(this.model=[],this.getmodel())}},ready:function(){this.user&&this.user.f_userinfo_id&&this.getmodel(),this.f_userinfo_id&&this.getmodel()}}},485:function(n,o,e){o=n.exports=e(4)(),o.push([n.id,".app-botton{position:fixed;background:#87b2dd;color:#fff;padding:8px;text-align:center;font-size:1.2em;z-index:10;opacity:.5;bottom:50px;margin-top:-10px;height:40px}","",{version:3,sources:["/./node_modules/system-phone/src/components/PhoneSellInfo.vue"],names:[],mappings:"AAyGA,YACE,eAAe,AACf,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,gBAAiB,AACjB,WAAY,AACZ,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,WAAa,CACd",file:"PhoneSellInfo.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.app-botton {\n position:fixed;\n background: #87b2dd;\n color: #FFF;\n padding: 8px;\n text-align: center;\n font-size: 1.2em;\n z-index: 10;\n opacity:0.5;\n bottom: 50px;\n margin-top: -10px;\n height: 40px;\n}\n"],sourceRoot:"webpack://"}])},532:function(n,o,e){var s=e(485);"string"==typeof s&&(s=[[n.id,s,""]]);e(5)(s,{});s.locals&&(n.exports=s.locals)},654:function(n,o){n.exports=' <div class="panel panel-default auto repair-info-content"> <div class=panel-body> <div class="panel panel-default well" v-for="row in model"> <div class=bg-info> <div class="row form-group"> <div class="col-xs-12 col-sm-12 col-md-12"> <div class=row> <div class="col-xs-6 col-sm-6 col-md-6"> 购气量: {{row.f_pregas}} </div> <div class="col-xs-6 col-sm-6 col-md-6"> 购气金额: {{row.f_preamount}} </div> <div class="col-xs-6 col-sm-6 col-md-6"> 收费状态: {{row.f_charge_state}} </div> <div class="col-xs-6 col-sm-6 col-md-6"> 缴费方式: {{row.f_payment}} </div> <div class="col-xs-6 col-sm-6 col-md-6"> 营业网点: {{row.f_outlets}} </div> <div class="col-xs-6 col-sm-6 col-md-6"> 操作员: {{row.f_operator}} </div> <div class="col-xs-12 col-sm-12 col-md-12"> 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}} </div> </div> </div> </div> </div> </div> <p v-show="model.length == 0 ">此用户暂无购气记录</p> </div> </div> '},817:function(n,o,e){var s,t,i={};e(532),s=e(238),t=e(654),n.exports=s||{},n.exports.__esModule&&(n.exports=n.exports.default);var d="function"==typeof n.exports?n.exports.options||(n.exports.options={}):n.exports;t&&(d.template=t),d.computed||(d.computed={}),Object.keys(i).forEach(function(n){var o=i[n];d.computed[n]=function(){return o}})}});
|
|
2
|
+
//# sourceMappingURL=46.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///46.js","webpack:///PhoneSellInfo.vue","webpack:///./~/system-phone/src/components/PhoneSellInfo.vue?25a7","webpack:///./~/system-phone/src/components/PhoneSellInfo.vue?5543","webpack:///./~/system-phone/src/components/PhoneSellInfo.vue?eeb9","webpack:///./~/system-phone/src/components/PhoneSellInfo.vue"],"names":["webpackJsonp","238","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_co","title","data","model","show","row","props","user","type","f_userinfo_id","methods","getmodel","_this","this","userinfoid","console","log","$resetpost","$androidUtil","getProxyUrl","items","tablename","orderitem","condition","then","back","watch","val","isNuN","ready","485","push","id","version","sources","names","mappings","file","sourcesContent","sourceRoot","532","content","locals","654","817","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys","forEach","key"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAYA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAVvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IC+BDC,ID/BkBR,EAAoB,GC+BtCA,EAAA,GD3BYC,GAAuBO,EAIlCT,GAAQK,SCyBTK,MAAA,OACAC,KAFA,WAGA,OACAC,SACAC,MAAA,EACAC,IAAAR,SAGAS,OACAC,MACAC,KAAAX,QAEAY,cAAA,IAEAC,SACAC,SADA,WACA,GAAAC,GAAAC,KACAC,EAAA,MACAD,MAAAJ,cACAK,EAAAD,KAAAJ,eAEAK,EAAAD,KAAAN,KAAAE,cACAM,QAAAC,IAAAH,KAAAN,KAAAE,gBAEAM,QAAAC,IAAAF,GACAD,KAAAI,WAAAJ,KAAAK,aAAAC,cAAA,mCAAAjB,MAAAkB,MAAA,IAAAC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AAAO,EACAN,GAAAG,SAAAG,GAAA,WAA6C,MAAAhE","file":"46.js","sourcesContent":["webpackJsonp([46],{\n\n/***/ 238:\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 _vueClient = __webpack_require__(3);\n\t\n\tvar _co = __webpack_require__(8);\n\t\n\tvar _co2 = _interopRequireDefault(_co);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t title: '查询用户',\n\t data: function data() {\n\t return {\n\t model: [],\n\t show: false,\n\t row: Object\n\t };\n\t },\n\t\n\t props: {\n\t user: {\n\t type: Object\n\t },\n\t f_userinfo_id: ''\n\t },\n\t methods: {\n\t getmodel: function getmodel() {\n\t var _this = this;\n\t\n\t var userinfoid = void 0;\n\t if (this.f_userinfo_id) {\n\t userinfoid = this.f_userinfo_id;\n\t } else {\n\t userinfoid = this.user.f_userinfo_id;\n\t console.log(this.user.f_userinfo_id);\n\t }\n\t console.log(userinfoid);\n\t this.$resetpost(this.$androidUtil.getProxyUrl() + '/rs/sql/tel_singleTable_OrderBy', { data: { items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition: 'f_userinfo_id = \\'' + userinfoid + '\\'' } }).then(function (row) {\n\t _this.model = row.data;\n\t });\n\t },\n\t back: function back() {}\n\t },\n\t watch: {\n\t 'user': function user(val) {\n\t if (this.user) {\n\t if (!this.user.isNuN) {\n\t this.model = [];\n\t this.getmodel();\n\t }\n\t }\n\t },\n\t 'f_userinfo_id': function f_userinfo_id() {\n\t if (this.f_userinfo_id) {\n\t this.model = [];\n\t this.getmodel();\n\t }\n\t }\n\t },\n\t ready: function ready() {\n\t if (this.user && this.user.f_userinfo_id) {\n\t this.getmodel();\n\t }\n\t if (this.f_userinfo_id) {\n\t this.getmodel();\n\t }\n\t }\n\t};\n\n/***/ }),\n\n/***/ 485:\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, \".app-botton{position:fixed;background:#87b2dd;color:#fff;padding:8px;text-align:center;font-size:1.2em;z-index:10;opacity:.5;bottom:50px;margin-top:-10px;height:40px}\", \"\", {\"version\":3,\"sources\":[\"/./node_modules/system-phone/src/components/PhoneSellInfo.vue\"],\"names\":[],\"mappings\":\"AAyGA,YACE,eAAe,AACf,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,gBAAiB,AACjB,WAAY,AACZ,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,WAAa,CACd\",\"file\":\"PhoneSellInfo.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.app-botton {\\n position:fixed;\\n background: #87b2dd;\\n color: #FFF;\\n padding: 8px;\\n text-align: center;\\n font-size: 1.2em;\\n z-index: 10;\\n opacity:0.5;\\n bottom: 50px;\\n margin-top: -10px;\\n height: 40px;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ }),\n\n/***/ 532:\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__(485);\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(\"!!../../../css-loader/index.js?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!../../../css-loader/index.js?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.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/***/ 654:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div class=\\\"panel panel-default auto repair-info-content\\\"> <div class=panel-body> <div class=\\\"panel panel-default well\\\" v-for=\\\"row in model\\\"> <div class=bg-info> <div class=\\\"row form-group\\\"> <div class=\\\"col-xs-12 col-sm-12 col-md-12\\\"> <div class=row> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 购气量: {{row.f_pregas}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 购气金额: {{row.f_preamount}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 收费状态: {{row.f_charge_state}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 缴费方式: {{row.f_payment}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 营业网点: {{row.f_outlets}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 操作员: {{row.f_operator}} </div> <div class=\\\"col-xs-12 col-sm-12 col-md-12\\\"> 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}} </div> </div> </div> </div> </div> </div> <p v-show=\\\"model.length == 0 \\\">此用户暂无购气记录</p> </div> </div> \";\n\n/***/ }),\n\n/***/ 817:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(532)\n\t__vue_script__ = __webpack_require__(238)\n\t__vue_template__ = __webpack_require__(654)\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// 46.js","<template >\n <div class=\"panel panel-default auto repair-info-content\">\n <div class=\"panel-body\">\n <div class=\"panel panel-default well\" v-for=\"row in model\">\n <div class=\"bg-info\">\n <div class=\"row form-group\">\n <div class=\"col-xs-12 col-sm-12 col-md-12\">\n <div class=\"row\">\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 购气量: {{row.f_pregas}}\n </div>\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 购气金额: {{row.f_preamount}}\n </div>\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 收费状态: {{row.f_charge_state}}\n </div>\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 缴费方式: {{row.f_payment}}\n </div>\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 营业网点: {{row.f_outlets}}\n </div>\n <div class=\"col-xs-6 col-sm-6 col-md-6\">\n 操作员: {{row.f_operator}}\n </div>\n <div class=\"col-xs-12 col-sm-12 col-md-12\">\n 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}\n </div>\n\n </div>\n </div>\n </div>\n </div>\n </div>\n <p v-show=\"model.length == 0 \">此用户暂无购气记录</p>\n </div>\n </div>\n</template>\n\n<script>\n import { PagedList } from 'vue-client'\n import co from 'co'\n export default {\n title: '查询用户',\n data () {\n return {\n model: [],\n show: false,\n row: Object\n }\n },\n props: {\n user: {\n type: Object\n },\n f_userinfo_id:''\n },\n methods: {\n getmodel () {\n let userinfoid\n if(this.f_userinfo_id){\n userinfoid = this.f_userinfo_id\n }else{\n userinfoid = this.user.f_userinfo_id\n console.log(this.user.f_userinfo_id)\n }\n console.log(userinfoid)\n this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {\n this.model = row.data\n })\n },\n back(){\n\n }\n },\n watch: {\n 'user' (val) {\n // this.model.search(`card_id = ${this.user.card_id}`)\n if(this.user){\n if (!(this.user.isNuN)) {\n this.model= []\n this.getmodel()\n }\n }\n },\n 'f_userinfo_id'(){\n if(this.f_userinfo_id){\n this.model= []\n this.getmodel()\n }\n }\n },\n ready () {\n if (this.user && this.user.f_userinfo_id) {\n // this.model.search(`card_id = ${this.user.card_id}`)\n this.getmodel()\n }\n if(this.f_userinfo_id){\n this.getmodel()\n }\n }\n }\n</script>\n<style>\n .app-botton {\n position:fixed;\n background: #87b2dd;\n color: #FFF;\n padding: 8px;\n text-align: center;\n font-size: 1.2em;\n z-index: 10;\n opacity:0.5;\n bottom: 50px;\n margin-top: -10px;\n height: 40px;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// PhoneSellInfo.vue?221c04e9","exports = module.exports = require(\"../../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".app-botton{position:fixed;background:#87b2dd;color:#fff;padding:8px;text-align:center;font-size:1.2em;z-index:10;opacity:.5;bottom:50px;margin-top:-10px;height:40px}\", \"\", {\"version\":3,\"sources\":[\"/./node_modules/system-phone/src/components/PhoneSellInfo.vue\"],\"names\":[],\"mappings\":\"AAyGA,YACE,eAAe,AACf,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,gBAAiB,AACjB,WAAY,AACZ,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,WAAa,CACd\",\"file\":\"PhoneSellInfo.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.app-botton {\\n position:fixed;\\n background: #87b2dd;\\n color: #FFF;\\n padding: 8px;\\n text-align: center;\\n font-size: 1.2em;\\n z-index: 10;\\n opacity:0.5;\\n bottom: 50px;\\n margin-top: -10px;\\n height: 40px;\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-rewriter.js!./~/vue-loader/lib/selector.js?type=style&index=0!./~/system-phone/src/components/PhoneSellInfo.vue\n// module id = 485\n// module chunks = 46","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../css-loader/index.js?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!../../../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(\"!!../../../css-loader/index.js?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.vue\", function() {\n\t\t\tvar newContent = require(\"!!../../../css-loader/index.js?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.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!./~/vue-loader/lib/selector.js?type=style&index=0!./~/system-phone/src/components/PhoneSellInfo.vue\n// module id = 532\n// module chunks = 46","module.exports = \" <div class=\\\"panel panel-default auto repair-info-content\\\"> <div class=panel-body> <div class=\\\"panel panel-default well\\\" v-for=\\\"row in model\\\"> <div class=bg-info> <div class=\\\"row form-group\\\"> <div class=\\\"col-xs-12 col-sm-12 col-md-12\\\"> <div class=row> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 购气量: {{row.f_pregas}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 购气金额: {{row.f_preamount}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 收费状态: {{row.f_charge_state}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 缴费方式: {{row.f_payment}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 营业网点: {{row.f_outlets}} </div> <div class=\\\"col-xs-6 col-sm-6 col-md-6\\\"> 操作员: {{row.f_operator}} </div> <div class=\\\"col-xs-12 col-sm-12 col-md-12\\\"> 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}} </div> </div> </div> </div> </div> </div> <p v-show=\\\"model.length == 0 \\\">此用户暂无购气记录</p> </div> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/selector.js?type=template&index=0!./~/system-phone/src/components/PhoneSellInfo.vue\n// module id = 654\n// module chunks = 46","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../../../extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../vue-loader/lib/style-rewriter.js!../../../vue-loader/lib/selector.js?type=style&index=0!./PhoneSellInfo.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../vue-loader/lib/selector.js?type=script&index=0!./PhoneSellInfo.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../vue-loader/lib/selector.js?type=template&index=0!./PhoneSellInfo.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// ./~/system-phone/src/components/PhoneSellInfo.vue\n// module id = 817\n// module chunks = 46"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
webpackJsonp([47],{75:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(81),s=a(i),n=r(38),o=a(n),l={params:{},singleValues:{},gasstyles:{},gasbrands:[],price:[],adjustables:[],getParam:function(e){return this.params[e]},getSingleValue:function(e){return this.singleValues[e]},getGasstyle:function(e){return this.gasbrands.key},getGasbrand:function(){return this.gasbrands},getAdjustable:function(e){var t=[];e?this.adjustables.forEach(function(r,a){r.value.f_filiale===e&&t.push(r)}):this.adjustables.forEach(function(e,r){t.push(e)});var r={},a=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]);return(0,o.default)(new s.default(a))},getOnlyPrice:function(){var e=[];this.price.forEach(function(t,r){if("有效"===t.f_state){var a={label:t.f_price_name,value:t};e.push(a)}});var t={},r=e.reduce(function(e,r){return t[r.label]?"":t[r.label]=e.push(r),e},[]);return(0,o.default)(new s.default(r))},getPrice:function(e){if(e.f_user_type&&e.f_gasproperties&&e.f_price_type){var t=[];e.filter?this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type&&e.filter===r.f_filiale){var a={label:r.f_price_name,value:r};t.push(a)}}):this.price.forEach(function(r){if("有效"===r.f_state&&e.f_user_type===r.f_user_type&&e.f_gasproperties===r.f_gasproperties&&e.f_price_type===r.f_price_type){var a={label:r.f_price_name,value:r};t.push(a)}});var r={};return t=t.reduce(function(e,t){return r[t.label]?"":r[t.label]=e.push(t),e},[]),(0,o.default)(new s.default(t))}}};t.default=l},391:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(6),s=a(i),n=r(11),o=a(n),l=r(2),p=a(l),d=r(3),c=r(8),u=a(c),f=r(75),h=(a(f),p.default.mark(function e(t,r){var a;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$showMessage("撤销后数据不可恢复,确认撤销录入吗?",["confirm","cancel"]);case 2:if(a=e.sent,"cancel"!==a){e.next=5;break}return e.abrupt("return");case 5:t.search();case 6:case"end":return e.stop()}},e,this)}));t.default={title:"操作汇总",data:function(){return{operationtypes:this.$appdata.getParam("报建业务类型"),model:new d.PagedList(""+this.sqlurl,9999,{condition:"\"f_operator= '"+this.$login.f.name+"'\"",items:'"'+this.items+'"',tablename:'"'+this.tablename+'"',orderitem:'"'+this.orderitem+'"'}),show:!1,asideTitle:"用户操作",row:Object,comp:null}},props:{sqlurl:{type:String,default:"rs/sql/getinstallrecord"},items:{type:String,default:"*"},tablename:{type:String,default:"t_stopapply"},orderitem:{type:String,default:"f_date desc"},btns:{type:Array},operationtype:{type:String,default:""},userinfoid:{},isOperate:{type:Boolean,default:!0}},ready:function(){this.$refs.paged.$refs.cri.model.f_operat_type=[this.operationtype],this.search();for(var e=0;e<this.model.length;e++)this.model[e].f_operate_date=this.model[e].f_operate_date.substring(16)},methods:{dateDes:function(e){return this.$login.dateDescripte(e)},selected:function(e){this.row===e?this.row=null:this.row=e},isSelected:function(e){return this.row===e},search:function(){var e=this,t="1=1";this.$login.f.parent.parent.name.includes("统一资源管理")||(t+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.$refs.pv.load(this.sqlurl,{data:{condition:t}}).then(function(t){return 0===t.data.length?(e.model.rows=[],e.model.state="错误",void(e.model.error="没有符合条件的记录")):(e.model.state="正确",void(e.model.rows=t.data))})},disEvent:function(e){this.$dispatch(""+e.eventName)},operate:function(e,t){var r=this;"票据补打"!==e||"机表收费"!==t.type&&"卡表收费"!==t.type&&"超用收费"!==t.type&&"发卡售气"!==t.type?"票据补打"===e&&"其他收费"===t.type?this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_othercharge",condition:"id = "+t.id}}).then(function(e){"国税发票"===e.data[0].f_charge_type?(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-other-bill",t)):(t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-tax-other-bill",t))}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"票据补打"===e&&"换表"===t.type?this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_changemeter",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-change-meter-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e}):"撤销"===e&&this.$dispatch("list-select-oper","撤销","apply-record-cancel",t):this.$resetpost("rs/sql/singleTable_OrderBy",{data:{orderitem:"id",items:"*",tablename:"t_sellinggas",condition:"id = "+t.id}}).then(function(e){t=(0,o.default)({},t,e.data[0]),r.$dispatch("list-select-oper",t.type+"票据补打","reissue-bill",t)}).catch(function(e){if(e.status)return void r.$warn("加载数据出错, "+(0,s.default)(e));throw e})},operateCancel:function(e){var t=h(this,e);(0,u.default)(t)},selfSearch:function(e){this.$login.f.parent.parent.name.includes("统一资源管理")||(e.condition+="and f_filiale = '"+this.$login.f.f_fengongsi+"'"),this.model.search(e.condition,e.model)}},watch:{}}},761:function(e,t){e.exports=' <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class="flex-row select-overspread" partial style="white-space: nowarp"> <div class=form-group> <input type=text class="form-control width-100" v-model=model.f_userinfo_id placeholder=报建编号 condition="f_userinfo_id = \'{}\'"> </div> <div class=form-group style="flex: 1"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition="f_operat_type = \'{}\'" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class="btn btn-success width-100" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for="row in model.rows" :is-open=true :is-click=false v-show="row.type===\'终止报建\'"> <span class="panel-title row" slot=header style="cursor: pointer"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if="row.type === \'终止报建\'"> <button type=button data-toggle=dropdown style="border: 0px;background: none"> <span class="glyphicon glyphicon-th-list"></span> </button> <ul slot=dropdown-menu class="dropdown-menu dropdown-menu-right" style="min-width: 60px"> <li v-if="row.type === \'终止报建\'"> <a href=# @click.stop="$parent.$parent.$parent.operate(\'撤销\', row)">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if="row.type === \'终止报建\'" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style="margin-top: 8px;background: #FFF"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> '},942:function(e,t,r){var a,i,s={};a=r(391),i=r(761),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default);var n="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;i&&(n.template=i),n.computed||(n.computed={}),Object.keys(s).forEach(function(e){var t=s[e];n.computed[e]=function(){return t}})}});
|
|
2
|
+
//# sourceMappingURL=47.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///47.js","webpack:///./src/stores/AppData.js?88bb","webpack:///InstallCardList2.vue","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue?d249","webpack:///./src/components/product/VueUtils/rightview/InstallCardList2.vue"],"names":["webpackJsonp","75","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_set","_set2","_from","_from2","DataStore","params","singleValues","gasstyles","gasbrands","price","adjustables","getParam","key","this","getSingleValue","getGasstyle","getGasbrand","getAdjustable","val","arr","forEach","item","next","f_filiale","push","hash","result","reduce","label","getOnlyPrice","f_state","f_price_name","getPrice","object","f_user_type","f_gasproperties","f_price_type","filter","391","_stringify","_stringify2","_assign","_assign2","_regenerator","_regenerator2","_vueClient","_co","_co2","_AppData","cancelGen","mark","self","data","msgRet","wrap","_context","prev","$showMessage","sent","abrupt","search","stop","title","operationtypes","$appdata","model","PagedList","sqlurl","condition","$login","f","name","items","tablename","orderitem","show","asideTitle","row","comp","props","type","String","btns","Array","operationtype","userinfoid","isOperate","Boolean","ready","$refs","paged","cri","f_operat_type","i","length","f_operate_date","substring","methods","dateDes","date","dateDescripte","selected","isSelected","_this","parent","includes","f_fengongsi","pv","load","then","a","rows","state","error","disEvent","btn","$dispatch","eventName","operate","_this2","$resetpost","id","res","f_charge_type","catch","status","$warn","operateCancel","cancel","selfSearch","args","watch","761","942","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","options","template","computed","keys"],"mappings":"AAAAA,cAAc,KAERC,GACA,SAAUC,EAAQC,EAASC,GAEhC,YAcA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAZvFG,OAAOC,eAAeP,EAAS,cAC7BQ,OAAO,GAGT,IAAIC,GAAOR,EAAoB,IAE3BS,EAAQR,EAAuBO,GAE/BE,EAAQV,EAAoB,IAE5BW,EAASV,EAAuBS,GCjBjCE,GACFC,UACAC,gBACAC,aACAC,aACAC,SACAC,eAEAC,SARc,SAQJC,GACR,MAAOC,MAAKR,OAAOO,IAErBE,eAXc,SAWEF,GACd,MAAOC,MAAKP,aAAaM,IAE3BG,YAdc,SAcDH,GACX,MAAOC,MAAKL,UAAUI,KAExBI,YAjBc,WAkBZ,MAAOH,MAAKL,WAEdS,cApBc,SAoBCC,GAEb,GAAIC,KACAD,GACFL,KAAKH,YAAYU,QAAQ,SAACC,EAAMC,GAC1BD,EAAKtB,MAAMwB,YAAcL,GAC3BC,EAAIK,KAAKH,KAIbR,KAAKH,YAAYU,QAAQ,SAACC,EAAMC,GAC9BH,EAA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A7C,GAAA,EAAAnC,EAAA9C,YAAAiF,EAAA6C,EAAAtE,KAAA,IACAmE,EAAAH,UAAA,mBAAAvC,EAAAG,KAAA,sBAAAH,KACA+C,MAAA,SAAAX,GACA,GAAAA,EAAAY,OAEA,WADAN,GAAAO,MAAA,cAAAtF,EAAA5C,SAAAqH,GAGA,MAAAA,MAqCAc,cAlFA,SAkFAlD,GACA,GAAAmD,GAAA/E,EAAApC,KAAAgE,IACA,EAAA9B,EAAAnD,SAAAoI,IAEAC,WAtFA,SAsFAC,GACArH,KAAAwD,OAAAC,EAAAkC,cAAAjC,KAAAkC,SAAA,YACAyB,EAAA9D,WAAA,oBAAAvD,KAAAwD,OAAAC,EAAAoC,YAAA,KAGA7F,KAAAoD,MAAAL,OAAAsE,EAAA9D,UAAA8D,EAAAjE,SASAkE,WF+FMC,IACA,SAAU9I,EAAQC,GGhVxBD,EAAAC,QAAA,+mEHsVM8I,IACA,SAAU/I,EAAQC,EAASC,GIvVjC,GAAA8I,GAAAC,EACAC,IACAF,GAAA9I,EAAA,KACA+I,EAAA/I,EAAA,KACAF,EAAAC,QAAA+I,MACAhJ,EAAAC,QAAAI,aAAAL,EAAAC,QAAAD,EAAAC,QAAAK,QACA,IAAA6I,GAAA,kBAAAnJ,GAAAC,QAAAD,EAAAC,QAAAmJ,UAAApJ,EAAAC,QAAAmJ,YAAoHpJ,EAAAC,OACpHgJ,KACAE,EAAAE,SAAAJ,GAEAE,EAAAG,WAAAH,EAAAG,aACA/I,OAAAgJ,KAAAL,GAAApH,QAAA,SAAAR,GACA,GAAAtB,GAAAkJ,EAAA5H,EACA6H,GAAAG,SAAAhI,GAAA,WAA6C,MAAAtB","file":"47.js","sourcesContent":["webpackJsonp([47],{\n\n/***/ 75:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _set = __webpack_require__(81);\n\t\n\tvar _set2 = _interopRequireDefault(_set);\n\t\n\tvar _from = __webpack_require__(38);\n\t\n\tvar _from2 = _interopRequireDefault(_from);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DataStore = {\n\t params: {},\n\t singleValues: {},\n\t gasstyles: {},\n\t gasbrands: [],\n\t price: [],\n\t adjustables: [],\n\t\n\t getParam: function getParam(key) {\n\t return this.params[key];\n\t },\n\t getSingleValue: function getSingleValue(key) {\n\t return this.singleValues[key];\n\t },\n\t getGasstyle: function getGasstyle(key) {\n\t return this.gasbrands.key;\n\t },\n\t getGasbrand: function getGasbrand() {\n\t return this.gasbrands;\n\t },\n\t getAdjustable: function getAdjustable(val) {\n\t var arr = [];\n\t if (val) {\n\t this.adjustables.forEach(function (item, next) {\n\t if (item.value.f_filiale === val) {\n\t arr.push(item);\n\t }\n\t });\n\t } else {\n\t this.adjustables.forEach(function (item, next) {\n\t arr.push(item);\n\t });\n\t }\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getOnlyPrice: function getOnlyPrice() {\n\t var arr = [];\n\t this.price.forEach(function (item, next) {\n\t if (item.f_state === '有效') {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t arr.push(value);\n\t }\n\t });\n\t var hash = {};\n\t var result = arr.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t },\n\t getPrice: function getPrice(object) {\n\t if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\n\t return;\n\t }\n\t var result = [];\n\t\n\t if (object.filter) {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && object.filter === item.f_filiale) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t } else {\n\t this.price.forEach(function (item) {\n\t if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\n\t var value = {\n\t label: item.f_price_name,\n\t value: item\n\t };\n\t result.push(value);\n\t }\n\t });\n\t }\n\t\n\t var hash = {};\n\t result = result.reduce(function (item, next) {\n\t hash[next.label] ? '' : hash[next.label] = true && item.push(next);\n\t return item;\n\t }, []);\n\t return (0, _from2.default)(new _set2.default(result));\n\t }\n\t};\n\t\n\texports.default = DataStore;\n\n/***/ }),\n\n/***/ 391:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stringify = __webpack_require__(6);\n\t\n\tvar _stringify2 = _interopRequireDefault(_stringify);\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar _assign2 = _interopRequireDefault(_assign);\n\t\n\tvar _regenerator = __webpack_require__(2);\n\t\n\tvar _regenerator2 = _interopRequireDefault(_regenerator);\n\t\n\tvar _vueClient = __webpack_require__(3);\n\t\n\tvar _co = __webpack_require__(8);\n\t\n\tvar _co2 = _interopRequireDefault(_co);\n\t\n\tvar _AppData = __webpack_require__(75);\n\t\n\tvar _AppData2 = _interopRequireDefault(_AppData);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar cancelGen = _regenerator2.default.mark(function cancelGen(self, data) {\n\t var msgRet;\n\t return _regenerator2.default.wrap(function cancelGen$(_context) {\n\t while (1) {\n\t switch (_context.prev = _context.next) {\n\t case 0:\n\t _context.next = 2;\n\t return self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel']);\n\t\n\t case 2:\n\t msgRet = _context.sent;\n\t\n\t if (!(msgRet === 'cancel')) {\n\t _context.next = 5;\n\t break;\n\t }\n\t\n\t return _context.abrupt('return');\n\t\n\t case 5:\n\t self.search();\n\t\n\t case 6:\n\t case 'end':\n\t return _context.stop();\n\t }\n\t }\n\t }, cancelGen, this);\n\t});\n\t\n\texports.default = {\n\t title: '操作汇总',\n\t data: function data() {\n\t return {\n\t operationtypes: this.$appdata.getParam('报建业务类型'),\n\t model: new _vueClient.PagedList('' + this.sqlurl, 9999, { condition: '\"' + 'f_operator= \\'' + this.$login.f.name + '\\'' + '\"', items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"' }),\n\t show: false,\n\t asideTitle: '用户操作',\n\t row: Object,\n\t comp: null\n\t };\n\t },\n\t\n\t props: {\n\t sqlurl: {\n\t type: String,\n\t default: 'rs/sql/getinstallrecord'\n\t },\n\t items: {\n\t type: String,\n\t default: '*'\n\t },\n\t tablename: {\n\t type: String,\n\t default: 't_stopapply'\n\t },\n\t orderitem: {\n\t type: String,\n\t default: 'f_date desc'\n\t },\n\t btns: {\n\t type: Array\n\t },\n\t operationtype: {\n\t type: String,\n\t default: ''\n\t },\n\t userinfoid: {},\n\t isOperate: {\n\t type: Boolean,\n\t default: true\n\t }\n\t },\n\t ready: function ready() {\n\t this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype];\n\t this.search();\n\t for (var i = 0; i < this.model.length; i++) {\n\t this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16);\n\t }\n\t },\n\t\n\t methods: {\n\t dateDes: function dateDes(date) {\n\t return this.$login.dateDescripte(date);\n\t },\n\t selected: function selected(row) {\n\t if (this.row === row) {\n\t this.row = null;\n\t } else {\n\t this.row = row;\n\t }\n\t },\n\t isSelected: function isSelected(row) {\n\t return this.row === row;\n\t },\n\t search: function search() {\n\t var _this = this;\n\t\n\t var condition = '1=1';\n\t\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t this.$refs.pv.load(this.sqlurl, { data: { condition: condition } }).then(function (a) {\n\t if (a.data.length === 0) {\n\t _this.model.rows = [];\n\t _this.model.state = '错误';\n\t _this.model.error = '没有符合条件的记录';\n\t return;\n\t }\n\t _this.model.state = '正确';\n\t _this.model.rows = a.data;\n\t });\n\t },\n\t disEvent: function disEvent(btn) {\n\t this.$dispatch('' + btn.eventName);\n\t },\n\t operate: function operate(title, row) {\n\t var _this2 = this;\n\t\n\t if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_sellinggas', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '其他收费') {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_othercharge', condition: 'id = ' + row.id } }).then(function (res) {\n\t if (res.data[0].f_charge_type === '国税发票') {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-other-bill', row);\n\t } else {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-tax-other-bill', row);\n\t }\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '票据补打' && row.type === '换表') {\n\t this.$resetpost('rs/sql/singleTable_OrderBy', { data: { orderitem: 'id', items: '*',\n\t tablename: 't_changemeter', condition: 'id = ' + row.id } }).then(function (res) {\n\t row = (0, _assign2.default)({}, row, res.data[0]);\n\t _this2.$dispatch('list-select-oper', row.type + '\\u7968\\u636E\\u8865\\u6253', 'reissue-change-meter-bill', row);\n\t }).catch(function (error) {\n\t if (error.status) {\n\t _this2.$warn('\\u52A0\\u8F7D\\u6570\\u636E\\u51FA\\u9519, ' + (0, _stringify2.default)(error));\n\t return;\n\t }\n\t throw error;\n\t });\n\t } else if (title === '撤销') {\n\t this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row);\n\t }\n\t },\n\t operateCancel: function operateCancel(row) {\n\t var cancel = cancelGen(this, row);\n\t (0, _co2.default)(cancel);\n\t },\n\t selfSearch: function selfSearch(args) {\n\t if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\n\t args.condition += 'and f_filiale = \\'' + this.$login.f.f_fengongsi + '\\'';\n\t }\n\t\n\t this.model.search(args.condition, args.model);\n\t }\n\t },\n\t watch: {}\n\t};\n\n/***/ }),\n\n/***/ 761:\n/***/ (function(module, exports) {\n\n\tmodule.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n/***/ }),\n\n/***/ 942:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__vue_script__ = __webpack_require__(391)\n\t__vue_template__ = __webpack_require__(761)\n\tmodule.exports = __vue_script__ || {}\n\tif (module.exports.__esModule) module.exports = module.exports.default\n\tvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\n\tif (__vue_template__) {\n\t__vue_options__.template = __vue_template__\n\t}\n\tif (!__vue_options__.computed) __vue_options__.computed = {}\n\tObject.keys(__vue_styles__).forEach(function (key) {\n\tvar module = __vue_styles__[key]\n\t__vue_options__.computed[key] = function () { return module }\n\t})\n\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// 47.js","let DataStore = {\r\n params: {},\r\n singleValues: {},\r\n gasstyles: {},\r\n gasbrands: [],\r\n price: [],\r\n adjustables: [],\r\n\r\n getParam (key) {\r\n return this.params[key]\r\n },\r\n getSingleValue (key) {\r\n return this.singleValues[key]\r\n },\r\n getGasstyle (key) {\r\n return this.gasbrands.key\r\n },\r\n getGasbrand () {\r\n return this.gasbrands\r\n },\r\n getAdjustable (val) {\r\n // 数组去重\r\n let arr = []\r\n if (val) {\r\n this.adjustables.forEach((item, next) => {\r\n if (item.value.f_filiale === val) {\r\n arr.push(item)\r\n }\r\n })\r\n } else {\r\n this.adjustables.forEach((item, next) => {\r\n arr.push(item)\r\n })\r\n }\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getOnlyPrice () {\r\n // 数组去重\r\n let arr = []\r\n this.price.forEach((item, next) => {\r\n if (item.f_state === '有效') {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n arr.push(value)\r\n }\r\n })\r\n let hash = {}\r\n let result = arr.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n },\r\n getPrice (object) {\r\n // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type\r\n if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {\r\n return\r\n }\r\n let result = []\r\n // 做筛选\r\n if (object.filter) {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&\r\n object.f_gasproperties === item.f_gasproperties &&\r\n object.f_price_type === item.f_price_type &&\r\n object.filter === item.f_filiale) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n } else {\r\n this.price.forEach((item) => {\r\n if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {\r\n let value = {\r\n label: item.f_price_name,\r\n value: item\r\n }\r\n result.push(value)\r\n }\r\n })\r\n }\r\n // 数组去重\r\n let hash = {}\r\n result = result.reduce((item, next) => {\r\n hash[next.label] ? '' : hash[next.label] = true && item.push(next)\r\n return item\r\n }, [])\r\n return Array.from(new Set(result))\r\n }\r\n}\r\n\r\nexport default DataStore\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/stores/AppData.js","<template>\r\n <div>\r\n <partial-view v-ref:pv>\r\n <criteria-paged :model=\"model\" v-ref:paged :pager=\"false\">\r\n <criteria partial='criteria' @condition-changed='$parent.$parent.selfSearch' v-ref:cri>\r\n <div novalidate class=\"flex-row select-overspread\" partial style=\"white-space: nowarp;\">\r\n <div class=\"form-group\">\r\n <!-- <label>用户编号:</label> -->\r\n <input type=\"text\" class=\"form-control width-100\" v-model=\"model.f_userinfo_id\" placeholder='报建编号' condition=\"f_userinfo_id = '{}'\">\r\n </div>\r\n <div class=\"form-group\" style=\"flex: 1;\">\r\n <!-- <label>操作类型:</label> -->\r\n <v-select id=\"f_paytype\"\r\n v-model=\"model.f_operat_type\"\r\n placeholder='操作类型'\r\n :value.sync=\"model.f_operat_type\"\r\n :options='$parent.$parent.$parent.operationtypes'\r\n condition=\"f_operat_type = '{}'\"\r\n close-on-select ></v-select>\r\n <partial name=\"cardcriteria\"></partial>\r\n </div>\r\n <!-- <div class=\"form-group\">\r\n <partial name=\"cardcriteria\"></partial>\r\n </div> -->\r\n <div class=\"form-group\">\r\n <button class=\"btn btn-success width-100\" @click=\"search()\" id=base-rightVie-cardLis-查询>查询</button>\r\n </div>\r\n\r\n </div>\r\n </criteria>\r\n <accordion :one-at-atime=\"true\" type=\"info\" partial=\"list\">\r\n <panel type=\"info\" v-for=\"row in model.rows\" :is-open=\"true\" :is-click=\"false\" v-show=\"row.type==='终止报建'\">\r\n <span class=\"panel-title row\" slot=\"header\" style=\"cursor: pointer;\">\r\n <div class=\"col-sm-11\">\r\n <div class=\"row\">\r\n <strong class=\"col-sm-4\">{{row.f_userinfo_id}}</strong>\r\n <span class=\"col-sm-4\">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>\r\n <span class=\"col-sm-4\">{{row.type}}</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-1\" v-if=\"$parent.$parent.$parent.isOperate\">\r\n <!--<dropdown class=\"auto\" v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表' || row.type === '报建收费' || row.type === '报建费用变更' || row.type === '报建费用减免' || row.state === 1\">-->\r\n <dropdown class=\"auto\" v-if=\"row.type === '终止报建'\">\r\n <button type=\"button\" data-toggle=\"dropdown\" style=\"border: 0px;background: none;\">\r\n <span class=\"glyphicon glyphicon-th-list\"></span>\r\n </button>\r\n <ul slot=\"dropdown-menu\" class=\"dropdown-menu dropdown-menu-right\" style=\" min-width: 60px;\">\r\n <!--<li v-if=\"row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表'\">-->\r\n <!--<a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('票据补打', row)\">票据补打</a>-->\r\n <!--</li>-->\r\n <!-- <li v-if=\"row.state === 1 && row.type !== '档案变更' && row.type !== '新增户档案' && row.type !== '银行代扣' && row.type !== '发卡售气' && row.type !== '卡表收费'&& row.type !== '补气'\"> -->\r\n <li v-if=\"row.type === '终止报建'\">\r\n <a href=\"#\" @click.stop=\"$parent.$parent.$parent.operate('撤销', row)\">撤销</a>\r\n </li>\r\n </ul>\r\n </dropdown>\r\n </div>\r\n\r\n <!--</span>-->\r\n <div class=\"panel-body\" v-if=\"$parent.$parent.$parent.isSelected(row)\">\r\n <!--<build-apply-detail v-if=\"row.type === '报建收费'\" :data=\"row\"></build-apply-detail>-->\r\n <!--<change-apply-detail v-if=\"row.type === '报建费用变更'\" :data=\"row\"></change-apply-detail>-->\r\n <!--<reduce-apply-detail v-if=\"row.type === '报建费用减免'\" :data=\"row\"></reduce-apply-detail>-->\r\n <stopapply-apply-detail v-if=\"row.type === '终止报建'\" :data=\"row\"></stopapply-apply-detail>\r\n </div>\r\n <div v-if=\"!$parent.$parent.$parent.isSelected(row)\" style=\"margin-top: 8px;background: #FFF;\">\r\n <p>{{row.f_describe}}</p>\r\n </div>\r\n </panel>\r\n </accordion>\r\n\r\n </criteria-paged>\r\n </partial-view>\r\n </div>\r\n </template>\r\n <script>\r\n /**\r\n *操作记录信息\r\n */\r\n import { PagedList } from 'vue-client'\r\n import co from 'co'\r\n import AppData from '../../../../stores/AppData'\r\n\r\n let cancelGen = function * (self, data) {\r\n let msgRet = yield self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel'])\r\n if (msgRet === 'cancel') return\r\n // 撤销操作完成,刷新界面\r\n self.search()\r\n }\r\n\r\n export default {\r\n title: '操作汇总',\r\n data () {\r\n return {\r\n operationtypes: this.$appdata.getParam('报建业务类型'),\r\n model: new PagedList(`${this.sqlurl}`, 9999,\r\n {condition:'\"' +'f_operator= \\''+this.$login.f.name+'\\''+ '\"',items: '\"' + this.items + '\"', tablename: '\"' + this.tablename + '\"', orderitem: '\"' + this.orderitem + '\"'}),\r\n show: false,\r\n asideTitle: '用户操作',\r\n row: Object,\r\n comp: null\r\n }\r\n },\r\n props: {\r\n sqlurl: {\r\n type: String,\r\n default: 'rs/sql/getinstallrecord'\r\n },\r\n items: {\r\n type: String,\r\n default: '*'\r\n },\r\n tablename: {\r\n type: String,\r\n default: 't_stopapply'\r\n },\r\n orderitem: {\r\n type: String,\r\n default: 'f_date desc'\r\n },\r\n btns: {\r\n type: Array\r\n },\r\n operationtype: {\r\n type: String,\r\n default: ''\r\n },\r\n userinfoid: {},\r\n isOperate: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n ready () {\r\n this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n this.search()\r\n for (var i = 0; i < this.model.length; i++) {\r\n this.model[i].f_operate_date = this.model[i].f_operate_date.substring(16)\r\n }\r\n },\r\n methods: {\r\n dateDes (date) {\r\n return this.$login.dateDescripte(date)\r\n },\r\n selected (row) {\r\n if (this.row === row) {\r\n this.row = null\r\n } else {\r\n this.row = row\r\n }\r\n },\r\n isSelected (row) {\r\n return this.row === row\r\n },\r\n search () {\r\n let condition = '1=1'\r\n // this.$refs.paged.$refs.cri.search()\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n if (a.data.length === 0) {\r\n this.model.rows = []\r\n this.model.state = '错误'\r\n this.model.error = '没有符合条件的记录'\r\n return\r\n }\r\n this.model.state = '正确'\r\n this.model.rows = a.data\r\n })\r\n },\r\n disEvent (btn) {\r\n this.$dispatch(`${btn.eventName}`)\r\n },\r\n operate (title, row) {\r\n if (title === '票据补打' && (row.type === '机表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气')) {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_sellinggas', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '其他收费') {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_othercharge', condition: 'id = ' + row.id}}).then((res) => {\r\n if (res.data[0].f_charge_type === '国税发票') {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-other-bill', row)\r\n } else {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-tax-other-bill', row)\r\n }\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '票据补打' && row.type === '换表') {\r\n this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'id', items: '*',\r\n tablename: 't_changemeter', condition: 'id = ' + row.id}}).then((res) => {\r\n row = Object.assign({}, row, res.data[0])\r\n this.$dispatch('list-select-oper', `${row.type}票据补打`, 'reissue-change-meter-bill', row)\r\n }).catch((error) => {\r\n if (error.status) {\r\n this.$warn(`加载数据出错, ${JSON.stringify(error)}`)\r\n return\r\n }\r\n throw error\r\n })\r\n } else if (title === '撤销') {\r\n this.$dispatch('list-select-oper', '撤销', 'apply-record-cancel', row)\r\n\r\n }\r\n },\r\n // 撤销为统一操作,所以写到基础组件中\r\n operateCancel (row) {\r\n let cancel = cancelGen(this, row)\r\n co(cancel)\r\n },\r\n selfSearch (args) {\r\n if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {\r\n args.condition += `and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n }\r\n // args.condition = `${args.condition} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n this.model.search(args.condition, args.model)\r\n }\r\n // isClose (val) {\r\n // // 再次点击收缩\r\n // if (val.oldVal && val.oldVal.id === val.val.id) {\r\n // this.$refs.paged.$refs.list.select(null)\r\n // }\r\n // }\r\n },\r\n watch: {\r\n // 'userinfoid' (newVal) {\r\n // if (newVal && newVal !== '') {\r\n // this.$nextTick(function () {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = newVal\r\n // }.bind(this))\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = ''\r\n // let condition = `f_userinfo_id = ${newVal} and f_filiale = '${this.$login.f.f_fengongsi}'`\r\n // this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {\r\n // if (a.data.length === 0) {\r\n // this.model.rows = []\r\n // this.model.state = '错误'\r\n // this.model.error = '没有符合条件的记录'\r\n // return\r\n // }\r\n // this.model.state = '正确'\r\n // this.model.rows = a.data\r\n // })\r\n // } else {\r\n // this.$refs.paged.$refs.cri.model.f_userinfo_id = ''\r\n // this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]\r\n // this.search()\r\n // }\r\n // }\r\n },\r\n }\r\n </script>\r\n\n\n\n// WEBPACK FOOTER //\n// InstallCardList2.vue?f6be56b0","module.exports = \" <div> <partial-view v-ref:pv> <criteria-paged :model=model v-ref:paged :pager=false> <criteria partial=criteria @condition-changed=$parent.$parent.selfSearch v-ref:cri> <div novalidate class=\\\"flex-row select-overspread\\\" partial style=\\\"white-space: nowarp\\\"> <div class=form-group> <input type=text class=\\\"form-control width-100\\\" v-model=model.f_userinfo_id placeholder=报建编号 condition=\\\"f_userinfo_id = '{}'\\\"> </div> <div class=form-group style=\\\"flex: 1\\\"> <v-select id=f_paytype v-model=model.f_operat_type placeholder=操作类型 :value.sync=model.f_operat_type :options=$parent.$parent.$parent.operationtypes condition=\\\"f_operat_type = '{}'\\\" close-on-select></v-select> <partial name=cardcriteria></partial> </div> <div class=form-group> <button class=\\\"btn btn-success width-100\\\" @click=search() id=base-rightVie-cardLis-查询>查询</button> </div> </div> </criteria> <accordion :one-at-atime=true type=info partial=list> <panel type=info v-for=\\\"row in model.rows\\\" :is-open=true :is-click=false v-show=\\\"row.type==='终止报建'\\\"> <span class=\\\"panel-title row\\\" slot=header style=\\\"cursor: pointer\\\"> <div class=col-sm-11> <div class=row> <strong class=col-sm-4>{{row.f_userinfo_id}}</strong> <span class=col-sm-4>{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span> <span class=col-sm-4>{{row.type}}</span> </div> </div> <div class=col-sm-1 v-if=$parent.$parent.$parent.isOperate> <dropdown class=auto v-if=\\\"row.type === '终止报建'\\\"> <button type=button data-toggle=dropdown style=\\\"border: 0px;background: none\\\"> <span class=\\\"glyphicon glyphicon-th-list\\\"></span> </button> <ul slot=dropdown-menu class=\\\"dropdown-menu dropdown-menu-right\\\" style=\\\"min-width: 60px\\\"> <li v-if=\\\"row.type === '终止报建'\\\"> <a href=# @click.stop=\\\"$parent.$parent.$parent.operate('撤销', row)\\\">撤销</a> </li> </ul> </dropdown> </div> <div class=panel-body v-if=$parent.$parent.$parent.isSelected(row)> <stopapply-apply-detail v-if=\\\"row.type === '终止报建'\\\" :data=row></stopapply-apply-detail> </div> <div v-if=!$parent.$parent.$parent.isSelected(row) style=\\\"margin-top: 8px;background: #FFF\\\"> <p>{{row.f_describe}}</p> </div> </span></panel> </accordion> </criteria-paged> </partial-view> </div> \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-html-loader!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 761\n// module chunks = 47","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./InstallCardList2.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./InstallCardList2.vue\")\nmodule.exports = __vue_script__ || {}\nif (module.exports.__esModule) module.exports = module.exports.default\nvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\nif (__vue_template__) {\n__vue_options__.template = __vue_template__\n}\nif (!__vue_options__.computed) __vue_options__.computed = {}\nObject.keys(__vue_styles__).forEach(function (key) {\nvar module = __vue_styles__[key]\n__vue_options__.computed[key] = function () { return module }\n})\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/product/VueUtils/rightview/InstallCardList2.vue\n// module id = 942\n// module chunks = 47"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
webpackJsonp([50],{13:function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t,a){if(e.f_state="",e.f_signin_time&&e.f_knockoff_time){var i=e.f_signin_time.substring(11,16),n=e.f_knockoff_time.substring(11,16);i>t&&(e.f_state="迟到"),n<a&&(e.f_state=e.f_state+"早退")}else e.f_state="缺勤";e.f_state||(e.f_state="正常")}function s(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+"-"+(t<10?"0"+t:t)}function r(){var e=new Date,t=e.getMonth()+1;return e.getFullYear()+(t<10?"0"+t:t)}function l(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)}function f(){var e=new Date,t=e.getMonth()+1,a=e.getDate();return e.getFullYear()+""+(t<10?"0"+t:t)+(a<10?"0"+a:a)}function o(){var e=new Date,t=e.getMonth()+1;return[e.getFullYear()+"-"+(t<10?"0"+t:t)+"-01",e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+new Date(e.getFullYear(),t,0).getDate()]}function d(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+" "+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function m(){var e=new Date,t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function u(e){return new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2),e.substr(11,2),e.substr(14,2),e.substr(17,2))}function c(e){var t=e.getMonth()+1,a=e.getDate(),i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:t)+"-"+(a<10?"0"+a:a)+"T"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)+":"+(s<10?"0"+s:s)}function _(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}function h(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"请选择";if("view"!=e){var n=[];if(a&&n.push({label:i,value:null}),E.default.param&&E.default.param[t]){var s=E.default.param[t];s.forEach(function(e){n.push({label:e.name,value:e.name})})}else n.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"});return n}E.default.getParams(t,[null])}function p(e){return("number"!=typeof e||0!=e)&&(!e||(e+="",e=e.trim(),!e))}function b(e){return!window.isNaN(e)&&e%1===0}function g(e){return!window.isNaN(e)}function v(e){for(var t in e)e.hasOwnProperty(t)&&("object"==(0,P.default)(e[t])&&null!=e[t]?v(e[t]):"true"!==e[t]&&"false"!=e[t]||(e[t]="true"===e[t]))}function y(e){for(var t in e)t.endsWith("_path")?e[t]?e[t]="rs/db/file/"+e[t]:e[t]="rs/db/file/nopic.png":null!==e[t]&&"object"==(0,P.default)(e[t])&&y(e[t])}function I(e,t){return new A.default(function(a,i){var n=void 0;"css"==e?(n=document.createElement("link"),n.setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",t)):"js"==e&&(n=document.createElement("script"),n.setAttribute("type","text/javascript"),n.setAttribute("src",t)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){a(n)},!1),n.addEventListener("error",function(){i(n)},!1),document.body.appendChild(n))})}function N(e){return e.substring(10)}function w(e){var t="",a="",i=new Date;t=i.getDay();var n=i.getMonth()+1,s=i.getDate(),r=i.getYear();a=r>200?r:1900+r;var l=["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"];return a+"年"+n+"月"+s+"日 "+l[t]}function x(e,t){var a=new Date(e);a=a.valueOf(),a+=24*t*60*60*1e3,a=new Date(a);var i=a.getMonth()+1,n=a.getDate(),s=a.getHours(),r=a.getMinutes(),l=a.getSeconds();return a.getFullYear()+"-"+(i<10?"0"+i:i)+"-"+(n<10?"0"+n:n)+" "+(s<10?"0"+s:s)+":"+(r<10?"0"+r:r)+":"+(l<10?"0"+l:l)}function M(e){var t=window.location.search,a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function S(e){var t=k(window.location.search.slice(1,window.location.search.length)),a=e.length,i=t.indexOf(e);if(i===-1)return"";i+=a+1;var n=t.indexOf("&",i);return n===-1?t.substring(i):t.substring(i,n)}function D(e){for(var t=String.fromCharCode(e.charCodeAt(0)+e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)+e.charCodeAt(a-1));return escape(t)}function k(e){e=unescape(e);for(var t=String.fromCharCode(e.charCodeAt(0)-e.length),a=1;a<e.length;a++)t+=String.fromCharCode(e.charCodeAt(a)-t.charCodeAt(a-1));return t}function $(e){var t=(new Date).getTime(),a=new Date(e).getTime(),i=t-a,n=6e4,s=60*n,r=24*s,l=30*r,f=12*l,o="";return i<=2*n?o="刚刚":2*n<i&&i<s?o=Math.floor(i/n)+"分钟前":s<i&&i<=r?o=Math.floor(i/s)+"小时前":r<i&&i<=l?o=Math.floor(i/r)+"天前":l<i&&i<=f?o=Math.floor(i/l)+"个月前":f<i&&(o=Math.floor(i/f)+"年前"),o}function C(e){var t=e.split("-"),a=t[1]-0+1;return t[0]+"-"+(a<10?"0"+a:a)+"-20 00:00:00"}Object.defineProperty(t,"__esModule",{value:!0}),t.f=void 0;var j=a(10),A=i(j),O=a(12),P=i(O);t.getAttendanceState=n,t.toStandardYearMonth=s,t.toStandardYearMonth1=r,t.toStandardDateString=l,t.toStandardDateString2=f,t.toStartAndEndDateString=o,t.toStandardTimeString=d,t.to3339TimeString=m,t.parse3339String=u,t.format3339TimeString=c,t.guid=_,t.choices=h,t.required=p,t.isInt=b,t.isFloat=g,t.booleanFilter=v,t.ratifyPics=y,t.loadscript=I,t.orgName=N,t.getNowDate=w,t.addDate=x,t.getUrlParames=M,t.getUrlCompileParames=S,t.compileStr=D,t.uncompileStr=k,t.dateDescripte=$,t.nextMonth20=C;var T=a(1),E=i(T);t.f=void 0},371:function(e,t,a){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(11),r=n(s),l=a(12),f=n(l),o=a(7),d=n(o),m=a(44),u=n(m),c=a(2),_=n(c),h=a(3),p=a(129),b=n(p),g=a(13),v=i(g);_.default.mark(function e(t,a){return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a.f_actualfee_type=a.f_actualfee_type[0],a.f_bill_type=a.f_bill_type[0],e.next=4,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_apply",parameters:a}});case 4:delete a.id,t.$resetpost("rs/logic/saveentity",{data:{tablename:"t_record",parameters:a}}).then(function(){t.reset()});case 6:case"end":return e.stop()}},e,this)});t.default={components:{InputAndSelect:b.default},title:"报装收费",data:function(){var e;return e={f_billnumber:"",temp:[],billinfo:{},number:{},sum:0},(0,u.default)(e,"billinfo",null),(0,u.default)(e,"billselect",{f_process_id:this.infee.f_process_id}),(0,u.default)(e,"info",null),(0,u.default)(e,"charging_item",[{label:"开户费",value:!1},{label:"入户安装费",value:!1},{label:"人工费",value:!1},{label:"改管费",value:!1},{label:"材料费",value:!1},{label:"设备安装费",value:!1}]),(0,u.default)(e,"showpay",!1),(0,u.default)(e,"addItem",{f_fee:0,f_pay_number:1,f_payfee_money:0}),(0,u.default)(e,"model",{f_payfee_operator:"",f_payfee_department:"",f_filiale:"",f_payfee_date:"",rows:[]}),e},props:["infee"],ready:function(){this.load(),this.model.f_payfee_operator=this.$login.f.name,this.model.f_payfee_department=this.$login.f.f_parentname,this.model.f_filiale=this.$login.f.f_fengongsi,this.model.f_payfee_date=this.$login.toStandardDateString()},methods:{checkedValue:function(e){var t=this;if(this.charging_item[e].value=!this.charging_item[e].value,"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_account_cost=this.infee.f_account_cost?this.infee.f_account_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number);var a={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_account_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number)};this.temp.push(a)}else"开户费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_account_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_construction_cost=this.infee.f_construction_cost?this.infee.f_construction_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number);var i={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_construction_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number)};this.temp.push(i)}else"入户安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_construction_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("材料费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_material_cost=this.infee.f_material_cost?this.infee.f_material_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number);var n={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_material_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number)};this.temp.push(n)}else"材料费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_material_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("人工费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_labor_cost=this.infee.f_labor_cost?this.infee.f_labor_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number);var s={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_labor_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number)};this.temp.push(s)}else"人工费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_labor_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("改管费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_change_pipeline_cost=this.infee.f_change_pipeline_cost?this.infee.f_change_pipeline_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number);var r={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_change_pipeline_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number)};this.temp.push(r)}else"改管费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_change_pipeline_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}));if("设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!0){this.addItem.f_fee=this.addItem.f_fee?this.addItem.f_fee:0,this.infee.f_sbaz_cost=this.infee.f_sbaz_cost?this.infee.f_sbaz_cost:0,this.addItem.f_fee=Number(this.addItem.f_fee)+Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number);var l={f_commodity_name:this.charging_item[e].label,f_price:this.infee.f_sbaz_cost,f_quantity:this.addItem.f_pay_number,f_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),f_sale_money:Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number)};this.temp.push(l)}else"设备安装费"===this.charging_item[e].label&&this.charging_item[e].value===!1&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(this.infee.f_sbaz_cost)*Number(this.addItem.f_pay_number),this.temp.forEach(function(a,i){a.f_commodity_name===t.charging_item[e].label&&t.temp.splice(i,1)}))},smalltoBIG:function(e){var t=["角","分"],a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],i=[["元","万","亿"],["","拾","佰","仟"]],n=e<0?"欠":"";e=Math.abs(e);for(var s="",r=0;r<t.length;r++)s+=(a[Math.floor(10*e*Math.pow(10,r))%10]+t[r]).replace(/零./,"");s=s||"整",e=Math.floor(e);for(var r=0;r<i[0].length&&e>0;r++){for(var l="",f=0;f<i[1].length&&e>0;f++)l=a[e%10]+i[1][f]+l,e=Math.floor(e/10);s=l.replace(/(零.)*零$/,"").replace(/^$/,"零")+i[0][r]+s}return n+s.replace(/(零.)*零元/,"元").replace(/(零.)+/g,"零").replace(/^整$/,"零元整")},add:function(){this.addItem.f_fee=0,this.showpay=!0},close:function(){this.showpay=!1,this.addItem.f_fee=0,this.addItem.f_capital="",this.addItem.f_payfee_name="",this.addItem.f_payfee_money=0,this.addItem.f_pay_number=1;for(var e=0;e<this.charging_item.length;e++)this.charging_item[e].value=!1},handle:function(){for(;this.number.value.length<3;)this.number.value="0"+this.number.value},check:function(){var e=/^[+-]?\d+(\.\d+)?$/;return!!e.test(this.addItem.f_payfee_money)||(this.$showMessage("请输入数字"),this.addItem.f_payfee_money="",!1)},confirm:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n,s,r,l=this;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.check()!==!1){e.next=2;break}return e.abrupt("return");case 2:for(t="",a=0;a<this.charging_item.length;a++)this.charging_item[a].value===!0&&(t+=this.charging_item[a].label,t+=",");return this.addItem.f_charging_item=t.substring(0,t.length-1),this.addItem.f_payfee_way="object"===(0,f.default)(this.addItem.f_payfee_way)?this.addItem.f_payfee_way[0]:"",this.addItem.processid=this.infee.f_process_id,this.addItem.applyid=this.infee.f_apply_num,this.addItem.f_operator=this.$login.f.name,this.addItem.f_department=this.$login.f.f_parentname,this.addItem.f_filiale=this.$login.f.f_fengongsi,this.addItem.f_fee=Number(this.addItem.f_fee),this.addItem.f_payfee_remarks=this.addItem.f_payfee_money?"其它费用("+this.addItem.f_payfee_name+"):"+this.addItem.f_payfee_money+"元":"",i=new h.HttpResetClass,e.next=16,i.load("POST","rs/logic/saveentity",{data:{tablename:"t_paydetail",parameters:this.addItem}},{resolveMsg:null,rejectMsg:"添加失败"});case 16:return n=new h.HttpResetClass,s={tablename:"t_singlevalue",condition:"name = '销售单编号'"},e.next=20,n.load("POST","rs/sql/singleTable",{data:s},{resolveMsg:null,rejectMsg:"获取销售单编号失败"},{silent:!0});case 20:r=e.sent,this.number=r.data[0],this.handle(),this.$refs.billxsdx.billinfo={f_billnumber:"XS-"+v.toStandardDateString2()+"-"+this.number.value,f_date:v.toStandardDateString(),f_remark:" ",f_username:this.$login.f.name},this.f_billnumber="XS-"+v.toStandardDateString2()+"-"+this.number.value,this.$refs.billxsdx.info=this.temp,this.$refs.billxsdx.load(),setTimeout(function(){l.$refs.billxsdx.billprint()},5e3),this.updateNumber(),this.close(),this.load();case 31:case"end":return e.stop()}},e,this)}));return e}(),updateNumber:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,this.number.value=String(Number(this.number.value)+1),e.next=4,t.load("POST","rs/logic/updatesinglevalue",{data:this.number},{resolveMsg:null,rejectMsg:"存储销售单编号失败"});case 4:for(t=new h.HttpResetClass,a=(0,r.default)({},this.infee,this.temp),delete a.id,a.f_bill_type="销售单",a.f_billnumber=this.f_billnumber,a.f_date=v.toStandardDateString(),a.f_username=this.$login.f.name,a.f_remark=" ",i=0;i<this.temp.length;i++)this.temp[i].f_sale_money=String(this.temp[i].f_sale_money);return n={billinfo:a,array:this.temp},e.next=15,t.load("POST","rs/logic/makebillrecord",{data:n},{resolveMsg:null,rejectMsg:"票据记录存储失败"});case 15:case"end":return e.stop()}},e,this)}));return e}(),load:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(_.default.mark(function e(){var t,a,i,n;return _.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=new h.HttpResetClass,a={columnname:"f_preparation_fee",tablename:"t_preparationfee",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=4,t.load("POST","rs/sql/getSum",{data:a},{resolveMsg:null,rejectMsg:"获取总金额失败"});case 4:return i=e.sent,this.sum=Math.round(100*i.data[0].f_preparation_fee)/100,a={tablename:"t_paydetail",condition:"processid = '"+this.infee.f_process_id+"'"},e.next=9,t.load("POST","rs/sql/singleTable",{data:a},{resolveMsg:null,rejectMsg:"获取付款数据失败"});case 9:for(i=e.sent,n=0;n<i.data.length;n++)i.data[n].f_payfeedate=i.data[n].f_payfeedate.substring(0,11);this.model.rows=i.data;case 12:case"end":return e.stop()}},e,this)}));return e}()},watch:{"addItem.f_pay_number":function(){var e=this,t=0;this.charging_item.forEach(function(a){1==a.value&&("开户费"===a.label&&(t+=Number(e.infee.f_account_cost)),"入户安装费"===a.label&&(t+=Number(e.infee.f_construction_cost)),"材料费"===a.label&&(t+=Number(e.infee.f_material_cost)),"人工费"===a.label&&(t+=Number(e.infee.f_labor_cost)),"改管费"===a.label&&(t+=Number(e.infee.f_change_pipeline_cost)),"设备安装费"===a.label&&(t+=Number(e.infee.f_sbaz_cost)))}),this.addItem.f_pay_number?this.addItem.f_fee=Number(t)*Number(this.addItem.f_pay_number)+Number(this.addItem.f_payfee_money):this.addItem.f_fee=Number(t)+Number(this.addItem.f_payfee_money)},"addItem.f_payfee_money":function(e,t){t&&!isNaN(Number(t))&&(this.addItem.f_fee=Number(this.addItem.f_fee)-Number(t)),e&&!isNaN(Number(e))&&(this.addItem.f_fee=Number(this.addItem.f_fee)+Number(e))}},computed:{getCapital:function(){return this.addItem.f_fee&&(this.addItem.f_capital=this.smalltoBIG(Number(this.addItem.f_fee))),this.addItem.f_capital},subcost:function(){for(var e=this.sum,t=0;t<this.model.rows.length;t++)e=Number(e)-Number(this.model.rows[t].f_fee);return e},feeoptions:function(){return this.$appdata.getParam("费用类型")},dayin:function(){return this.$appdata.getParam("打印格式")},jiaofei:function(){return this.$appdata.getParam("缴费类型")}}}},746:function(e,t){e.exports=' <div class="col-sm-12 auto select-overspread"> <div class="auto select-overspread"> <div class="panel panel-info"> <div class="panel-heading auto"> <h3 class=panel-title>预付扣款</h3> </div> </div> </div> <span class=col-sm-1></span><span class=col-sm-3>预付款总金额:{{sum}}元</span><span class=col-sm-3>预付款余额:{{subcost}}元</span> <button type=button class="btn btn-warning col-sm-3 col-sm-offset-3" @click=add()>新增扣款</button> <div class=col-sm-12 style="height: auto"> <div class="form-inline auto" style="margin-bottom: 5px"> </div> <div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 500px"> <partial-view v-ref:single-load> <data-grid :model=model v-ref:grid> <template partial=head> <tr> <th>序号</th> <th>扣款金额(元)</th> <th>金额大写</th> <th>收费项</th> <th>缴费类型</th> <th>收费人员</th> <th>日期</th> <th>备注</th> </tr> </template> <template partial=body> <td style="text-align: center">{{$index+1}}</td> <td style="text-align: center">{{row.f_fee}}</td> <td style="text-align: center">{{row.f_capital}}</td> <td style="text-align: center"> <nobr>{{row.f_charging_item}}</nobr> </td> <td style="text-align: center">{{row.f_payfee_way}}</td> <td style="text-align: center">{{row.f_operator}}</td> <td style="text-align: center">{{row.f_payfeedate}}</td> <td style="text-align: center">{{row.f_payfee_remarks}}</td> </template> </data-grid> </partial-view> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">分公司:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_filiale disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作日期:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_date disabled=disabled> </div> </div> </div> <div class="form-group col-sm-12"> <div class=col-sm-6> <label class="control-label col-sm-4">部门:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_department disabled=disabled> </div> </div> <div class=col-sm-6> <label class="control-label col-sm-4">操作人:</label> <div class=col-sm-8> <input class=form-control type=text v-model=model.f_payfee_operator disabled=disabled> </div> </div> </div> <modal :show.sync=showpay v-ref:modal backdrop=false> <header slot=modal-header class=modal-header> <button type=button class=close @click=close><span>×</span></button> <h4 class=modal-title>新增收费</h4> </header> <article slot=modal-body class=modal-body> <div v-if=showpay> <validator name=validator> <div class=from-group> <label>总金额(元)</label> <input type=text class=form-control v-model=addItem.f_fee readonly=readonly> </div> <div class=from-group> <label>总金额大写</label> <input type=text class=form-control v-model=getCapital readonly=readonly> </div> <div class=from-group> <label>收费项 </label> <div> <label v-for="item in charging_item"><input type=checkbox @change=checkedValue($index) />{{item.label}} </label> </div> </div> <div class=from-group v-if="!infee.f_apply_type.includes(\'个人\')"> <label>缴费户数 :</label> <input type=text v-model=addItem.f_pay_number> </div> <div class=from-group> <label>其它费用名称:</label> <input class=form-control v-model=addItem.f_payfee_name> <div> <label>其它费用金额(元):</label> <input class=form-control v-model=addItem.f_payfee_money> </div> </div> <div class=from-group> <label>缴费类型</label> <v-select :options=jiaofei v-validate:additem.f_payfee_way[0] v-model=addItem.f_payfee_way :value.sync=addItem.f_payfee_way close-on-select> </v-select> </div> </validator> </div> </article> <footer slot=modal-footer class=modal-footer> <button v-show=showpay type=button class="btn btn-default" @click=close>取消</button> <button v-show=showpay type=button class="btn btn-success" @click=confirm>确认</button> </footer> </modal> <billxsd v-show=false v-ref:billxsdx :billinfo=billinfo :billselect=billselect :info=info></billxsd> </div> '},922:function(e,t,a){var i,n,s={};i=a(371),n=a(746),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports.default);var r="function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports;n&&(r.template=n),r.computed||(r.computed={}),Object.keys(s).forEach(function(e){var t=s[e];r.computed[e]=function(){return t}})}});
|
|
2
|
+
//# sourceMappingURL=50.js.map
|