소스 검색

修改bug

chenrui 8 달 전
부모
커밋
b0e6180265
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/reportData/frozenProductReport/list.vue

+ 3 - 3
src/views/reportData/frozenProductReport/list.vue

@@ -96,7 +96,7 @@
       <a-alert type="info" style="margin-bottom:10px">
         <div slot="message">
           冻结数量:<strong>{{ totalData&&(totalData.outQty || totalData.outQty==0) ? totalData.outQty : '--' }}</strong>;
-          总成本:<strong>{{ totalData&&(totalData.totalOutPrice || totalData.totalOutPrice==0) ? toThousands(totalData.totalOutPrice) : '--' }}</strong>;
+          总成本:<strong>{{ totalData&&(totalData.totalPutCost || totalData.totalPutCost==0) ? toThousands(totalData.totalPutCost) : '--' }}</strong>;
         </div>
       </a-alert>
       <s-table
@@ -167,8 +167,8 @@ export default {
         { title: '仓库', dataIndex: 'warehouseName', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '仓位', dataIndex: 'warehouseLocationName', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '冻结数量', dataIndex: 'outQty', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '成本单价', dataIndex: 'outPrice', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
-        { title: '总成本', dataIndex: 'totalOutPrice', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
+        { title: '成本单价', dataIndex: 'putCost', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
+        { title: '总成本', dataIndex: 'totalPutCost', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '冻结生成时间', dataIndex: 'createDate', width: '13%', align: 'center', customRender: function (text) { return text || '--' } }
       ],
       // 加载数据方法 必须为 Promise 对象