apply-clients 5.0.35-12 → 5.0.35-18

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.
@@ -1,85 +1,85 @@
1
- <template>
2
- <div class="auto form-horizontal" >
3
- <modal :show.sync="show" v-ref:modal large backdrop="false">
4
- <header slot="modal-header" class="modal-header">
5
- <h3 style="color:black" class="modal-title">发票号</h3>
6
- </header>
7
- <article slot="modal-body" class="modal-body">
8
-
9
- <validator name='v'>
10
- <form class="form-horizontal select-overspread">
11
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
12
- <div class="form-group col-sm-6">
13
- <label class=" col-sm-2 control-label">发票代码:</label>
14
- <input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
15
- placeholder="发票代码" disabled
16
- >
17
- </div>
18
- <div class="form-group col-sm-6">
19
- <label class=" col-sm-2 control-label">发票号码:</label>
20
- <input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
21
- placeholder="发票号码" disabled
22
- >
23
- </div>
24
- </div>
25
- </form>
26
- </validator>
27
- </article>
28
- <footer slot="modal-footer" class="modal-footer">
29
- <button type="button" class="btn btn-default" @click='cancel()' >取消</button>
30
- </footer>
31
- </modal>
32
- </div>
33
- </template>
34
- <script>
35
- import { DataModel } from 'vue-client'
36
- let getBillData = async function(self) {
37
- if(self.data.eticketid){
38
- let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
39
- console.log("看看res",res)
40
- self.model.f_bill_code=res.data[0].f_bill_code
41
- self.model.f_bill_number=res.data[0].f_bill_number
42
- }else{
43
- let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
44
- console.log("看看res",res)
45
- self.model.f_bill_code=res.data[0].f_bill_code
46
- self.model.f_bill_number=res.data[0].f_bill_number
47
- }
48
- }
49
-
50
- export default {
51
- title: '收费发票',
52
- data () {
53
- return {
54
- model:{
55
- f_bill_code:'',
56
- f_bill_number:''
57
- }
58
- }
59
- },
60
- props: ['show', 'data'],
61
- ready () {
62
- },
63
- methods: {
64
- cancel () {
65
- this.$dispatch('toggle')
66
- },
67
- },
68
- watch: {
69
- 'show' (val) {
70
- if (val) {
71
- getBillData(this, val).then(() => {
72
- this.$emit('ready')
73
- }).catch((error) => {
74
- this.$emit('error', error)
75
- })
76
- }
77
- }
78
- },
79
- events: {
80
- }
81
- }
82
-
83
- </script>
84
- <style >
85
- </style>
1
+ <template>
2
+ <div class="auto form-horizontal" >
3
+ <modal :show.sync="show" v-ref:modal large backdrop="false">
4
+ <header slot="modal-header" class="modal-header">
5
+ <h3 style="color:black" class="modal-title">发票号</h3>
6
+ </header>
7
+ <article slot="modal-body" class="modal-body">
8
+
9
+ <validator name='v'>
10
+ <form class="form-horizontal select-overspread">
11
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
12
+ <div class="form-group col-sm-6">
13
+ <label class=" col-sm-2 control-label">发票代码:</label>
14
+ <input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
15
+ placeholder="发票代码" disabled
16
+ >
17
+ </div>
18
+ <div class="form-group col-sm-6">
19
+ <label class=" col-sm-2 control-label">发票号码:</label>
20
+ <input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
21
+ placeholder="发票号码" disabled
22
+ >
23
+ </div>
24
+ </div>
25
+ </form>
26
+ </validator>
27
+ </article>
28
+ <footer slot="modal-footer" class="modal-footer">
29
+ <button type="button" class="btn btn-default" @click='cancel()' >取消</button>
30
+ </footer>
31
+ </modal>
32
+ </div>
33
+ </template>
34
+ <script>
35
+ import { DataModel } from 'vue-client'
36
+ let getBillData = async function(self) {
37
+ if(self.data.eticketid){
38
+ let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
39
+ console.log("看看res",res)
40
+ self.model.f_bill_code=res.data[0].f_bill_code
41
+ self.model.f_bill_number=res.data[0].f_bill_number
42
+ }else{
43
+ let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
44
+ console.log("看看res",res)
45
+ self.model.f_bill_code=res.data[0].f_bill_code
46
+ self.model.f_bill_number=res.data[0].f_bill_number
47
+ }
48
+ }
49
+
50
+ export default {
51
+ title: '收费发票',
52
+ data () {
53
+ return {
54
+ model:{
55
+ f_bill_code:'',
56
+ f_bill_number:''
57
+ }
58
+ }
59
+ },
60
+ props: ['show', 'data'],
61
+ ready () {
62
+ },
63
+ methods: {
64
+ cancel () {
65
+ this.$dispatch('toggle')
66
+ },
67
+ },
68
+ watch: {
69
+ 'show' (val) {
70
+ if (val) {
71
+ getBillData(this, val).then(() => {
72
+ this.$emit('ready')
73
+ }).catch((error) => {
74
+ this.$emit('error', error)
75
+ })
76
+ }
77
+ }
78
+ },
79
+ events: {
80
+ }
81
+ }
82
+
83
+ </script>
84
+ <style >
85
+ </style>
@@ -13,7 +13,7 @@
13
13
  <div class="col-sm-12 form-group">
