apply-clients 3.2.41 → 3.2.50
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 +1 -1
- package/src/App.vue +20 -20
- package/src/apply.js +185 -175
- package/src/components/app_apply/Process/AppExplorationUser.vue +1 -1
- package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -208
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +183 -183
- package/src/components/image/tubiao.png +0 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -429
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -267
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -682
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -304
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -286
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -258
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +31 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +5 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
- package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
- package/src/components/product/Ledger/Function/InstallInfoSelect.vue +4 -1
- package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +39 -3
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +32 -2
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +1 -1
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -430
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -449
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +10 -2
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +10 -2
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +10 -2
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +3 -1
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +31 -2
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +2 -2
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +5 -4
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +5 -1
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +33 -7
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +45 -3
- package/src/components/product/Ledger/Process/ProcessSelect.vue +3 -5
- package/src/components/product/Ledger/Process/Service/ServiceControl.vue +42 -5
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +24 -3
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +14 -2
- package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
- package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +38 -2
- package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +182 -7
- package/src/components/product/ServiceView.vue +761 -850
- package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue
CHANGED
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
<th style="white-space: nowrap;">材料名称</th>
|
|
53
53
|
<th style="white-space: nowrap;">材料型号</th>
|
|
54
54
|
<th style="white-space: nowrap;">材料规格</th>
|
|
55
|
-
<th style="white-space: nowrap;"
|
|
55
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
56
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
56
57
|
<th style="white-space: nowrap;">单位</th>
|
|
57
58
|
<th style="white-space: nowrap;">数量</th>
|
|
58
59
|
<th style="white-space: nowrap;">备注</th>
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
71
72
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
72
73
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
74
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
73
75
|
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
74
76
|
<td style="text-align: center;">{{row.f_buy_quantity}}</td>
|
|
75
77
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
@@ -127,11 +129,17 @@
|
|
|
127
129
|
</div>
|
|
128
130
|
</div>
|
|
129
131
|
<div class="col-sm-12 form-group" :class="[$mv.f_price.required ? 'has-error' : '']">
|
|
130
|
-
<label class="control-label col-sm-2"
|
|
132
|
+
<label class="control-label col-sm-2">含税单价</label>
|
|
131
133
|
<div class="col-sm-9">
|
|
132
134
|
<input class="form-control" type="number" readonly v-validate:f_price = "['required']" v-model="material.f_price" :value="material.f_price"/>
|
|
133
135
|
</div>
|
|
134
136
|
</div>
|
|
137
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_noprice.required ? 'has-error' : '']">
|
|
138
|
+
<label class="control-label col-sm-2">不含税单价</label>
|
|
139
|
+
<div class="col-sm-9">
|
|
140
|
+
<input class="form-control" type="number" readonly v-validate:f_noprice = "['required']" v-model="material.f_noprice" :value="material.f_noprice"/>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
135
143
|
<div class="col-sm-12 form-group" :class="[$mv.f_unit.required ? 'has-error' : '']">
|
|
136
144
|
<label class="control-label col-sm-2">单  位</label>
|
|
137
145
|
<div class="col-sm-9">
|
package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue
CHANGED
|
@@ -98,7 +98,8 @@
|
|
|
98
98
|
<th style="white-space: nowrap;">规格</th>
|
|
99
99
|
<th style="white-space: nowrap;">单位</th>
|
|
100
100
|
<th style="white-space: nowrap;">数量</th>
|
|
101
|
-
<th style="white-space: nowrap;"
|
|
101
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
102
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
102
103
|
<th style="white-space: nowrap;">金额</th>
|
|
103
104
|
<th style="white-space: nowrap;">库存</th>
|
|
104
105
|
<th style="white-space: nowrap;">备注</th>
|
|
@@ -118,6 +119,7 @@
|
|
|
118
119
|
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
119
120
|
<td style="text-align: center;">{{row.f_forecast_quantity}}</td>
|
|
120
121
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
122
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
121
123
|
<td style="text-align: center;">{{row.f_forecast_money}}</td>
|
|
122
124
|
<td style="text-align: center;">{{row.f_stock}}</td>
|
|
123
125
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
@@ -175,11 +177,17 @@
|
|
|
175
177
|
</div>
|
|
176
178
|
</div>
|
|
177
179
|
<div class="col-sm-12 form-group" :class="[$mv.f_price.required ? 'has-error' : '']">
|
|
178
|
-
<label class="control-label col-sm-2"
|
|
180
|
+
<label class="control-label col-sm-2">含税单价</label>
|
|
179
181
|
<div class="col-sm-9">
|
|
180
182
|
<input class="form-control" type="number" readonly v-validate:f_price = "['required']" v-model="material.f_price" :value="material.f_price"/>
|
|
181
183
|
</div>
|
|
182
184
|
</div>
|
|
185
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_noprice.required ? 'has-error' : '']">
|
|
186
|
+
<label class="control-label col-sm-2">不含税单价</label>
|
|
187
|
+
<div class="col-sm-9">
|
|
188
|
+
<input class="form-control" type="number" readonly v-validate:f_noprice = "['required']" v-model="material.f_noprice" :value="material.f_noprice"/>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
183
191
|
<div class="col-sm-12 form-group" :class="[$mv.f_unit.required ? 'has-error' : '']">
|
|
184
192
|
<label class="control-label col-sm-2">单  位</label>
|
|
185
193
|
<div class="col-sm-9">
|
package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue
CHANGED
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
<th style="white-space: nowrap;">材料名称</th>
|
|
54
54
|
<th style="white-space: nowrap;">材料型号</th>
|
|
55
55
|
<th style="white-space: nowrap;">材料规格</th>
|
|
56
|
-
<th style="white-space: nowrap;"
|
|
56
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
57
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
57
58
|
<th style="white-space: nowrap;">单位</th>
|
|
58
59
|
<th style="white-space: nowrap;">数量</th>
|
|
59
60
|
<th style="white-space: nowrap;">备注</th>
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
72
73
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
73
74
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
75
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
74
76
|
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
75
77
|
<td style="text-align: center;">{{row.f_quantity}}</td>
|
|
76
78
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
@@ -115,11 +117,17 @@
|
|
|
115
117
|
</div>
|
|
116
118
|
</div>
|
|
117
119
|
<div class="col-sm-12 form-group" :class="[$mv.f_price.required ? 'has-error' : '']">
|
|
118
|
-
<label class="control-label col-sm-2"
|
|
120
|
+
<label class="control-label col-sm-2">含税单价</label>
|
|
119
121
|
<div class="col-sm-9">
|
|
120
122
|
<input class="form-control" type="number" v-validate:f_price = "['required']" v-model="material.f_price" :value="material.f_price"/>
|
|
121
123
|
</div>
|
|
122
124
|
</div>
|
|
125
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_noprice.required ? 'has-error' : '']">
|
|
126
|
+
<label class="control-label col-sm-2">不含税单价</label>
|
|
127
|
+
<div class="col-sm-9">
|
|
128
|
+
<input class="form-control" type="number" v-validate:f_noprice = "['required']" v-model="material.f_noprice" :value="material.f_noprice"/>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
123
131
|
<div class="col-sm-12 form-group" :class="[$mv.f_unit.required ? 'has-error' : '']">
|
|
124
132
|
<label class="control-label col-sm-2">单  位</label>
|
|
125
133
|
<div class="col-sm-9">
|
package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue
CHANGED
|
@@ -128,7 +128,8 @@
|
|
|
128
128
|
<th style="white-space: nowrap;">材料型号</th>
|
|
129
129
|
<th style="white-space: nowrap;">材料规格</th>
|
|
130
130
|
<th style="white-space: nowrap;">单位</th>
|
|
131
|
-
<th style="white-space: nowrap;"
|
|
131
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
132
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
132
133
|
<th style="white-space: nowrap;">金额</th>
|
|
133
134
|
<th style="white-space: nowrap;">备注</th>
|
|
134
135
|
<th style="white-space: nowrap;">预出库数量</th>
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
145
146
|
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
146
147
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
148
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
147
149
|
<td style="text-align: center;">{{row.f_money}}</td>
|
|
148
150
|
<td style="text-align: center;">{{row.f_prepare_remarks}}</td>
|
|
149
151
|
<td style="text-align: center;">{{row.f_prepare_quantity}}</td>
|
package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue
CHANGED
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
close-on-select ></v-select>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="form-group col-sm-3 button-range">
|
|
29
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
30
|
+
:field="$parent.$parent.getfield"
|
|
31
|
+
sqlurl="rs/logic/exportfile"
|
|
32
|
+
sql-name="getOutboundOrder"
|
|
33
|
+
template-name='出库单记录'
|
|
34
|
+
:choose-col="true"></export-excel>
|
|
29
35
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
30
36
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
31
37
|
<div
|
|
@@ -155,7 +161,7 @@
|
|
|
155
161
|
<nobr><font>{{row.f_expire_date}}</font></nobr>
|
|
156
162
|
</td>
|
|
157
163
|
<td style="text-align: center;" @click="$parent.$parent.$parent.view(row)">
|
|
158
|
-
<nobr><font>{{
|
|
164
|
+
<nobr><font>{{row.f_state}}</font></nobr>
|
|
159
165
|
</td>
|
|
160
166
|
<td style="text-align: center;" @click="$parent.$parent.$parent.view(row)">
|
|
161
167
|
<nobr><font>{{row.f_money}}</font></nobr>
|
|
@@ -242,7 +248,22 @@ export default {
|
|
|
242
248
|
'label': '借料单',
|
|
243
249
|
'value': '借料单'
|
|
244
250
|
}
|
|
245
|
-
]
|
|
251
|
+
],
|
|
252
|
+
getfield: {
|
|
253
|
+
'f_ticket_number': '编号',
|
|
254
|
+
'f_cea_number': 'CEA号',
|
|
255
|
+
'f_entry_type': '项目类型',
|
|
256
|
+
'f_warehouse': '发料仓库',
|
|
257
|
+
'f_picking_unit': '施工单位',
|
|
258
|
+
'f_picking_site': '工地名称',
|
|
259
|
+
'f_operator': '操作人',
|
|
260
|
+
'f_billing_time': '开票时间',
|
|
261
|
+
'f_expire_date': '过期时间',
|
|
262
|
+
'f_state': '状态',
|
|
263
|
+
'f_money': '金额',
|
|
264
|
+
'f_type': '单据类型',
|
|
265
|
+
'f_write_off': '是否核销'
|
|
266
|
+
}
|
|
246
267
|
}
|
|
247
268
|
},
|
|
248
269
|
ready () {
|
|
@@ -267,6 +288,14 @@ export default {
|
|
|
267
288
|
}
|
|
268
289
|
},
|
|
269
290
|
computed: {
|
|
291
|
+
getCondition() {
|
|
292
|
+
return {
|
|
293
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
294
|
+
data: {
|
|
295
|
+
orgid: this.$login.f.orgid
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
270
299
|
}
|
|
271
300
|
}
|
|
272
301
|
</script>
|
package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<td>材料型号</td>
|
|
60
60
|
<td>单位</td>
|
|
61
61
|
<td>数量</td>
|
|
62
|
-
<td
|
|
62
|
+
<td>不含税单价</td>
|
|
63
63
|
<td>金额</td>
|
|
64
64
|
<td>备注</td>
|
|
65
65
|
</tr>
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<td>{{ item.f_material_model }}</td>
|
|
69
69
|
<td>{{ item.f_unit }}</td>
|
|
70
70
|
<td>{{ item.f_prepare_quantity }}</td>
|
|
71
|
-
<td>{{ item.
|
|
71
|
+
<td>{{ item.f_noprice }}</td>
|
|
72
72
|
<td>{{ item.f_money }}</td>
|
|
73
73
|
<td>{{ item.f_remarks }}</td>
|
|
74
74
|
</tr>
|
package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue
CHANGED
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
</style>
|
|
25
25
|
<div id="print">
|
|
26
|
-
<
|
|
26
|
+
<img src="../../../../image/tubiao.png"style="width:150px; height:30px">
|
|
27
|
+
<h4 style="margin: 30px 0 5px 0">西安天然气工程有限责任公司材料采购订单</h4>
|
|
27
28
|
<p class="space-between">
|
|
28
29
|
<span>部门:设备材料部</span>
|
|
29
30
|
<span>申请人:{{ purchaseRecords.f_applicant }}</span>
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
<td>规格</td>
|
|
42
43
|
<td>单位</td>
|
|
43
44
|
<td>数量</td>
|
|
44
|
-
<td
|
|
45
|
+
<td>不含税单价</td>
|
|
45
46
|
<td>金额</td>
|
|
46
47
|
<td>库存</td>
|
|
47
48
|
<td>备注</td>
|
|
@@ -74,11 +75,11 @@
|
|
|
74
75
|
<td colspan="10" style="text-align: left;padding-left: 10px">总金额(大写):{{ smalltoBIG(purchaseRecords.f_lump_sum) }}</td>
|
|
75
76
|
</tr>
|
|
76
77
|
</table>
|
|
77
|
-
<p class="space-between">
|
|
78
|
+
<p class="space-between" style="padding: 10px 250px 10px 40px">
|
|
78
79
|
<span>需求日期:{{ purchaseRecords.f_demand_date }}</span>
|
|
79
80
|
<span>合同状况:{{ purchaseRecords.f_contract_status }}</span>
|
|
80
81
|
</p>
|
|
81
|
-
<p class="space-between" style="padding: 10px
|
|
82
|
+
<p class="space-between" style="padding: 10px 250px 10px 40px">
|
|
82
83
|
<span>部门经理:</span>
|
|
83
84
|
<span>分管副总:</span>
|
|
84
85
|
</p>
|
|
@@ -102,10 +102,12 @@
|
|
|
102
102
|
<th style="white-space: nowrap;">型号</th>
|
|
103
103
|
<th style="white-space: nowrap;">规格</th>
|
|
104
104
|
<th style="white-space: nowrap;">单位</th>
|
|
105
|
-
<th style="white-space: nowrap;"
|
|
105
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
106
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
106
107
|
<th style="white-space: nowrap;">预购数量</th>
|
|
107
108
|
<th style="white-space: nowrap;">开票金额</th>
|
|
108
109
|
<th style="white-space: nowrap;">已购数量</th>
|
|
110
|
+
<th style="white-space: nowrap;">剩余数量</th>
|
|
109
111
|
<th style="white-space: nowrap;">实际金额</th>
|
|
110
112
|
<th style="white-space: nowrap;">开票库存</th>
|
|
111
113
|
<th style="white-space: nowrap;">备注</th>
|
|
@@ -119,9 +121,11 @@
|
|
|
119
121
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
120
122
|
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
121
123
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
124
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
122
125
|
<td style="text-align: center;">{{row.f_forecast_quantity}}</td>
|
|
123
126
|
<td style="text-align: center;">{{row.f_forecast_money}}</td>
|
|
124
127
|
<td style="text-align: center;">{{row.f_quantity}}</td>
|
|
128
|
+
<td style="text-align: center;">{{row.f_forecast_quantity-row.f_quantity}}</td>
|
|
125
129
|
<td style="text-align: center;">{{row.f_actual_money}}</td>
|
|
126
130
|
<td style="text-align: center;">{{row.f_stock}}</td>
|
|
127
131
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue
CHANGED
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
close-on-select ></v-select>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="form-group col-sm-3 button-range">
|
|
29
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
30
|
+
:field="$parent.$parent.getfield"
|
|
31
|
+
sqlurl="rs/logic/exportfile"
|
|
32
|
+
sql-name="getPurchaseOrder"
|
|
33
|
+
template-name='采购记录'
|
|
34
|
+
:choose-col="true"></export-excel>
|
|
29
35
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
30
36
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
31
37
|
<div
|
|
@@ -195,38 +201,58 @@ Date.prototype.Format = function (fmt) {
|
|
|
195
201
|
export default {
|
|
196
202
|
title: '库存信息',
|
|
197
203
|
props: ['showData'],
|
|
198
|
-
data
|
|
204
|
+
data() {
|
|
199
205
|
return {
|
|
200
206
|
model: new PagedList('rs/sql/getPurchaseOrder', 30, {
|
|
201
207
|
data: {
|
|
202
208
|
orgid: this.$login.f.orgid
|
|
203
209
|
}
|
|
204
210
|
}),
|
|
205
|
-
criteriaShow: false
|
|
211
|
+
criteriaShow: false,
|
|
212
|
+
getfield: {
|
|
213
|
+
'f_contract_number': '合同编号',
|
|
214
|
+
'f_supplier': '供货商',
|
|
215
|
+
'f_contract_status': '合同状态',
|
|
216
|
+
'f_order_number': '订单编号',
|
|
217
|
+
'f_applicant': '申请人',
|
|
218
|
+
'f_invoicing_date': '时间',
|
|
219
|
+
'f_demand_date': '需求日期',
|
|
220
|
+
'f_lump_sum': '开票金额',
|
|
221
|
+
'f_actual_money': '实际金额',
|
|
222
|
+
'f_status': '状态'
|
|
223
|
+
}
|
|
206
224
|
}
|
|
207
225
|
},
|
|
208
|
-
ready
|
|
226
|
+
ready() {
|
|
209
227
|
// 调用查询
|
|
210
228
|
this.search()
|
|
211
229
|
},
|
|
212
230
|
methods: {
|
|
213
|
-
invalidOrder
|
|
231
|
+
invalidOrder(row) {
|
|
214
232
|
this.$dispatch('invalidOrder', row)
|
|
215
233
|
},
|
|
216
|
-
view
|
|
234
|
+
view(row) {
|
|
217
235
|
this.$dispatch('view', row)
|
|
218
236
|
},
|
|
219
|
-
clear
|
|
237
|
+
clear() {
|
|
220
238
|
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
221
239
|
this.$refs.cp.$refs.cri.model[key] = null
|
|
222
240
|
})
|
|
223
241
|
},
|
|
224
242
|
// 查询
|
|
225
|
-
search
|
|
243
|
+
search() {
|
|
226
244
|
this.$dispatch('search')
|
|
227
245
|
}
|
|
228
246
|
},
|
|
229
247
|
computed: {
|
|
248
|
+
getCondition() {
|
|
249
|
+
return {
|
|
250
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
251
|
+
data: {
|
|
252
|
+
orgid: this.$login.f.orgid
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
230
256
|
}
|
|
231
257
|
}
|
|
232
258
|
</script>
|
package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue
CHANGED
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
v-on:keyup.enter="$parent.$parent.search()" condition="mw.f_cea_number like '%{}%'" placeholder='CEA号'>
|
|
20
20
|
</div>
|
|
21
21
|
<div class="form-group col-sm-3 button-range">
|
|
22
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
23
|
+
:field="$parent.$parent.getfield"
|
|
24
|
+
sqlurl="rs/logic/exportfile"
|
|
25
|
+
sql-name="getMaterialWarehousing"
|
|
26
|
+
template-name='入库记录'
|
|
27
|
+
:choose-col="true"></export-excel>
|
|
22
28
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
23
29
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
24
30
|
<div
|
|
@@ -54,11 +60,17 @@
|
|
|
54
60
|
condition="m.f_material_norm like '%{}%'">
|
|
55
61
|
</div>
|
|
56
62
|
<div class="form-group col-sm-3">
|
|
57
|
-
<label class="font_normal_body"
|
|
63
|
+
<label class="font_normal_body">含税单价:</label>
|
|
58
64
|
<input type="text" class="input_search" style="width: 60%" placeholder='单价' v-model="model.f_price"
|
|
59
65
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
60
66
|
condition="m.f_price = '{}'">
|
|
61
67
|
</div>
|
|
68
|
+
<div class="form-group col-sm-3">
|
|
69
|
+
<label class="font_normal_body">不含税单价:</label>
|
|
70
|
+
<input type="text" class="input_search" style="width: 60%" placeholder='单价' v-model="model.f_noprice"
|
|
71
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
72
|
+
condition="m.f_noprice = '{}'">
|
|
73
|
+
</div>
|
|
62
74
|
<div class="form-group col-sm-3">
|
|
63
75
|
<label class="font_normal_body">单  位:</label>
|
|
64
76
|
<input type="text" class="input_search" style="width: 60%" placeholder='单位' v-model="model.f_unit"
|
|
@@ -104,7 +116,8 @@
|
|
|
104
116
|
<th style="white-space: nowrap;">材料名称</th>
|
|
105
117
|
<th style="white-space: nowrap;">材料型号</th>
|
|
106
118
|
<th style="white-space: nowrap;">材料规格</th>
|
|
107
|
-
<th style="white-space: nowrap;"
|
|
119
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
120
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
108
121
|
<th style="white-space: nowrap;">单位</th>
|
|
109
122
|
<th style="white-space: nowrap;">合同号</th>
|
|
110
123
|
<th style="white-space: nowrap;">厂家</th>
|
|
@@ -138,6 +151,9 @@
|
|
|
138
151
|
<td style="text-align: center;">
|
|
139
152
|
<nobr><font>{{row.f_price}}</font></nobr>
|
|
140
153
|
</td>
|
|
154
|
+
<td style="text-align: center;">
|
|
155
|
+
<nobr><font>{{row.f_noprice}}</font></nobr>
|
|
156
|
+
</td>
|
|
141
157
|
<td style="text-align: center;">
|
|
142
158
|
<nobr><font>{{row.f_unit}}</font></nobr>
|
|
143
159
|
</td>
|
|
@@ -206,7 +222,25 @@ export default {
|
|
|
206
222
|
orgid: this.$login.f.orgid
|
|
207
223
|
}
|
|
208
224
|
}),
|
|
209
|
-
criteriaShow: false
|
|
225
|
+
criteriaShow: false,
|
|
226
|
+
getfield: {
|
|
227
|
+
'f_material_name': '材料名称',
|
|
228
|
+
'f_material_model': '材料型号',
|
|
229
|
+
'f_material_norm': '材料规格',
|
|
230
|
+
'f_price': '含税单价',
|
|
231
|
+
'f_noprice': '不含税单价',
|
|
232
|
+
'f_unit': '单位',
|
|
233
|
+
'f_contract_number': '合同号',
|
|
234
|
+
'f_supplier': '厂家',
|
|
235
|
+
'f_warehousing_quantity': '入库数量',
|
|
236
|
+
'f_warehousing_surplus': '库存结余',
|
|
237
|
+
'f_prepare_quantity': '预出库数量',
|
|
238
|
+
'f_ticket_number': '入库票号',
|
|
239
|
+
'f_cea_number': 'CEA号',
|
|
240
|
+
'f_warehousing_date': '入库时间',
|
|
241
|
+
'f_warehousing_operator': '操作人',
|
|
242
|
+
'f_warehousing_remarks': '备注'
|
|
243
|
+
}
|
|
210
244
|
}
|
|
211
245
|
},
|
|
212
246
|
ready () {
|
|
@@ -225,6 +259,14 @@ export default {
|
|
|
225
259
|
}
|
|
226
260
|
},
|
|
227
261
|
computed: {
|
|
262
|
+
getCondition() {
|
|
263
|
+
return {
|
|
264
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
265
|
+
data: {
|
|
266
|
+
orgid: this.$login.f.orgid
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
228
270
|
}
|
|
229
271
|
}
|
|
230
272
|
</script>
|
|
@@ -54,12 +54,10 @@
|
|
|
54
54
|
<v-select
|
|
55
55
|
v-model="model.f_project_type"
|
|
56
56
|
placeholder='工程类型'
|
|
57
|
-
condition="u.f_project_type
|
|
57
|
+
condition="u.f_project_type in {} "
|
|
58
58
|
:value.sync="model.f_project_type"
|
|
59
59
|
:options='$parent.$parent.projectTypes'
|
|
60
|
-
|
|
61
|
-
:value-single="true"
|
|
62
|
-
close-on-select ></v-select>
|
|
60
|
+
></v-select>
|
|
63
61
|
</div>
|
|
64
62
|
<div class="form-group col-sm-3">
|
|
65
63
|
<label class="font_normal_body">办理环节:</label>
|
|
@@ -202,7 +200,7 @@
|
|
|
202
200
|
data () {
|
|
203
201
|
return {
|
|
204
202
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目类型')], // 所有报建类型
|
|
205
|
-
projectTypes: [{label: '全部', value: ''}],
|
|
203
|
+
projectTypes: [{label: '全部', value: ''},...this.$appdata.getParam('工程类型')],
|
|
206
204
|
projectAreas: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目区域')], // 所有报建类型
|
|
207
205
|
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
208
206
|
model: new PagedList('rs/sql/checkuser', 20, {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
item.value = null
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
if (item.default || item.default == 0) {
|
|
89
|
+
if ((item.default || item.default == 0) && item.type !== 'datepicker' ) {
|
|
90
90
|
item.value = item.default
|
|
91
91
|
}
|
|
92
92
|
if (this.selectdata[item.field]) {
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
item.value = 0
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
106
105
|
// datepicker 没有值给当时值
|
|
107
106
|
if (item.type === 'datepicker' && !item.value && item.default) {
|
|
108
|
-
|
|
107
|
+
|
|
108
|
+
item.value = new Date().Format(item.format || 'yyyy-MM-dd HH:mm:ss')
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// 如果配置类型为select,优先从参数列表获取options
|
|
@@ -457,11 +457,48 @@
|
|
|
457
457
|
},
|
|
458
458
|
// 失去焦点出触发事件
|
|
459
459
|
async 'onchange'(index) {
|
|
460
|
+
|
|
461
|
+
if (this.show_data.defname === '编制合同') {
|
|
462
|
+
if (this.show_data.fields[index].label==='室外安装费'|| this.show_data.fields[index].label==='室外甲供材'|| this.show_data.fields[index].label==='室外设备费'||this.show_data.fields[index].label==='室内安装费'|| this.show_data.fields[index].label==='室内甲供材'|| this.show_data.fields[index].label==='室内设备费') {
|
|
463
|
+
|
|
464
|
+
let a1 = this.getLableValue('室外安装费')
|
|
465
|
+
let b1 = this.getLableValue('室外甲供材')
|
|
466
|
+
let c1=this.getLableValue('室外设备费')
|
|
467
|
+
let a2 = this.getLableValue('室内安装费')
|
|
468
|
+
let b2 = this.getLableValue('室内甲供材')
|
|
469
|
+
let c2=this.getLableValue('室内设备费')
|
|
470
|
+
if(this.show_data.f_project_type!='支线'&&this.show_data.f_project_type!='主体'){
|
|
471
|
+
this.setLabelValue('合同总造价', parseFloat(parseFloat(a1) + parseFloat(b1) + parseFloat(c1)+ parseFloat(a2)+ parseFloat(b2)+ parseFloat(c2)).toFixed(2))
|
|
472
|
+
this.setLabelValue('安装费总和',parseFloat(parseFloat(a1)+ parseFloat(a2)).toFixed(2))
|
|
473
|
+
}
|
|
474
|
+
console.log('----------------------------------------')
|
|
475
|
+
}
|
|
476
|
+
if(this.show_data.fields[index].label==='室外安装费'|| this.show_data.fields[index].label==='室外甲供材'|| this.show_data.fields[index].label==='室外设备费'){
|
|
477
|
+
let a1 = this.getLableValue('室外安装费')
|
|
478
|
+
let b1 = this.getLableValue('室外甲供材')
|
|
479
|
+
let c1=this.getLableValue('室外设备费')
|
|
480
|
+
if(this.show_data.f_project_type==='支线'||this.show_data.f_project_type==='主体') {
|
|
481
|
+
this.setLabelValue('室外税金', parseFloat(parseFloat(a1) * 0.03).toFixed(2))
|
|
482
|
+
this.setLabelValue('室外造价', parseFloat(parseFloat(a1) + parseFloat(b1) + parseFloat(c1) + parseFloat(a1) * 0.03).toFixed(2))
|
|
483
|
+
}else{
|
|
484
|
+
this.setLabelValue('室外税金', parseFloat(parseFloat(parseFloat(a1) + parseFloat(b1) + parseFloat(c1)) * 0.03).toFixed(2))
|
|
485
|
+
this.setLabelValue('室外造价', parseFloat(parseFloat(a1) + parseFloat(b1) + parseFloat(c1)).toFixed(2))
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
if(this.show_data.fields[index].label==='室内安装费'|| this.show_data.fields[index].label==='室内甲供材'|| this.show_data.fields[index].label==='室内设备费'){
|
|
489
|
+
let a2 = this.getLableValue('室内安装费')
|
|
490
|
+
let b2 = this.getLableValue('室内甲供材')
|
|
491
|
+
let c2=this.getLableValue('室内设备费')
|
|
492
|
+
this.setLabelValue('室内税金', parseFloat(parseFloat(parseFloat(a2) + parseFloat(b2) + parseFloat(c2)) * 0.03).toFixed(2))
|
|
493
|
+
this.setLabelValue('室内造价',parseFloat(parseFloat(a2) + parseFloat(b2) + parseFloat(c2)).toFixed(2))
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
}
|
|
497
|
+
|
|
460
498
|
console.log('失去焦点')
|
|
461
499
|
if (
|
|
462
500
|
this.show_data.fields[index].label === '合同编号' ||
|
|
463
|
-
this.show_data.fields[index].label === '工程编号'
|
|
464
|
-
this.show_data.fields[index].label === 'CEA号'
|
|
501
|
+
this.show_data.fields[index].label === '工程编号'
|
|
465
502
|
) {
|
|
466
503
|
try {
|
|
467
504
|
await this.checkDuplicate(index)
|
|
@@ -68,19 +68,37 @@
|
|
|
68
68
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_name.required ? 'has-error' : '']">
|
|
69
69
|
<label class="control-label col-sm-2">材料名称</label>
|
|
70
70
|
<div class="col-sm-9">
|
|
71
|
-
<input
|
|
71
|
+
<input type="text" v-show="false" v-model="material.f_material_name" v-validate:f_material_name = "['required']" >
|
|
72
|
+
<input-select
|
|
73
|
+
class="select select_list"
|
|
74
|
+
:value.sync="material.f_material_name"
|
|
75
|
+
v-model="material.f_material_name"
|
|
76
|
+
:options="f_material_name"
|
|
77
|
+
:valueSingle="true"></input-select>
|
|
72
78
|
</div>
|
|
73
79
|
</div>
|
|
74
80
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_model.required ? 'has-error' : '']">
|
|
75
81
|
<label class="control-label col-sm-2">材料型号</label>
|
|
76
82
|
<div class="col-sm-9">
|
|
77
|
-
<input
|
|
83
|
+
<input type="text" v-show="false" v-model="material.f_material_model" v-validate:f_material_model = "['required']" >
|
|
84
|
+
<input-select
|
|
85
|
+
class="select select_list"
|
|
86
|
+
:value.sync="material.f_material_model"
|
|
87
|
+
v-model="material.f_material_model"
|
|
88
|
+
:options="f_material_model"
|
|
89
|
+
:valueSingle="true"></input-select>
|
|
78
90
|
</div>
|
|
79
91
|
</div>
|
|
80
92
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_norm.required ? 'has-error' : '']">
|
|
81
93
|
<label class="control-label col-sm-2">材料规格</label>
|
|
82
94
|
<div class="col-sm-9">
|
|
83
|
-
<input
|
|
95
|
+
<input type="text" v-show="false" v-model="material.f_material_norm" v-validate:f_material_norm = "['required']" >
|
|
96
|
+
<input-select
|
|
97
|
+
class="select select_list"
|
|
98
|
+
:value.sync="material.f_material_norm"
|
|
99
|
+
v-model="material.f_material_norm"
|
|
100
|
+
:options="f_material_norm"
|
|
101
|
+
:valueSingle="true"></input-select>
|
|
84
102
|
</div>
|
|
85
103
|
</div>
|
|
86
104
|
<div class="col-sm-12 form-group" :class="[$mv.f_unit.required ? 'has-error' : '']">
|
|
@@ -126,6 +144,9 @@ export default {
|
|
|
126
144
|
title: '材料详细信息',
|
|
127
145
|
data () {
|
|
128
146
|
return {
|
|
147
|
+
f_material_name:[{label:'全部',value:''},... this.$appdata.getParam('秦华材料名称')],
|
|
148
|
+
f_material_model:[{label:'全部',value:''},... this.$appdata.getParam('秦华材料型号')],
|
|
149
|
+
f_material_norm:[{label:'全部',value:''},... this.$appdata.getParam('秦华材料规格')],
|
|
129
150
|
ceaList: [],
|
|
130
151
|
model: {
|
|
131
152
|
data: []
|
package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue
CHANGED
|
@@ -132,7 +132,12 @@
|
|
|
132
132
|
|
|
133
133
|
<script>
|
|
134
134
|
import {PagedList} from 'vue-client'
|
|
135
|
-
import
|
|
135
|
+
import * as morentime from '../../../../Util'
|
|
136
|
+
|
|
137
|
+
let readySomething = async function (self) {
|
|
138
|
+
self.$refs.cp.$refs.cri.model.startDate = self.data ? self.data.startDate : morentime.toStandardDateString() + ' 00:00:00'
|
|
139
|
+
self.$refs.cp.$refs.cri.model.endDate = self.data ? self.data.endDate : morentime.toStandardDateString() + ' 23:59:59'
|
|
140
|
+
}
|
|
136
141
|
// Date格式化
|
|
137
142
|
Date.prototype.Format = function (fmt) {
|
|
138
143
|
var o = {
|
|
@@ -150,6 +155,8 @@ Date.prototype.Format = function (fmt) {
|
|
|
150
155
|
}
|
|
151
156
|
return fmt
|
|
152
157
|
}
|
|
158
|
+
|
|
159
|
+
|
|
153
160
|
export default {
|
|
154
161
|
title: '材料列表',
|
|
155
162
|
props: ['showData'],
|
|
@@ -165,7 +172,12 @@ export default {
|
|
|
165
172
|
},
|
|
166
173
|
ready () {
|
|
167
174
|
// 调用查询
|
|
168
|
-
this.search()
|
|
175
|
+
this.search(),
|
|
176
|
+
readySomething(this).then(() => {
|
|
177
|
+
this.$emit('ready')
|
|
178
|
+
}).catch((error) => {
|
|
179
|
+
this.$emit('error', error)
|
|
180
|
+
})
|
|
169
181
|
},
|
|
170
182
|
methods: {
|
|
171
183
|
openSeasoningMaterial () {
|