apply-clients 3.2.50 → 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.
- package/package.json +4 -3
- package/src/AndroidApp.vue +2 -2
- package/src/apply.js +7 -0
- package/src/components/app_apply/Process/AppExplorationUser.vue +200 -200
- package/src/components/app_apply/Process/AppServiceControl.vue +620 -620
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/image/tubiao2.png +0 -0
- package/src/components/image//347/247/246/345/215/216.png +0 -0
- package/src/components/product/Apply/Supervisory/SupervisoryhCart.vue +1 -1
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +104 -7
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +7 -3
- package/src/components/product/Ledger/Function/InstallInfoSelect.vue +1 -1
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +11 -4
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +11 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +9 -1
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +56 -14
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +10 -2
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +33 -2
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +149 -2
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +17 -5
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +10 -8
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +13 -6
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +40 -9
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +10 -60
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +4 -4
- package/src/components/product/Ledger/Process/ProcessBusiness.vue +8 -0
- package/src/components/product/Ledger/Process/ProcessSelect.vue +39 -14
- package/src/components/product/Ledger/Process/Service/ServiceControl.vue +747 -639
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingAddingMaterial.vue +330 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +117 -25
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingMaterialDepot.vue +113 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingMaterialList.vue +143 -0
- package/src/components/product/Ledger/Supervisory/BatchProcessing.vue +79 -0
- package/src/components/product/Ledger/Supervisory/BathProcessinglist.vue +205 -0
- package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +8 -0
- package/src/components/product/Ledger/Supervisory/Service/PrepareContract.vue +393 -0
- package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +2 -7
- package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +1 -1
- package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +79 -16
- package/src/components/product/ServiceView.vue +1 -3
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<label class="font text-left">项目名称:</label>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="col-xs-8" >
|
|
11
|
-
<input class="search_input input-font" v-model=model.f_entry_name condition="u.f_entry_name
|
|
11
|
+
<input class="search_input input-font" v-model=model.f_entry_name condition="CHARINDEX('{}',u.f_entry_name)>0 " />
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="row app-row">
|
|
Binary file
|
|
Binary file
|
|
@@ -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}}
|
|
@@ -171,6 +171,7 @@
|
|
|
171
171
|
<template partial='head'>
|
|
172
172
|
<tr>
|
|
173
173
|
<th style="white-space: nowrap;">序号</th>
|
|
174
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
174
175
|
<th style="white-space: nowrap;">材料名称</th>
|
|
175
176
|
<th style="white-space: nowrap;">材料型号</th>
|
|
176
177
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -179,7 +180,7 @@
|
|
|
179
180
|
<th style="white-space: nowrap;">不含税单价</th>
|
|
180
181
|
<th style="white-space: nowrap;" v-if="type !== 'add'">累计数量</th>
|
|
181
182
|
<th style="white-space: nowrap;" v-if="$parent.$parent.type !== 'view'">
|
|
182
|
-
<button @click="$parent.$parent.
|
|
183
|
+
<button @click="$parent.$parent.isshow()" type="button" class="btn btn-info">
|
|
183
184
|
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
|
184
185
|
</button>
|
|
185
186
|
<a href="/download/材料批量导入模板.xlsx" type="button" class="btn btn-info">模板下载</a>
|
|
@@ -198,6 +199,7 @@
|
|
|
198
199
|
<template partial='body'>
|
|
199
200
|
<tr>
|
|
200
201
|
<td style="text-align: center;">{{$index+1}}</td>
|
|
202
|
+
<td style="text-align: center;">{{row.f_material_coding}}</td>
|
|
201
203
|
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
202
204
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
203
205
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
@@ -240,9 +242,13 @@
|
|
|
240
242
|
<td style="text-align: center;">{{row.f_facility_money}}</td>
|
|
241
243
|
<td style="text-align: center;" v-if="type !== 'add'">{{row.f_total}}</td>
|
|
242
244
|
<td style="text-align: center;" v-if="$parent.$parent.type !== 'view'">
|
|
245
|
+
<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.openUpdate($index,row)">修改</button>
|
|
246
|
+
<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.delete($index)">删除</button>
|
|
247
|
+
</td>
|
|
248
|
+
<!--td style="text-align: center;" v-if="$parent.$parent.type !== 'view'">
|
|
243
249
|
<button type="button" v-if="!row.id" name="button" class="btn btn-link" @click="$parent.$parent.openUpdate($index,row)">修改</button>
|
|
244
250
|
<button type="button" v-if="!row.id" name="button" class="btn btn-link" @click="$parent.$parent.delete($index)">删除</button>
|
|
245
|
-
</td
|
|
251
|
+
</td>-->
|
|
246
252
|
</tr>
|
|
247
253
|
</template>
|
|
248
254
|
</data-grid>
|
|
@@ -263,28 +269,48 @@
|
|
|
263
269
|
<span class="modal-title"><font size="3">添加材料</font></span>
|
|
264
270
|
</header>
|
|
265
271
|
<article slot="modal-body" class="form-horizontal modal-body clearfix" v-if="contract.f_contract_category === '物料'">
|
|
272
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
273
|
+
<label class="control-label col-sm-2">选择材料</label>
|
|
274
|
+
<div class="col-sm-9">
|
|
275
|
+
<input type="text" v-show="false" v-model="material.id" v-validate:material = "['required']" >
|
|
276
|
+
<input-select
|
|
277
|
+
class="select select_list"
|
|
278
|
+
:value.sync="material"
|
|
279
|
+
v-model="material"
|
|
280
|
+
:timeout="500"
|
|
281
|
+
@select-search="select_search"
|
|
282
|
+
:options="contractMaterial"
|
|
283
|
+
:valueSingle="true"></input-select>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_material_coding.required ? 'has-error' : '']">
|
|
287
|
+
<label class="control-label col-sm-2">材料编码</label>
|
|
288
|
+
<div class="col-sm-9">
|
|
289
|
+
<input class="form-control" type="text" v-validate:f_material_coding = "['required']" v-model="material.f_material_coding" :value="material.f_qhmaterial_coding"/>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
266
292
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_name.required ? 'has-error' : '']">
|
|
267
293
|
<label class="control-label col-sm-2">材料名称</label>
|
|
268
294
|
<div class="col-sm-9">
|
|
269
|
-
<input class="form-control" type="text" v-validate:f_material_name = "['required']" v-model="material.f_material_name" :value="material.
|
|
295
|
+
<input class="form-control" type="text" v-validate:f_material_name = "['required']" v-model="material.f_material_name" :value="material.f_qhmaterial_name"/>
|
|
270
296
|
</div>
|
|
271
297
|
</div>
|
|
272
298
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_model.required ? 'has-error' : '']">
|
|
273
299
|
<label class="control-label col-sm-2">材料型号</label>
|
|
274
300
|
<div class="col-sm-9">
|
|
275
|
-
<input class="form-control" type="text" v-validate:f_material_model = "['required']" v-model="material.f_material_model" :value="material.
|
|
301
|
+
<input class="form-control" type="text" v-validate:f_material_model = "['required']" v-model="material.f_material_model" :value="material.f_qhmaterial_model"/>
|
|
276
302
|
</div>
|
|
277
303
|
</div>
|
|
278
304
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_norm.required ? 'has-error' : '']">
|
|
279
305
|
<label class="control-label col-sm-2">材料规格</label>
|
|
280
306
|
<div class="col-sm-9">
|
|
281
|
-
<input class="form-control" type="text" v-validate:f_material_norm = "['required']" v-model="material.f_material_norm" :value="material.
|
|
307
|
+
<input class="form-control" type="text" v-validate:f_material_norm = "['required']" v-model="material.f_material_norm" :value="material.f_qhmaterial_norm"/>
|
|
282
308
|
</div>
|
|
283
309
|
</div>
|
|
284
310
|
<div class="col-sm-12 form-group" :class="[$mv.f_unit.required ? 'has-error' : '']">
|
|
285
311
|
<label class="control-label col-sm-2">单  位</label>
|
|
286
312
|
<div class="col-sm-9">
|
|
287
|
-
<input class="form-control" type="text" v-validate:f_unit = "['required']" v-model="material.f_unit" :value="material.
|
|
313
|
+
<input class="form-control" type="text" v-validate:f_unit = "['required']" v-model="material.f_unit" :value="material.f_qhunit"/>
|
|
288
314
|
</div>
|
|
289
315
|
</div>
|
|
290
316
|
<div class="col-sm-12 form-group" :class="[$mv.f_price.required ? 'has-error' : '']">
|
|
@@ -348,7 +374,7 @@
|
|
|
348
374
|
</template>
|
|
349
375
|
|
|
350
376
|
<script>
|
|
351
|
-
import {PagedList} from 'vue-client'
|
|
377
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
352
378
|
import {getNowDate,isEmpty} from '../../../../Util'
|
|
353
379
|
// Date格式化
|
|
354
380
|
Date.prototype.Format = function (fmt) {
|
|
@@ -384,6 +410,7 @@ export default {
|
|
|
384
410
|
showModal: false,
|
|
385
411
|
material: {},
|
|
386
412
|
getfield: {
|
|
413
|
+
'f_material_coding':'材料编码',
|
|
387
414
|
'f_material_name': '材料名称',
|
|
388
415
|
'f_material_model': '材料型号',
|
|
389
416
|
'f_material_norm': '材料规格',
|
|
@@ -392,6 +419,7 @@ export default {
|
|
|
392
419
|
},
|
|
393
420
|
facility: {},
|
|
394
421
|
index: null,
|
|
422
|
+
contractMaterial: [],
|
|
395
423
|
showFile: false
|
|
396
424
|
}
|
|
397
425
|
},
|
|
@@ -402,6 +430,71 @@ export default {
|
|
|
402
430
|
|
|
403
431
|
},
|
|
404
432
|
methods: {
|
|
433
|
+
select_search(text){
|
|
434
|
+
debugger
|
|
435
|
+
console.log("----------------"+text)
|
|
436
|
+
debugger
|
|
437
|
+
if(text){
|
|
438
|
+
let pcdText=text=`and f_qhmaterial_coding like '${text}%'`
|
|
439
|
+
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data:{items:"*",tablename:"t_qinhua_material",condition:`f_qhmaterial_coding is not null ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
440
|
+
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
441
|
+
this.contractMaterial=[]
|
|
442
|
+
if(res.data.length>0){
|
|
443
|
+
console.log("查出的值",res.data)
|
|
444
|
+
|
|
445
|
+
res.data.forEach((item)=>{
|
|
446
|
+
console.log("打印没存值前的内容",this.contractMaterial)
|
|
447
|
+
debugger
|
|
448
|
+
this.contractMaterial.push({
|
|
449
|
+
'label': `${item.f_qhmaterial_coding}--${item.f_qhmaterial_name}--${item.f_qhmaterial_model}--${item.f_qhmaterial_norm}--${item.f_qhunit}`,
|
|
450
|
+
'value': item
|
|
451
|
+
})
|
|
452
|
+
})
|
|
453
|
+
}
|
|
454
|
+
})
|
|
455
|
+
}else{
|
|
456
|
+
this.getContractMaterial()
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
changeMaterial () {
|
|
460
|
+
if (!isEmpty(this.material.id)) {
|
|
461
|
+
let flag = this.model.data.some(item => {
|
|
462
|
+
if (item.id === this.material.id) {
|
|
463
|
+
return true
|
|
464
|
+
}
|
|
465
|
+
return false
|
|
466
|
+
})
|
|
467
|
+
if (flag) {
|
|
468
|
+
this.$showAlert('该物料已经存在,如需再次添加,请进行修改操作!!!', 'warning', 3000)
|
|
469
|
+
this.closeModal()
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
async isshow(){
|
|
474
|
+
this.showModal=!this.showModal
|
|
475
|
+
await this.getContractMaterial()
|
|
476
|
+
|
|
477
|
+
this.showMaterial = true
|
|
478
|
+
},
|
|
479
|
+
async getContractMaterial () {
|
|
480
|
+
debugger
|
|
481
|
+
let data = {
|
|
482
|
+
condition: `1=1`
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
let res = await this.$resetpost(
|
|
486
|
+
`rs/sql/getQhMaterial`,
|
|
487
|
+
{data: data},
|
|
488
|
+
{resolveMsg: null, rejectMsg: '秦华物料查询失败!!!'}
|
|
489
|
+
)
|
|
490
|
+
debugger
|
|
491
|
+
res.data.forEach(item => {
|
|
492
|
+
this.contractMaterial.push({
|
|
493
|
+
'label': `${item.f_qhmaterial_coding}--${item.f_qhmaterial_name}--${item.f_qhmaterial_model}--${item.f_qhmaterial_norm}--${item.f_qhunit}`,
|
|
494
|
+
'value': item
|
|
495
|
+
})
|
|
496
|
+
})
|
|
497
|
+
},
|
|
405
498
|
closeFile () {
|
|
406
499
|
this.showFile = false
|
|
407
500
|
// 将选的文件清空
|
|
@@ -452,6 +545,7 @@ export default {
|
|
|
452
545
|
if (this.contract.f_contract_category === '物料') {
|
|
453
546
|
let flag = this.model.data.some(item => {
|
|
454
547
|
if (
|
|
548
|
+
item.f_material_coding === this.material.f_material_coding &&
|
|
455
549
|
item.f_material_name === this.material.f_material_name &&
|
|
456
550
|
item.f_material_norm === this.material.f_material_norm &&
|
|
457
551
|
item.f_material_model === this.material.f_material_model &&
|
|
@@ -510,6 +604,7 @@ export default {
|
|
|
510
604
|
this.material = {}
|
|
511
605
|
this.facility = {}
|
|
512
606
|
this.index = null
|
|
607
|
+
this.contractMaterial=[]
|
|
513
608
|
},
|
|
514
609
|
// 合同类别
|
|
515
610
|
changeContractCategory () {
|
|
@@ -594,6 +689,8 @@ export default {
|
|
|
594
689
|
this.closeFile()
|
|
595
690
|
return
|
|
596
691
|
}
|
|
692
|
+
item.material.f_price=parseFloat(item.material.f_price).toFixed(2)
|
|
693
|
+
item.material.f_noprice=parseFloat(item.material.f_noprice).toFixed(2)
|
|
597
694
|
this.material = item.material
|
|
598
695
|
}
|
|
599
696
|
if (this.contract.f_contract_category === '设备') {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_cea_number.required ? 'has-error' : '']">
|
|
98
98
|
<label class="control-label-justify control-label col-sm-6">CEA号</label>
|
|
99
99
|
<div class="col-sm-6">
|
|
100
|
-
<input-select
|
|
100
|
+
<!-- <input-select
|
|
101
101
|
class="select select_list"
|
|
102
102
|
v-show="type === 'lend'"
|
|
103
103
|
:value.sync="cea"
|
|
@@ -108,6 +108,10 @@
|
|
|
108
108
|
readonly
|
|
109
109
|
v-show="type === 'return'" v-validate:f_cea_number = "['required']"
|
|
110
110
|
v-model="facility.lend.f_cea_number"
|
|
111
|
+
:value.sync="cea.f_cea_number"/>-->
|
|
112
|
+
<input class="form-control input_view" type="text"
|
|
113
|
+
:readonly="type === 'return'"
|
|
114
|
+
v-model="facility.lend.f_cea_number"
|
|
111
115
|
:value.sync="cea.f_cea_number"/>
|
|
112
116
|
</div>
|
|
113
117
|
</div>
|
|
@@ -478,7 +482,7 @@ export default {
|
|
|
478
482
|
return
|
|
479
483
|
}
|
|
480
484
|
|
|
481
|
-
|
|
485
|
+
/* res.data.forEach(item => {
|
|
482
486
|
this.ceaList.push({
|
|
483
487
|
'label': item.f_cea_number,
|
|
484
488
|
'value': {
|
|
@@ -487,7 +491,7 @@ export default {
|
|
|
487
491
|
f_entry_name: item.f_entry_name
|
|
488
492
|
}
|
|
489
493
|
})
|
|
490
|
-
})
|
|
494
|
+
})*/
|
|
491
495
|
|
|
492
496
|
},
|
|
493
497
|
// 获取合同
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div class="form-group col-sm-3">
|
|
8
8
|
<label class="font_normal_body">项目名称:</label>
|
|
9
9
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
|
|
10
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="
|
|
10
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="CHARINDEX('{}',u.f_entry_name)>0" placeholder='项目名称'>
|
|
11
11
|
</div>
|
|
12
12
|
<div class="form-group col-sm-3">
|
|
13
13
|
<label class="font_normal_body">工程编号:</label>
|
package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue
CHANGED
|
@@ -111,6 +111,12 @@
|
|
|
111
111
|
condition="md.f_delivery_date <= '{}'">
|
|
112
112
|
</datepicker>
|
|
113
113
|
</div>
|
|
114
|
+
<div class="form-group col-sm-3">
|
|
115
|
+
<label class="font_normal_body">材料编码:</label>
|
|
116
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料编码' v-model="model.f_material_coding"
|
|
117
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
118
|
+
condition="m.f_material_coding like '%{}%'">
|
|
119
|
+
</div>
|
|
114
120
|
</div>
|
|
115
121
|
</div>
|
|
116
122
|
</criteria>
|
|
@@ -118,7 +124,7 @@
|
|
|
118
124
|
<template partial='head'>
|
|
119
125
|
<tr>
|
|
120
126
|
<th style="white-space: nowrap;">序号</th>
|
|
121
|
-
|
|
127
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
122
128
|
<th style="white-space: nowrap;">材料名称</th>
|
|
123
129
|
<th style="white-space: nowrap;">材料型号</th>
|
|
124
130
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -142,9 +148,9 @@
|
|
|
142
148
|
<td style="text-align: center;">
|
|
143
149
|
<nobr><font>{{$index+1}}</font></nobr>
|
|
144
150
|
</td>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
151
|
+
<td style="text-align: center;">
|
|
152
|
+
<nobr><font>{{row.f_material_coding}}</font></nobr>
|
|
153
|
+
</td>
|
|
148
154
|
<td style="text-align: center;">
|
|
149
155
|
<nobr><font>{{row.f_material_name}}</font></nobr>
|
|
150
156
|
</td>
|
|
@@ -230,6 +236,7 @@ export default {
|
|
|
230
236
|
}),
|
|
231
237
|
criteriaShow: false,
|
|
232
238
|
getfield: {
|
|
239
|
+
'f_material_coding': '材料编码',
|
|
233
240
|
'f_material_name': '材料名称',
|
|
234
241
|
'f_material_model': '材料型号',
|
|
235
242
|
'f_material_norm': '材料规格',
|
|
@@ -67,6 +67,12 @@
|
|
|
67
67
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
68
68
|
condition="c.f_supplier like '%{}%'">
|
|
69
69
|
</div>
|
|
70
|
+
<div class="form-group col-sm-3">
|
|
71
|
+
<label class="font_normal_body">材料编码:</label>
|
|
72
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料编码' v-model="model.f_material_coding"
|
|
73
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
74
|
+
condition="m.f_material_coding like '%{}%'">
|
|
75
|
+
</div>
|
|
70
76
|
</div>
|
|
71
77
|
</div>
|
|
72
78
|
</criteria>
|
|
@@ -74,6 +80,7 @@
|
|
|
74
80
|
<template partial='head'>
|
|
75
81
|
<tr>
|
|
76
82
|
<th style="white-space: nowrap;">序号</th>
|
|
83
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
77
84
|
<th style="white-space: nowrap;">材料名称</th>
|
|
78
85
|
<th style="white-space: nowrap;">材料型号</th>
|
|
79
86
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -92,6 +99,9 @@
|
|
|
92
99
|
<td :class="row.f_stock > 0 ? (row.iswarning === 'true' ? 'warning' : '') : 'danger'" style="text-align: center;" @click="$parent.$parent.$parent.view(row)">
|
|
93
100
|
<nobr><font>{{$index+1}}</font></nobr>
|
|
94
101
|
</td>
|
|
102
|
+
<td :class="row.f_stock > 0 ? (row.iswarning === 'true' ? 'warning' : '') : 'danger'" style="text-align: center;" @click="$parent.$parent.$parent.view(row)">
|
|
103
|
+
<nobr><font>{{row.f_material_coding}}</font></nobr>
|
|
104
|
+
</td>
|
|
95
105
|
<td :class="row.f_stock > 0 ? (row.iswarning === 'true' ? 'warning' : '') : 'danger'" style="text-align: center;" @click="$parent.$parent.$parent.view(row)">
|
|
96
106
|
<nobr><font>{{row.f_material_name}}</font></nobr>
|
|
97
107
|
</td>
|
|
@@ -172,6 +182,7 @@ export default {
|
|
|
172
182
|
}),
|
|
173
183
|
criteriaShow: false,
|
|
174
184
|
getfield: {
|
|
185
|
+
'f_material_coding': '材料编码',
|
|
175
186
|
'f_material_name': '材料名称',
|
|
176
187
|
'f_material_model': '材料型号',
|
|
177
188
|
'f_material_norm': '材料规格',
|
package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue
CHANGED
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
<template partial='head'>
|
|
70
70
|
<tr>
|
|
71
71
|
<th style="white-space: nowrap;">序号</th>
|
|
72
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
72
73
|
<th style="white-space: nowrap;">材料名称</th>
|
|
73
74
|
<th style="white-space: nowrap;">材料型号</th>
|
|
74
75
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
<template partial='body'>
|
|
88
89
|
<tr>
|
|
89
90
|
<td style="text-align: center;">{{$index+1}}</td>
|
|
91
|
+
<td style="text-align: center;">{{row.f_material_coding}}</td>
|
|
90
92
|
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
91
93
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
92
94
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
@@ -130,6 +132,12 @@
|
|
|
130
132
|
:valueSingle="true"></input-select>
|
|
131
133
|
</div>
|
|
132
134
|
</div>
|
|
135
|
+
<div class="col-sm-12 form-group">
|
|
136
|
+
<label class="control-label col-sm-2">材料编码</label>
|
|
137
|
+
<div class="col-sm-9">
|
|
138
|
+
<input class="form-control" type="text" :value="material.f_material_coding" readonly />
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
133
141
|
<div class="col-sm-12 form-group">
|
|
134
142
|
<label class="control-label col-sm-2">材料名称</label>
|
|
135
143
|
<div class="col-sm-9">
|
|
@@ -323,7 +331,7 @@
|
|
|
323
331
|
)
|
|
324
332
|
res.data.forEach(item => {
|
|
325
333
|
this.materialList.push({
|
|
326
|
-
'label': `${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
334
|
+
'label': `${item.f_material_coding}--${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
327
335
|
'value': item
|
|
328
336
|
})
|
|
329
337
|
})
|
|
@@ -28,22 +28,25 @@
|
|
|
28
28
|
<div class="col-sm-4 form-group item" :class="[$v.f_warehouse.required ? 'has-error' : '']">
|
|
29
29
|
<label class="control-label-justify control-label col-sm-6">发料仓库</label>
|
|
30
30
|
<div class="col-sm-6">
|
|
31
|
-
<input
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
<input-select
|
|
32
|
+
class="select select_list"
|
|
33
|
+
:value.sync="model.f_warehouse"
|
|
34
|
+
v-model="model.f_warehouse"
|
|
35
|
+
:options="issueWarehouse"
|
|
36
|
+
:valueSingle="true"
|
|
37
|
+
></input-select>
|
|
36
38
|
</div>
|
|
37
39
|
</div>
|
|
38
40
|
<div class="col-sm-4 form-group item" :class="[$v.f_picking_unit.required ? 'has-error' : '']">
|
|
39
41
|
<label class="control-label-justify control-label col-sm-6">施工单位</label>
|
|
40
42
|
<div class="col-sm-6">
|
|
41
|
-
<input
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
<input class="form-control input_view" style=""
|
|
44
|
+
type="text"
|
|
45
|
+
v-validate:f_picking_unit = "['required']"
|
|
46
|
+
v-model="model.f_picking_unit"
|
|
47
|
+
:value="cea.f_construction_team"
|
|
45
48
|
:valueSingle="true">
|
|
46
|
-
</input
|
|
49
|
+
</input>
|
|
47
50
|
</div>
|
|
48
51
|
</div>
|
|
49
52
|
<div class="col-sm-4 form-group item">
|
|
@@ -53,8 +56,10 @@
|
|
|
53
56
|
class="select select_list"
|
|
54
57
|
:value.sync="cea"
|
|
55
58
|
v-model="cea"
|
|
59
|
+
:timeout="500"
|
|
60
|
+
@select-search="select_search"
|
|
56
61
|
:options="ceaList"
|
|
57
|
-
:valueSingle="true"></input-select>
|
|
62
|
+
:valueSingle="true" ></input-select>
|
|
58
63
|
<input class="form-control input_view" type="text"
|
|
59
64
|
v-show="false"
|
|
60
65
|
v-model="model.f_cea_number"
|
|
@@ -76,6 +81,7 @@
|
|
|
76
81
|
<template partial='head'>
|
|
77
82
|
<tr>
|
|
78
83
|
<th style="white-space: nowrap;">序号</th>
|
|
84
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
79
85
|
<th style="white-space: nowrap;">材料名称</th>
|
|
80
86
|
<th style="white-space: nowrap;">材料型号</th>
|
|
81
87
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -95,6 +101,7 @@
|
|
|
95
101
|
<template partial='body'>
|
|
96
102
|
<tr>
|
|
97
103
|
<td style="text-align: center;">{{$index+1}}</td>
|
|
104
|
+
<td style="text-align: center;">{{row.f_material_coding}}</td>
|
|
98
105
|
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
99
106
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
100
107
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
@@ -102,7 +109,7 @@
|
|
|
102
109
|
<td style="text-align: center;">{{row.f_price}}</td>
|
|
103
110
|
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
104
111
|
<td style="text-align: center;">{{row.f_prepare_quantity}}</td>
|
|
105
|
-
<td style="text-align: center;">{{row.
|
|
112
|
+
<td style="text-align: center;">{{parseFloat(row.f_noprice * row.f_prepare_quantity).toFixed(2)}}</td>
|
|
106
113
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
107
114
|
<td style="text-align: center;">
|
|
108
115
|
<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.openUpdateMaterial($index,row)">修改</button>
|
|
@@ -139,6 +146,12 @@
|
|
|
139
146
|
:valueSingle="true"></input-select>
|
|
140
147
|
</div>
|
|
141
148
|
</div>
|
|
149
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
150
|
+
<label class="control-label col-sm-2">材料编码</label>
|
|
151
|
+
<div class="col-sm-9">
|
|
152
|
+
<input class="form-control" type="text" :value="material.f_material_coding" readonly />
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
142
155
|
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
143
156
|
<label class="control-label col-sm-2">材料名称</label>
|
|
144
157
|
<div class="col-sm-9">
|
|
@@ -225,6 +238,7 @@ export default {
|
|
|
225
238
|
title: '材料出库单',
|
|
226
239
|
data () {
|
|
227
240
|
return {
|
|
241
|
+
issueWarehouse:[{label: '全部', value: ''}, ...this.$appdata.getParam('材料发料仓库')],
|
|
228
242
|
cailiaotype: [{label: '全部', value: ''}, ...this.$appdata.getParam('材料项目类型')],
|
|
229
243
|
shigongdanwei:[{label:'全部',value:''},...this.$appdata.getParam('施工单位')],
|
|
230
244
|
model: {
|
|
@@ -242,6 +256,33 @@ export default {
|
|
|
242
256
|
this.getCEAList()
|
|
243
257
|
},
|
|
244
258
|
methods: {
|
|
259
|
+
select_search(text){
|
|
260
|
+
debugger
|
|
261
|
+
console.log("----------------"+text)
|
|
262
|
+
debugger
|
|
263
|
+
if(text){
|
|
264
|
+
let pcdText=text=`and f_cea_number like '%${text}%'`
|
|
265
|
+
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data:{items:"*",tablename:"t_apply",condition:`f_cea_number is not null and f_sub_state != '完工' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
266
|
+
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
267
|
+
if(res.data.length>0){
|
|
268
|
+
res.data.forEach((item)=>{
|
|
269
|
+
|
|
270
|
+
this.ceaList.push({
|
|
271
|
+
'label': item.f_cea_number,
|
|
272
|
+
'value': {
|
|
273
|
+
id: item.id,
|
|
274
|
+
f_cea_number: item.f_cea_number,
|
|
275
|
+
f_entry_name: item.f_entry_name,
|
|
276
|
+
f_construction_team:item.f_construction_team
|
|
277
|
+
}
|
|
278
|
+
})
|
|
279
|
+
})
|
|
280
|
+
}
|
|
281
|
+
})
|
|
282
|
+
}else{
|
|
283
|
+
this.getCEAList()
|
|
284
|
+
}
|
|
285
|
+
},
|
|
245
286
|
addOutboundOrder () {
|
|
246
287
|
this.$dispatch('addOutboundOrder', this.model)
|
|
247
288
|
},
|
|
@@ -321,7 +362,7 @@ export default {
|
|
|
321
362
|
|
|
322
363
|
res.data.forEach(item => {
|
|
323
364
|
this.materialList.push({
|
|
324
|
-
'label': `${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
365
|
+
'label': `${item.f_material_coding}--${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
325
366
|
'value': item
|
|
326
367
|
})
|
|
327
368
|
})
|
|
@@ -377,7 +418,8 @@ export default {
|
|
|
377
418
|
'value': {
|
|
378
419
|
id: item.id,
|
|
379
420
|
f_cea_number: item.f_cea_number,
|
|
380
|
-
f_entry_name: item.f_entry_name
|
|
421
|
+
f_entry_name: item.f_entry_name,
|
|
422
|
+
f_construction_team:item.f_construction_team
|
|
381
423
|
}
|
|
382
424
|
})
|
|
383
425
|
})
|
package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue
CHANGED
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
<template partial='head'>
|
|
50
50
|
<tr>
|
|
51
51
|
<th style="white-space: nowrap;">序号</th>
|
|
52
|
+
<th style="white-space: nowrap;">材料编码</th>
|
|
52
53
|
<th style="white-space: nowrap;">材料名称</th>
|
|
53
54
|
<th style="white-space: nowrap;">材料型号</th>
|
|
54
55
|
<th style="white-space: nowrap;">材料规格</th>
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
<template partial='body'>
|
|
68
69
|
<tr>
|
|
69
70
|
<td style="text-align: center;">{{$index+1}}</td>
|
|
71
|
+
<td style="text-align: center;">{{row.f_material_coding}}</td>
|
|
70
72
|
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
71
73
|
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
72
74
|
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
@@ -110,6 +112,12 @@
|
|
|
110
112
|
:valueSingle="true"></input-select>
|
|
111
113
|
</div>
|
|
112
114
|
</div>
|
|
115
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_material_coding.required ? 'has-error' : '']">
|
|
116
|
+
<label class="control-label col-sm-2">材料编码</label>
|
|
117
|
+
<div class="col-sm-9">
|
|
118
|
+
<input class="form-control" type="text" readonly v-validate:f_material_coding = "['required']" v-model="material.f_material_coding" :value="material.f_material_coding"/>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
113
121
|
<div class="col-sm-12 form-group" :class="[$mv.f_material_name.required ? 'has-error' : '']">
|
|
114
122
|
<label class="control-label col-sm-2">材料名称</label>
|
|
115
123
|
<div class="col-sm-9">
|
|
@@ -308,7 +316,7 @@ export default {
|
|
|
308
316
|
|
|
309
317
|
res.data.forEach(item => {
|
|
310
318
|
this.purchaseRecordsMaterial.push({
|
|
311
|
-
'label': `${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
319
|
+
'label': `${item.f_material_coding}--${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
312
320
|
'value': item
|
|
313
321
|
})
|
|
314
322
|
})
|
|
@@ -316,7 +324,7 @@ export default {
|
|
|
316
324
|
// 获取有效采购单
|
|
317
325
|
async getPurchaseOrder () {
|
|
318
326
|
let data = {
|
|
319
|
-
condition: `po.f_status = '有效'`,
|
|
327
|
+
condition: `po.f_status = '有效' and f_lump_sum != f_actual_money`,
|
|
320
328
|
data: {
|
|
321
329
|
orgid: this.$login.f.orgid
|
|
322
330
|
}
|