Browse Source

供应商产能报表-计划到货日期-格式修改

jbb 2 years ago
parent
commit
e99956fdd7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/reportForms/supply-capacity-table.vue

+ 4 - 1
src/views/reportForms/supply-capacity-table.vue

@@ -146,7 +146,7 @@ export default {
           width: 120,
           dataIndex: 'darriveDate',
           customRender: text => {
-            return moment(text).format('YYYY-MM-DD')
+            return moment(text).format('YYYY-MM')
           },
           className: 'replacecolor'
         },
@@ -185,6 +185,9 @@ export default {
       this.$nextTick(() => {
         supplyCapList(this.queryParam).then(res => {
           if (res.success) {
+            // res.result.records.map(item=>{
+            //   item.
+            // })
             this.supplyCapacityData = res.result.records
             console.log('【供应商产能报表数据】:', this.supplyCapacityData)
             this.pagination = {