14
14
  <div v-for="(index,item) in data.fields">
15
15
  <!--input-->
16
- <div :style="item.style? item.style+';height: 34px;':'height: 34px;'"
16
+ <div :style="item.style+';height: 34px;'"
17
17
  v-if="item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email'"
18
18
  v-show="!item.hidden"
19
19
  :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
@@ -133,11 +133,7 @@
133
133
  }
134
134
  ]
135
135
  }
136
- // 完成时间和完成人,部门,分公司
137
- this.data.filiale = this.selectdata.f_filiale
138
- this.data.f_parentname = this.selectdata.f_parentname
139
- this.data.operate_date = this.selectdata.finishtime
140
- this.data.operator = this.selectdata.sender
136
+
141
137
  }
142
138
  },
143
139
  events:{
@@ -393,6 +389,11 @@
393
389
  if (sum == 1) {
394
390
  this.data = jsonData
395
391
  this.initializtion()
392
+ // 完成时间和完成人,部门,分公司
393
+ this.data.filiale = this.selectdata.f_filiale
394
+ this.data.f_parentname = this.selectdata.f_parentname
395
+ this.data.operate_date = this.selectdata.finishtime
396
+ this.data.operator = this.selectdata.sender
396
397
  this.showview = true
397
398
  } else if (sum == 0) {
398
399
  this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
@@ -113,7 +113,7 @@
113
113
  <div class="col-sm-2" style="float: left">
114
114
  <label class="col-sm-4 control-label">报装来源</label>
115
115
  <div class="col-sm-8">
116
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'}]"
116
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'},{label:'住建局',value:'住建局'}]"
117
117
  condition="f_apply_source = '{}'" placeholder='报装来源'
118
118
  v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
119
119
  </v-select>
@@ -1,44 +1,44 @@
1
- import Vue from 'vue'
2
- import { all } from 'vue-client'
3
- Vue.config.silent = true
4
- import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
- import ApplyLoadParams from './stores/ApplyLoadParams'
6
- /** ****************服务插件*********************/
7
-
8
- export default function () {
9
- Vue.use(ApplyGetSaleParam)
10
- Vue.use(ApplyLoadParams)
11
- /** ***************************报建模块*********************************/
12
- // 报建 总入口
13
- Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
14
- // 报建 待办流程页
15
- Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
16
- // 报建 已办事项
17
- Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
18
- // 报建 上传
19
- Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
20
- // 报建 待办事项
21
- Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
22
- // 报建 用户信息
23
- Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
24
- // 报建 报建流程信息
25
- Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
26
- // 报建 现场勘探
27
- Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
28
- // 报建 竣工验收
29
- Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
30
- // 报建 通气点火
31
- Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
32
-
33
- Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
34
-
35
- // 业务tab(control层)页
36
- Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
37
- // 公共业务显示(view层)页
38
- Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
39
- Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
40
- Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
41
- Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
42
- // Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
43
- // Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
44
- }
1
+ import Vue from 'vue'
2
+ import { all } from 'vue-client'
3
+ Vue.config.silent = true
4
+ import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
+ import ApplyLoadParams from './stores/ApplyLoadParams'
6
+ /** ****************服务插件*********************/
7
+
8
+ export default function () {
9
+ Vue.use(ApplyGetSaleParam)
10
+ Vue.use(ApplyLoadParams)
11
+ /** ***************************报建模块*********************************/
12
+ // 报建 总入口
13
+ Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
14
+ // 报建 待办流程页
15
+ Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
16
+ // 报建 已办事项
17
+ Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
18
+ // 报建 上传
19
+ Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
20
+ // 报建 待办事项
21
+ Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
22
+ // 报建 用户信息
23
+ Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
24
+ // 报建 报建流程信息
25
+ Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
26
+ // 报建 现场勘探
27
+ Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
28
+ // 报建 竣工验收
29
+ Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
30
+ // 报建 通气点火
31
+ Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
32
+
33
+ Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
34
+
35
+ // 业务tab(control层)页
36
+ Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
37
+ // 公共业务显示(view层)页
38
+ Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
39
+ Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
40
+ Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
41
+ Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
42
+ // Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
43
+ // Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
44
+ }