|
@@ -200,7 +200,7 @@
|
|
|
:loading="loading"
|
|
|
:columns="costPayColumns"
|
|
|
:data-source="costPayData"
|
|
|
- bordered
|
|
|
+ bordered
|
|
|
:pagination="false"
|
|
|
>
|
|
|
</a-table>
|
|
@@ -331,7 +331,11 @@ export default {
|
|
|
this.detailsPlanNum = res.result //所有详情
|
|
|
this.accidentListData = res.result.syCostAllocationAccidentList //事故单
|
|
|
this.costPayData = res.result.syCostAllocationCostpayList //支出费用
|
|
|
-
|
|
|
+ var num = 0
|
|
|
+ this.costPayData.map(item =>{
|
|
|
+ item.id = num + 1
|
|
|
+ num += 1
|
|
|
+ })
|
|
|
// tabs 名称集合
|
|
|
this.$refs.unitTabs.tabNameList = res.result.processUnit.split(',')
|
|
|
|
|
@@ -342,8 +346,7 @@ export default {
|
|
|
var oneData = this.$refs.unitTabs.tabsAllData[0]
|
|
|
this.$refs.unitTabs.fabData = oneData.syCostAllocationFabricList
|
|
|
this.$refs.unitTabs.ingData = oneData.syCostAllocationIngredientList
|
|
|
- this.$refs.unitTabs.shipData = oneData.SyCostAllocationShipdetail
|
|
|
-
|
|
|
+ this.$refs.unitTabs.shipData = oneData.syCostAllocationShipdetail
|
|
|
this.pagination = {
|
|
|
total: res.result.total,
|
|
|
current: res.result.current,
|