apply-clients 3.2.51 → 3.2.53

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,5 +1,5 @@
1
1
  <template>
2
- <div style="overflow: auto;background-color: #FFFFFF">
2
+ <div style="overflow: auto;background-color: #FFFFFF; height: 85%;">
3
3
  <div class="row" v-for="(i,row) in defnames">
4
4
  <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
5
5
  {{row.defname}}
@@ -410,6 +410,7 @@ export default {
410
410
  showModal: false,
411
411
  material: {},
412
412
  getfield: {
413
+ 'f_material_coding':'材料编码',
413
414
  'f_material_name': '材料名称',
414
415
  'f_material_model': '材料型号',
415
416
  'f_material_norm': '材料规格',
@@ -324,7 +324,7 @@ export default {
324
324
  // 获取有效采购单
325
325
  async getPurchaseOrder () {
326
326
  let data = {
327
- condition: `po.f_status = '有效'`,
327
+ condition: `po.f_status = '有效' and f_lump_sum != f_actual_money`,
328
328
  data: {
329
329
  orgid: this.$login.f.orgid
330
330
  }
@@ -88,6 +88,26 @@
88
88
  </div>
89
89
  </div>
90
90
 
91
+ <div class="col-sm-4 form-group item" :class="[$v.f_price_without_tax.required ? 'has-error' : '']">
92
+ <label class="control-label-justify control-label col-sm-6">不含税价款</label>
93
+ <div class="col-sm-6">
94
+ <input class="form-control input_view" style=""
95
+ type="text" v-validate:f_price_without_tax = "['required']"
96
+ v-model="model.f_price_without_tax"
97
+ :value="model.f_price_without_tax"
98
+ />
99
+ </div>
100
+ </div>
101
+ <div class="col-sm-4 form-group item" :class="[$v.f_vat_tax.required ? 'has-error' : '']">
102
+ <label class="control-label-justify control-label col-sm-6">增值税税款</label>
103
+ <div class="col-sm-6">
104
+ <input class="form-control input_view" style=""
105
+ type="text" v-validate:f_vat_tax = "['required']"
106
+ v-model="model.f_vat_tax"
107
+ :value="model.f_vat_tax"
108
+ />
109
+ </div>
110
+ </div>
91
111
  <div class="col-sm-12">
92
112
  <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
93
113
  <template partial='head'>
@@ -279,7 +299,10 @@ export default {
279
299
  {resolveMsg: null, rejectMsg: '订单编号查询失败!!!'}
280
300
  )
281
301
 
282
- if (res.data.length > 0) {
302
+ /*console.dir(res)*/
303
+
304
+ if (res.data.length > 0 && res.data[0].f_status != '作废') {
305
+ console.log('订单状态:'+res.data[0].f_status)
283
306
  this.$showAlert('订单编号已存在!!!', 'warning', 3000)
284
307
  this.model.f_order_number = null
285
308
  return
@@ -75,7 +75,10 @@
75
75
  <td></td>
76
76
  </tr>
77
77
  <tr>
78
- <td colspan="10" style="text-align: left;padding-left: 10px">总金额(大写):{{ smalltoBIG(material.lumpsum) }} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;总金额(小写): {{material.lumpsum}}元</td>
78
+ <td colspan="11" style="text-align: left;padding-left: 10px">总金额(大写):{{ smalltoBIG(material.lumpsum) }} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;总金额(小写): {{material.lumpsum}}元</td>
79
+ </tr>
80
+ <tr>
81
+ <td colspan="11" style="text-align: right;padding-left: 10px">不含税价款:{{ purchaseRecords.f_price_without_tax }}元 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;增值税税款: {{purchaseRecords.f_vat_tax}}元</td>
79
82
  </tr>
80
83
  </table>
81
84
  <p class="space-between">
@@ -83,6 +83,24 @@
83
83
  :value="purchaseRecords.f_actual_money"/>
84
84
  </div>
85
85
  </div>
86
+ <div class="col-sm-4 form-group item">
87
+ <label class="control-label-justify control-label col-sm-6">不含税价款</label>
88
+ <div class="col-sm-6">
89
+ <input class="form-control input_view" style=""
90
+ type="text" readonly
91
+ v-model="purchaseRecords.f_price_without_tax"
92
+ :value="purchaseRecords.f_price_without_tax"/>
93
+ </div>
94
+ </div>
95
+ <div class="col-sm-4 form-group item">
96
+ <label class="control-label-justify control-label col-sm-6">增值税税款</label>
97
+ <div class="col-sm-6">
98
+ <input class="form-control input_view" style=""
99
+ type="text" readonly
100
+ v-model="purchaseRecords.f_vat_tax"
101
+ :value="purchaseRecords.f_vat_tax"/>
102
+ </div>
103
+ </div>
86
104
  <div class="col-sm-4 form-group item">
87
105
  <label class="control-label-justify control-label col-sm-6">订单状态</label>
88
106
  <div class="col-sm-6">
@@ -181,8 +199,10 @@ export default {
181
199
  async showPrintModal(){
182
200
  this.model.selectPrint = this.$refs.grid.getRowData()
183
201
  this.model.selectPrint.lumpsum= 0
202
+ this.model.selectPrint.nolumpsum= 0
203
+ this.model.selectPrint.cenglumpsum =0
184
204
  for (var i=0;i<this.model.selectPrint.length;i++){
185
- this.model.selectPrint.lumpsum =this.model.selectPrint.lumpsum + this.model.selectPrint[i].f_actual_money
205
+ this.model.selectPrint.lumpsum =this.model.selectPrint.lumpsum + this.model.selectPrint[i].f_forecast_money
186
206
  }
187
207
  this.model.selectPrint.lumpsum=this.model.selectPrint.lumpsum.toFixed(2)
188
208
  this.showPrint = true
@@ -39,7 +39,7 @@
39
39
  :value.sync="model.startDate"
40
40
  :format="'yyyy-MM-dd HH:mm:ss'"
41
41
  :show-reset-button="true"
42
- condition="op.f_invoicing_date >= '{}'">
42
+ condition="po.f_invoicing_date >= '{}'">
43
43
  </datepicker>
44
44
  </div>
45
45
  <div class="form-group col-sm-3">
@@ -50,7 +50,7 @@
50
50
  :value.sync="model.endDate"
51
51
  :format="'yyyy-MM-dd HH:mm:ss'"
52
52
  :show-reset-button="true"
53
- condition="op.f_invoicing_date <= '{}'">
53
+ condition="po.f_invoicing_date <= '{}'">
54
54
  </datepicker>
55
55
  </div>
56
56
  </div>