|
@@ -123,10 +123,12 @@
|
|
fit
|
|
fit
|
|
highlight-current-row
|
|
highlight-current-row
|
|
stripe
|
|
stripe
|
|
|
|
+ show-summary
|
|
|
|
+ :summary-method="$getSummaries"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- label="物料编码"
|
|
|
|
|
|
+ label="厂产品编码"
|
|
prop="materialOldNumber"
|
|
prop="materialOldNumber"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
@@ -153,59 +155,84 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
label="单价"
|
|
label="单价"
|
|
prop="price"
|
|
prop="price"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.price | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
label="数量"
|
|
label="数量"
|
|
prop="qty"
|
|
prop="qty"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
label="金额"
|
|
label="金额"
|
|
prop="totalAmount"
|
|
prop="totalAmount"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.totalAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
label="发货数量"
|
|
label="发货数量"
|
|
prop="hasSendQty"
|
|
prop="hasSendQty"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
|
|
+ label="上传资料"
|
|
|
|
+ prop="dataQty"
|
|
|
|
+ min-width="160"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ v-if="detailList.examineStatus !== 'WAIT'"
|
|
|
|
+ >
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="right"
|
|
label="上传资料"
|
|
label="上传资料"
|
|
prop="dataQty"
|
|
prop="dataQty"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
|
|
+ v-if="detailList.examineStatus == 'WAIT'"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input
|
|
|
|
- :disabled="title == '详情'"
|
|
|
|
- v-model="scope.row.dataQty"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.dataQty"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- align="center"
|
|
|
|
|
|
+ align="right"
|
|
|
|
+ label="收差金额"
|
|
|
|
+ prop="diffAmount"
|
|
|
|
+ min-width="160"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ v-if="detailList.examineStatus !== 'WAIT'"
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.diffAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="right"
|
|
label="收差金额"
|
|
label="收差金额"
|
|
prop="diffAmount"
|
|
prop="diffAmount"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
|
|
+ v-if="detailList.examineStatus == 'WAIT'"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input
|
|
|
|
- :disabled="title == '详情'"
|
|
|
|
- v-model="scope.row.diffAmount"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.diffAmount"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -530,6 +557,11 @@ export default {
|
|
async getData(data) {
|
|
async getData(data) {
|
|
const res = await getDepositManageDetail(data);
|
|
const res = await getDepositManageDetail(data);
|
|
console.log(res);
|
|
console.log(res);
|
|
|
|
+ res.data.items.forEach((item) => {
|
|
|
|
+ // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
|
|
|
|
+ item.sums1 = ["hasSendQty", "dataQty", "qty"];
|
|
|
|
+ item.sums2 = ["totalAmount", "diffAmount", "price"];
|
|
|
|
+ });
|
|
this.detailList = res.data;
|
|
this.detailList = res.data;
|
|
if (
|
|
if (
|
|
res.data.examineStatus == "SAVE" ||
|
|
res.data.examineStatus == "SAVE" ||
|