|
@@ -5,8 +5,13 @@
|
|
<div class="title">提货进度</div>
|
|
<div class="title">提货进度</div>
|
|
</div>
|
|
</div>
|
|
<div class="progress-container">
|
|
<div class="progress-container">
|
|
- <el-progress :text-inside="true" :stroke-width="26" :percentage="detailData.thjd ? (detailData.thjd * 1000 / 10).toFixed(2) : 0"></el-progress>
|
|
|
|
-
|
|
|
|
|
|
+ <el-progress
|
|
|
|
+ :text-inside="true"
|
|
|
|
+ :stroke-width="26"
|
|
|
|
+ :percentage="
|
|
|
|
+ detailData.thjd ? ((detailData.thjd * 1000) / 10).toFixed(2) : 0
|
|
|
|
+ "
|
|
|
|
+ ></el-progress>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="main-title">
|
|
<div class="main-title">
|
|
@@ -75,6 +80,8 @@
|
|
highlight-current-row
|
|
highlight-current-row
|
|
stripe
|
|
stripe
|
|
max-height="400"
|
|
max-height="400"
|
|
|
|
+ show-summary
|
|
|
|
+ :summary-method="$getSummaries"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
@@ -116,18 +123,23 @@
|
|
prop="unit"
|
|
prop="unit"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="单价"
|
|
label="单价"
|
|
prop="price"
|
|
prop="price"
|
|
min-width="100"
|
|
min-width="100"
|
|
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="center"
|
|
label="数量"
|
|
label="数量"
|
|
- prop="refundableQty"
|
|
|
|
|
|
+ prop="qty"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
></el-table-column>
|
|
></el-table-column>
|
|
@@ -137,7 +149,11 @@
|
|
prop="totalAmount"
|
|
prop="totalAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
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="center"
|
|
label="返利类型"
|
|
label="返利类型"
|
|
@@ -146,14 +162,13 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <!-- v-for="item in scope.row.rebateWallets" -->
|
|
|
|
|
|
+ <!-- v-for="item in scope.row.rebateWallets" -->
|
|
<el-tag
|
|
<el-tag
|
|
- v-if="scope.row.customerWalletName2"
|
|
|
|
|
|
+ v-if="scope.row.customerWalletName2"
|
|
type="success"
|
|
type="success"
|
|
size="small"
|
|
size="small"
|
|
-
|
|
|
|
>
|
|
>
|
|
- {{ scope.row.customerWalletName2 }}
|
|
|
|
|
|
+ {{ scope.row.customerWalletName2 }}
|
|
</el-tag>
|
|
</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -163,14 +178,22 @@
|
|
prop="payRebateAmount"
|
|
prop="payRebateAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.payRebateAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="格力折扣"
|
|
label="格力折扣"
|
|
prop="totalDiscAmount"
|
|
prop="totalDiscAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.totalDiscAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="现金钱包"
|
|
label="现金钱包"
|
|
@@ -179,12 +202,8 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <!-- v-for="item in scope.row.wallets" -->
|
|
|
|
- <el-tag
|
|
|
|
- type="success"
|
|
|
|
- size="small"
|
|
|
|
-
|
|
|
|
- >
|
|
|
|
|
|
+ <!-- v-for="item in scope.row.wallets" -->
|
|
|
|
+ <el-tag type="success" size="small">
|
|
{{ scope.row.customerWalletName }}
|
|
{{ scope.row.customerWalletName }}
|
|
</el-tag>
|
|
</el-tag>
|
|
</template>
|
|
</template>
|
|
@@ -195,7 +214,11 @@
|
|
prop="payAmount"
|
|
prop="payAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.payAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="是否直调"
|
|
label="是否直调"
|
|
@@ -215,7 +238,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
|
|
|
- <!-- <el-table-column
|
|
|
|
|
|
+ <!-- <el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="已退数量"
|
|
label="已退数量"
|
|
prop="retiredQty"
|
|
prop="retiredQty"
|
|
@@ -247,8 +270,18 @@
|
|
</div>
|
|
</div>
|
|
<div class="page-footer">
|
|
<div class="page-footer">
|
|
<div class="footer" :class="classObj">
|
|
<div class="footer" :class="classObj">
|
|
- <el-button :type="status?'info':'primary'" @click="openDeliverDialog" :disabled="detailData.examineStatus !== 'OK' || status">直调发货</el-button>
|
|
|
|
- <el-button :type="status?'info':'primary'" @click="handleFinish" :disabled="detailData.examineStatus !== 'OK' || status">直调完成</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ :type="status ? 'info' : 'primary'"
|
|
|
|
+ @click="openDeliverDialog"
|
|
|
|
+ :disabled="detailData.examineStatus !== 'OK' || status"
|
|
|
|
+ >直调发货</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ :type="status ? 'info' : 'primary'"
|
|
|
|
+ @click="handleFinish"
|
|
|
|
+ :disabled="detailData.examineStatus !== 'OK' || status"
|
|
|
|
+ >直调完成</el-button
|
|
|
|
+ >
|
|
<!-- <el-button @click="goBack">关 闭</el-button> -->
|
|
<!-- <el-button @click="goBack">关 闭</el-button> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -352,6 +385,8 @@
|
|
highlight-current-row
|
|
highlight-current-row
|
|
stripe
|
|
stripe
|
|
max-height="400"
|
|
max-height="400"
|
|
|
|
+ show-summary
|
|
|
|
+ :summary-method="$getSummaries"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
@@ -430,21 +465,33 @@
|
|
prop="price"
|
|
prop="price"
|
|
min-width="100"
|
|
min-width="100"
|
|
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="center"
|
|
label="金额"
|
|
label="金额"
|
|
prop="totalAmount"
|
|
prop="totalAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
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="center"
|
|
label="返利"
|
|
label="返利"
|
|
prop="payRebateAmount"
|
|
prop="payRebateAmount"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.payRebateAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
@@ -511,7 +558,7 @@ export default {
|
|
positionList: [],
|
|
positionList: [],
|
|
|
|
|
|
goodsList: [],
|
|
goodsList: [],
|
|
- status:false
|
|
|
|
|
|
+ status: false,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
|
|
@@ -546,18 +593,36 @@ export default {
|
|
goBack() {
|
|
goBack() {
|
|
this.$emit("backListFormDetail");
|
|
this.$emit("backListFormDetail");
|
|
},
|
|
},
|
|
-// 是否直调完成
|
|
|
|
- directTransferStatus(val){
|
|
|
|
- this.status = val.retailOrderItemList.some(k=>{
|
|
|
|
- return k.directTransferStatus == true
|
|
|
|
- })
|
|
|
|
- console.log(this.status,'4554545');
|
|
|
|
|
|
+ // 是否直调完成
|
|
|
|
+ directTransferStatus(val) {
|
|
|
|
+ this.status = val.retailOrderItemList.some((k) => {
|
|
|
|
+ return k.directTransferStatus == true;
|
|
|
|
+ });
|
|
|
|
+ console.log(this.status, "4554545");
|
|
},
|
|
},
|
|
// 获取详情
|
|
// 获取详情
|
|
getDetail() {
|
|
getDetail() {
|
|
getDetail({ id: this.listItem.id }).then((res) => {
|
|
getDetail({ id: this.listItem.id }).then((res) => {
|
|
|
|
+ if (res.data.retailOrderItemList) {
|
|
|
|
+ res.data.retailOrderItemList.forEach((item) => {
|
|
|
|
+ item.sums1 = [
|
|
|
|
+ "directTransferQty",
|
|
|
|
+ "qty",
|
|
|
|
+ "refundableQty",
|
|
|
|
+ "oldQty",
|
|
|
|
+ ];
|
|
|
|
+ item.sums2 = [
|
|
|
|
+ "totalAmount",
|
|
|
|
+ "payAmount",
|
|
|
|
+ "price",
|
|
|
|
+ "payRebateAmount",
|
|
|
|
+ "discAmount",
|
|
|
|
+ "totalDiscAmount",
|
|
|
|
+ ];
|
|
|
|
+ });
|
|
|
|
+ }
|
|
this.detailData = res.data;
|
|
this.detailData = res.data;
|
|
- this.directTransferStatus(res.data)
|
|
|
|
|
|
+ this.directTransferStatus(res.data);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// 直调完成
|
|
// 直调完成
|