sale-client-xianyang 3.3.442 → 3.3.444

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client-xianyang",
3
- "version": "3.3.442",
3
+ "version": "3.3.444",
4
4
  "description": "费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -43,24 +43,18 @@
43
43
  </textarea>
44
44
  </div>
45
45
  </div>
46
- <!-- <div class="row" style="text-align: center">-->
47
- <!-- <div class="col-sm-4 col-sm-offset-2">-->
48
- <!-- <img-self style="margin: 0 auto" :src="row.f_imageurl"></img-self>-->
49
- <!-- <span style="font-size: 14px;margin-top: 5px; display:inline-block;-->
50
- <!-- width: 200px; word-break: normal; white-space: pre-wrap; word-wrap: break-word;">{{-->
51
- <!-- row.f_imagename-->
52
- <!-- }}</span>-->
53
- <!-- </div>-->
54
- <!-- <div class="col-sm-4">-->
55
- <!-- <a style="margin: 0 auto;display: inherit" target="_blank" :href="row.f_fileurl">-->
56
- <!-- <img src="./download.png" alt="图片加载失败" title="点击下载附件"/>-->
57
- <!-- </a>-->
58
- <!-- <span style="font-size: 14px;margin-top: 5px; display:inline-block;-->
59
- <!-- width: 200px; word-break: normal; white-space: pre-wrap; word-wrap: break-word;">{{-->
60
- <!-- row.f_filename-->
61
- <!-- }}</span>-->
62
- <!-- </div>-->
63
- <!-- </div>-->
46
+ <div v-if="idImgList.length >0" class="form-group" style="margin-top: 10px">
47
+ <label class="col-sm-2 control-label">营业执照</label>
48
+ <div v-for="row in idImgList" class="col-sm-3">
49
+ <img-self :src="row.imgUrl" alt="图片加载失败" :width="100" :height="100"></img-self>
50
+ </div>
51
+ </div>
52
+ <div v-if="docImgList.length >0" class="form-group" style="margin-top: 10px">
53
+ <label class="col-sm-2 control-label">申请表</label>
54
+ <div v-for="row in docImgList" class="col-sm-3">
55
+ <img-self :src="row.imgUrl" alt="图片加载失败" :width="100" :height="100"></img-self>
56
+ </div>
57
+ </div>
64
58
  </form>
65
59
  </validator>
66
60
  <step :active="index" :items="items"></step>
@@ -100,7 +94,9 @@ export default {
100
94
  {f_apply_type: '组织施工', f_apply_state: '', f_apply_msg: '', id: ''},
101
95
  {f_apply_type: '验收通气', f_apply_state: '', f_apply_msg: '', id: ''}
102
96
  ],
103
- index: 0
97
+ index: 0,
98
+ idImgList: [],
99
+ docImgList: []
104
100
  }
105
101
  },
106
102
  components: {Step},
@@ -120,6 +116,16 @@ export default {
120
116
  },
121
117
  // 根据id查询报装进度
122
118
  async init (val) {
119
+ if (val.f_imageurl) {
120
+ try {
121
+ let f_imageurl = JSON.parse(val.f_imageurl)
122
+ this.idImgList = f_imageurl.f_idimglist || []
123
+ this.docImgList = f_imageurl.f_docimglist || []
124
+ } catch (e) {
125
+ this.idImgList = []
126
+ this.docImgList = []
127
+ }
128
+ }
123
129
  let msg_data = {rows: []}
124
130
  console.log('==========', JSON.stringify(val))
125
131
  let data = await this.$SqlService.singleTable('t_apply_info', `f_order_id = ${val.id} order by f_apply_date`)
@@ -179,7 +179,6 @@ let overChargeGen = async function (self) {
179
179
  await self.$refs.paymentcode.updateSellinggas(self.sellinggasId)
180
180
  }
181
181
  if (self.config.hasPrint) {
182
-
183
182
  if (self.model.f_print.indexOf('普通收据') !== -1) {
184
183
  if (self.config.hasBillManage) {
185
184
  // 启用发票管理,获取票据管理中的票号并存储记录
@@ -7,7 +7,7 @@
7
7
  <article slot="modal-body" class="modal-body">
8
8
  <validator name='v'>
9
9
  <form class="form-horizontal select-overspread">
10
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
10
+ <div class="row" style="display: flex;justify-content: center;" id='book-bill' v-if="bill.data">
11
11
  {{{bill.data}}}
12
12
  </div>
13
13
  </form>
@@ -15,7 +15,7 @@
15
15
  </article>
16
16
  <footer slot="modal-footer" class="modal-footer">
17
17
  <button type="button" class="btn btn-success" @click='print()'>打印</button>
18
- <report-print id='normal-bill' :top='top' left='0mm' width='90%' height='80%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
18
+ <report-print id='book-bill' :top='top' left='0mm' width='90%' height='80%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
19
19
  <button type="button" class="btn btn-default" @click='cancel()'>取消</button>
20
20
  </footer>
21
21
  </modal>