|
@@ -77,7 +77,7 @@
|
|
合计分配:{{amount}}元
|
|
合计分配:{{amount}}元
|
|
</div>
|
|
</div>
|
|
<el-table ref="tableref" v-if='deptBudgetList.expensesPurpose==1&&deptBudgetList.type=="非粮款"&&mode!="暂不分配"||deptBudgetList.expensesPurpose==3&&mode!="暂不分配"||deptBudgetList.expensesPurpose==2&&mode!="暂不分配"' :data="feeDetailsDistributions" style="width: 90%;margin:0 auto;">
|
|
<el-table ref="tableref" v-if='deptBudgetList.expensesPurpose==1&&deptBudgetList.type=="非粮款"&&mode!="暂不分配"||deptBudgetList.expensesPurpose==3&&mode!="暂不分配"||deptBudgetList.expensesPurpose==2&&mode!="暂不分配"' :data="feeDetailsDistributions" style="width: 90%;margin:0 auto;">
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==1' prop="date" label="仓库名称" min-width="110">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==1' prop="date" label="仓库名称" min-width="110">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-select v-model="scope.row.warehouseName" placeholder="选择仓库" @change="((value)=>{selectware(value, scope.$index)})">
|
|
<el-select v-model="scope.row.warehouseName" placeholder="选择仓库" @change="((value)=>{selectware(value, scope.$index)})">
|
|
<el-option v-for="item in warehouseList" :key="item.warehouseName" :label="item.warehouseName" :value="item.warehouseName"
|
|
<el-option v-for="item in warehouseList" :key="item.warehouseName" :label="item.warehouseName" :value="item.warehouseName"
|
|
@@ -85,7 +85,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==2' prop="date" label="仓库名称" min-width="110">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==2' prop="date" label="仓库名称" min-width="110">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-select @change="((value)=>{receiptDocDatechange1(value, scope.$index)})" v-model="scope.row.warehouseName" placeholder="选择仓库">
|
|
<el-select @change="((value)=>{receiptDocDatechange1(value, scope.$index)})" v-model="scope.row.warehouseName" placeholder="选择仓库">
|
|
<el-option v-for="item in warehouseList" :key="item.warehouseName" :label="item.warehouseName" :value="item.warehouseName"
|
|
<el-option v-for="item in warehouseList" :key="item.warehouseName" :label="item.warehouseName" :value="item.warehouseName"
|
|
@@ -93,19 +93,19 @@
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==1' prop="date" label="日期">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==1' prop="date" label="日期">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-date-picker @change="((value)=>{selectware(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
<el-date-picker @change="((value)=>{selectware(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==2' prop="date" label="日期">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==2' prop="date" label="日期">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-date-picker @change="((value)=>{receiptDocDatechange1(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
<el-date-picker @change="((value)=>{receiptDocDatechange1(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==3' prop="date" label="日期">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==3' prop="date" label="日期">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-date-picker @change="((value)=>{receiptDocDatechange(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
<el-date-picker @change="((value)=>{receiptDocDatechange(value, scope.$index)})" v-model="scope.row.receiptDocDate" type="date" placeholder="请选择日期"
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
value-format="yyyy-MM-dd" ></el-date-picker>
|
|
@@ -114,23 +114,23 @@
|
|
<el-table-column v-if='deptBudgetList.expensesPurpose==3||deptBudgetList.expensesPurpose==2||deptBudgetList.expensesPurpose==1' prop="date" label="货源">
|
|
<el-table-column v-if='deptBudgetList.expensesPurpose==3||deptBudgetList.expensesPurpose==2||deptBudgetList.expensesPurpose==1' prop="date" label="货源">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<!-- {{scope.row.goodsourcelist}} -->
|
|
<!-- {{scope.row.goodsourcelist}} -->
|
|
- <el-select v-model="scope.row.orderId" placeholder="选择货源" @change="((value)=>{selectgoodsSource(value, scope.row,scope.$index)})">
|
|
|
|
|
|
+ <el-select class="goodsource" v-model="scope.row.orderId" placeholder="选择货源" @change="((value)=>{selectgoodsSource(value, scope.row,scope.$index)})">
|
|
<el-option v-for="item in goodsourcelist[scope.$index]" :key="item.id" :label="item.goodsSource" :value="item.id"
|
|
<el-option v-for="item in goodsourcelist[scope.$index]" :key="item.id" :label="item.goodsSource" :value="item.id"
|
|
style="color: #8890b1" />
|
|
style="color: #8890b1" />
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column v-if='deptBudgetList.expensesPurpose==3' prop="date" label="货名">
|
|
|
|
|
|
+ <el-table-column width="200" v-if='deptBudgetList.expensesPurpose==3' prop="date" label="货名">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{scope.row.goodsName?scope.row.goodsName:'自动获取'}}</span>
|
|
<span>{{scope.row.goodsName?scope.row.goodsName:'自动获取'}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="inWarehouseWeight" label="入库量(吨)">
|
|
|
|
|
|
+ <el-table-column width="200" prop="inWarehouseWeight" label="入库量(吨)">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{scope.row.inWarehouseWeight?scope.row.inWarehouseWeight:'自动获取'}}</span>
|
|
<span>{{scope.row.inWarehouseWeight?scope.row.inWarehouseWeight:'自动获取'}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="date" label="分配金额(元)">
|
|
|
|
|
|
+ <el-table-column width="200" prop="date" label="分配金额(元)">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-input placeholder="输入分配金额" class="input_css" v-model="scope.row.distributionMoney"></el-input>
|
|
<el-input placeholder="输入分配金额" class="input_css" v-model="scope.row.distributionMoney"></el-input>
|
|
</template>
|
|
</template>
|
|
@@ -636,4 +636,7 @@
|
|
width: 110px;
|
|
width: 110px;
|
|
height:140px;
|
|
height:140px;
|
|
}
|
|
}
|
|
|
|
+.goodsource{
|
|
|
|
+ width:100%;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|