소스 검색

修改bug

chenrui 2 년 전
부모
커밋
9a173377ce

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/detailModal.vue

@@ -117,7 +117,7 @@ export default {
     },
     // 获取金额统计
     getStatisticsData () {
-      queryPageCount({ sn: this.itemSn }).then(res => {
+      queryPageCount({ sparePartsReturnSn: this.itemSn }).then(res => {
         if (res.status == 200) {
           res.data.totalCost = (res.data && (res.data.totalCost || res.data.totalCost == 0)) ? toFixedDecimal(res.data.totalCost, 2) : '--'
           this.statisticsObj = res.data

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/list.vue

@@ -182,7 +182,7 @@ export default {
         { title: '采购退货单号', scopedSlots: { customRender: 'sparePartsReturnNo' }, width: '15%', align: 'center' },
         { title: '供应商名称', dataIndex: 'supplier.supplierName', align: 'center', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '退货原因', dataIndex: 'returnReasonDictValue', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '申请退货数量', dataIndex: 'totalPutQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '申请退货数量', dataIndex: 'totalQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '退货金额', dataIndex: 'totalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } },
         { title: '审核时间', dataIndex: 'auditDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '审核状态', dataIndex: 'stateDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue

@@ -410,7 +410,7 @@ export default {
     },
     // 获取页面统计数据
     getStatisticsData () {
-      queryPageCount({ sn: this.sparePartsReturnSn }).then(res => {
+      queryPageCount({ sparePartsReturnSn: this.sparePartsReturnSn }).then(res => {
         if (res.status == 200) {
           res.data.totalCost = (res.data && (res.data.totalCost || res.data.totalCost == 0)) ? toFixedDecimal(res.data.totalCost, 2) : '--'
           this.statisticsObj = res.data