|
@@ -63,7 +63,7 @@
|
|
|
v-model="queryParam.state"
|
|
|
ref="state"
|
|
|
id="warehousingAuditList-state"
|
|
|
- code="STOCK_FLOW_TYPE"
|
|
|
+ code="STOCK_FLOW_STATE"
|
|
|
placeholder="请选择出入库状态"
|
|
|
allowClear></v-select>
|
|
|
</a-form-item>
|
|
@@ -85,8 +85,8 @@
|
|
|
<div class="ftext" slot="message">
|
|
|
当前库存总数量(个):<strong>{{ (productTotal&&(productTotal.currentStockQty || productTotal.currentStockQty==0)) ? productTotal.currentStockQty : '--' }}</strong>;
|
|
|
当前库存总成本(¥):<strong>{{ (productTotal&&(productTotal.currentStockCost || productTotal.currentStockCost==0)) ? productTotal.currentStockCost : '--' }}</strong>;
|
|
|
- 冻结库存总数量(个):<strong>{{ productTotal&&(productTotal.currentStockQty || productTotal.currentStockQty==0) ? productTotal.currentStockQty : '--' }}</strong>;
|
|
|
- 冻结库存总成本(¥):<strong>{{ productTotal&&(productTotal.currentStockCost || productTotal.currentStockCost==0) ? productTotal.currentStockCost : '--' }}</strong>。
|
|
|
+ 冻结库存总数量(个):<strong>{{ productTotal&&(productTotal.freezeQty || productTotal.freezeQty==0) ? productTotal.freezeQty : '--' }}</strong>;
|
|
|
+ 冻结库存总成本(¥):<strong>{{ productTotal&&(productTotal.freezeCost || productTotal.freezeCost==0) ? productTotal.freezeCost : '--' }}</strong>。
|
|
|
</div>
|
|
|
</a-alert>
|
|
|
<!-- 列表 -->
|
|
@@ -137,7 +137,8 @@ export default {
|
|
|
bizNo: '',
|
|
|
flowType: undefined,
|
|
|
unitName: '',
|
|
|
- warehouseSn: undefined
|
|
|
+ warehouseSn: undefined,
|
|
|
+ state: undefined
|
|
|
},
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
columns: [
|
|
@@ -155,7 +156,7 @@ export default {
|
|
|
{ title: '数量', scopedSlots: { customRender: 'qty' }, width: '5%', align: 'center' },
|
|
|
{ title: '总成本', dataIndex: 'totalCost', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '总售价', dataIndex: 'totalPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '出入库状态', dataIndex: 'bizTypeDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
+ { title: '出入库状态', dataIndex: 'stateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|
|
@@ -210,9 +211,11 @@ export default {
|
|
|
this.queryParam.beginDate = ''
|
|
|
this.queryParam.endDate = ''
|
|
|
this.queryParam.bizType = undefined
|
|
|
+ this.queryParam.bizNo = ''
|
|
|
this.queryParam.flowType = undefined
|
|
|
this.queryParam.unitName = ''
|
|
|
this.queryParam.warehouseSn = undefined
|
|
|
+ this.queryParam.state = undefined
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
// 返回列表
|