|
@@ -203,7 +203,10 @@
|
|
</template>
|
|
</template>
|
|
</Collapse>
|
|
</Collapse>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+ <ul class="ulStyle">
|
|
|
|
+ <li class="title">金额:<span class="num">{{numSum.amountC || 0}}</span></li>
|
|
|
|
+ <li class="title">数量:<span class="num">{{numSum.totalC || 0}}</span></li>
|
|
|
|
+ </ul>
|
|
<div class="mymain-container">
|
|
<div class="mymain-container">
|
|
<div class="btn-group clearfix">
|
|
<div class="btn-group clearfix">
|
|
<div class="fl">
|
|
<div class="fl">
|
|
@@ -592,7 +595,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { getOrderList, applyHome, withdrawHome, deleteHome, editDateHome, abandonHome } from '@/api/supply/engin'
|
|
|
|
|
|
+import { getOrderList, applyHome, withdrawHome, deleteHome, editDateHome, abandonHome,getEnginCountList } from '@/api/supply/engin'
|
|
import { getSalesmanList, getTypeList } from '@/api/common'
|
|
import { getSalesmanList, getTypeList } from '@/api/common'
|
|
import HomeDetail from '@/views/supply/engin/components/home_detail'
|
|
import HomeDetail from '@/views/supply/engin/components/home_detail'
|
|
import HomeForm from '@/views/supply/engin/components/home_form'
|
|
import HomeForm from '@/views/supply/engin/components/home_form'
|
|
@@ -685,7 +688,8 @@ export default {
|
|
isCollapse: true,
|
|
isCollapse: true,
|
|
salesTypeList: [],
|
|
salesTypeList: [],
|
|
NoRebateWalletList: [],
|
|
NoRebateWalletList: [],
|
|
- typeList: []
|
|
|
|
|
|
+ typeList: [],
|
|
|
|
+ numSum:{}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -736,6 +740,9 @@ export default {
|
|
this.getSalesTypeList()
|
|
this.getSalesTypeList()
|
|
this.getSalesmanList()
|
|
this.getSalesmanList()
|
|
this.getList()
|
|
this.getList()
|
|
|
|
+ getEnginCountList().then(res=>{
|
|
|
|
+ this.numSum = res.data
|
|
|
|
+ })
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
@@ -787,7 +794,6 @@ export default {
|
|
endCreateTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
endCreateTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
startOrderTime: this.screenForm.orderTime ? this.screenForm.orderTime[0] : '',
|
|
startOrderTime: this.screenForm.orderTime ? this.screenForm.orderTime[0] : '',
|
|
endOrderTime: this.screenForm.orderTime ? this.screenForm.orderTime[1] : '',
|
|
endOrderTime: this.screenForm.orderTime ? this.screenForm.orderTime[1] : '',
|
|
- saleTypeId: this.screenForm.saleType,
|
|
|
|
createName: this.screenForm.createMan,
|
|
createName: this.screenForm.createMan,
|
|
confirmName: this.screenForm.examineMan,
|
|
confirmName: this.screenForm.examineMan,
|
|
serviceId: this.screenForm.salesMan,
|
|
serviceId: this.screenForm.salesMan,
|
|
@@ -807,6 +813,7 @@ export default {
|
|
refPromiseProvide: this.screenForm.refPromiseProvide,
|
|
refPromiseProvide: this.screenForm.refPromiseProvide,
|
|
enginOrderType: 'HOME' // TRADE=商用 HOME=家用
|
|
enginOrderType: 'HOME' // TRADE=商用 HOME=家用
|
|
}
|
|
}
|
|
|
|
+
|
|
getOrderList(params).then(res => {
|
|
getOrderList(params).then(res => {
|
|
res.data.records.forEach(item => {
|
|
res.data.records.forEach(item => {
|
|
item.sums1 = ['qty', 'directTransferQty', 'hasSendQty']
|
|
item.sums1 = ['qty', 'directTransferQty', 'hasSendQty']
|
|
@@ -816,6 +823,7 @@ export default {
|
|
this.listTotal = res.data.total
|
|
this.listTotal = res.data.total
|
|
this.listLoading = false
|
|
this.listLoading = false
|
|
})
|
|
})
|
|
|
|
+
|
|
},
|
|
},
|
|
|
|
|
|
// 提交筛选表单
|
|
// 提交筛选表单
|
|
@@ -946,7 +954,6 @@ export default {
|
|
// 提交 修改订单日期
|
|
// 提交 修改订单日期
|
|
submitDateForm() {
|
|
submitDateForm() {
|
|
editDateHome({
|
|
editDateHome({
|
|
- refEnginRecordNo: this.screenForm.loginNum,
|
|
|
|
enginOrderId: this.editId,
|
|
enginOrderId: this.editId,
|
|
orderDate: this.dateForm.date + ' 00:00:00',
|
|
orderDate: this.dateForm.date + ' 00:00:00',
|
|
refEnginRecordNo: this.screenForm.loginNum
|
|
refEnginRecordNo: this.screenForm.loginNum
|
|
@@ -960,4 +967,21 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped></style>
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
+.ulStyle{
|
|
|
|
+ list-style: none;
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding: 10px 0;
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ z-index: 1;
|
|
|
|
+}
|
|
|
|
+.title{
|
|
|
|
+ display: inline-block;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+}
|
|
|
|
+.num{
|
|
|
|
+ padding-left: 6px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+}
|
|
|
|
+</style>
|