|
@@ -73,7 +73,13 @@
|
|
|
<template v-if="advanced">
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="适用车型">
|
|
|
- <a-cascader :options="typeData" expand-trigger="hover" id="purchaseOrderEdit-state" placeholder="请选择适用车型" allowClear v-model="queryParam.brand" />
|
|
|
+ <a-cascader
|
|
|
+ :options="typeData"
|
|
|
+ expand-trigger="hover"
|
|
|
+ id="purchaseOrderEdit-state"
|
|
|
+ placeholder="请选择适用车型"
|
|
|
+ allowClear
|
|
|
+ v-model="queryParam.brand" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
@@ -129,9 +135,9 @@
|
|
|
<div>
|
|
|
<!-- 总计 -->
|
|
|
<a-alert type="info" showIcon style="margin-bottom:15px">
|
|
|
- <div slot="message">产品款数 <strong>{{ orderCountData&&orderCountData.totalCategory }}</strong> ,
|
|
|
- 采购数量合计 <strong>{{ orderCountData&&orderCountData.totalQty }}</strong> ,
|
|
|
- 采购金额合计¥<strong>{{ orderCountData&&orderCountData.totalAmount }}</strong></div>
|
|
|
+ <div slot="message">产品款数 <strong>{{ detail&&detail.totalCategory }}</strong> ,
|
|
|
+ 采购数量合计 <strong>{{ detail&&detail.totalQty }}</strong> ,
|
|
|
+ 采购金额合计¥<strong>{{ detail&&detail.totalAmount }}</strong></div>
|
|
|
</a-alert>
|
|
|
<!-- 列表 -->
|
|
|
<s-table
|
|
@@ -258,7 +264,7 @@ export default {
|
|
|
this.disabled = true
|
|
|
// 查询总计
|
|
|
const params = Object.assign(parameter, { purchaseBillSn: this.$route.params.sn })
|
|
|
- this.getCountQuery(params)
|
|
|
+ // this.getCountQuery(params)
|
|
|
return purchaseDetailList(params).then(res => {
|
|
|
const data = res.data
|
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
@@ -320,6 +326,7 @@ export default {
|
|
|
// 重新查询已选产品
|
|
|
resetPurchaseDetail (flag) {
|
|
|
this.$refs.purchaseTable.refresh(!!flag)
|
|
|
+ this.getOrderDetail()
|
|
|
},
|
|
|
// 修改数量后
|
|
|
qtyBlur (val, record) {
|