|
@@ -8,7 +8,6 @@
|
|
class="form-model-con"
|
|
class="form-model-con"
|
|
layout="inline"
|
|
layout="inline"
|
|
:model="queryParam"
|
|
:model="queryParam"
|
|
- :rules="rules"
|
|
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol"
|
|
:wrapperCol="wrapperCol"
|
|
@keyup.enter.native="handleSearch" >
|
|
@keyup.enter.native="handleSearch" >
|
|
@@ -39,7 +38,7 @@
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
<div class="ftext" slot="message">
|
|
<div class="ftext" slot="message">
|
|
导入单号:<strong>{{ detailSn ||'--' }}</strong>;
|
|
导入单号:<strong>{{ detailSn ||'--' }}</strong>;
|
|
- 款数:<strong>{{ (totalData && (totalData.putQty || totalData.putQty==0)) ? totalData.putQty : '--' }}</strong>;
|
|
|
|
|
|
+ 款数:<strong>{{ (countInfo || countInfo==0) ? countInfo : '--' }}</strong>;
|
|
数量:<strong>{{ (totalData && (totalData.putQty || totalData.putQty==0)) ? totalData.putQty : '--' }}</strong>;
|
|
数量:<strong>{{ (totalData && (totalData.putQty || totalData.putQty==0)) ? totalData.putQty : '--' }}</strong>;
|
|
<div v-if="$hasPermissions('M_ShowAllCost')" style="display: inline-block;">
|
|
<div v-if="$hasPermissions('M_ShowAllCost')" style="display: inline-block;">
|
|
成本:<strong>{{ (totalData && (totalData.cost || totalData.cost==0)) ? toThousands(totalData.cost) : '--' }}</strong>。
|
|
成本:<strong>{{ (totalData && (totalData.cost || totalData.cost==0)) ? toThousands(totalData.cost) : '--' }}</strong>。
|
|
@@ -100,6 +99,7 @@ export default {
|
|
},
|
|
},
|
|
stockImportNo: ''
|
|
stockImportNo: ''
|
|
},
|
|
},
|
|
|
|
+ countInfo: 0,
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
@@ -112,6 +112,7 @@ export default {
|
|
}
|
|
}
|
|
return reportStockImportDetailList(params).then(res => {
|
|
return reportStockImportDetailList(params).then(res => {
|
|
let data
|
|
let data
|
|
|
|
+ this.countInfo = res.data.count
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
data = res.data
|
|
data = res.data
|
|
// 总计
|
|
// 总计
|