lilei 1 년 전
부모
커밋
aa3ba3a2b3
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      src/views/salesReturnManagement/custConfirm/list.vue

+ 7 - 2
src/views/salesReturnManagement/custConfirm/list.vue

@@ -119,6 +119,11 @@
             <returnReason v-if="record.isEdit" v-model="record.returnReason" @blur="blurReason(record)"></returnReason>
             <span v-else>{{ record.returnReason||'--' }}</span>
           </template>
+          <!-- 备注 -->
+          <template slot="remarks" slot-scope="text, record">
+            <a-input v-if="record.isEdit" size="small" v-model.trim="record.remarks" allowClear placeholder="请输入备注信息(最多50字符)"/>
+            <span v-else>{{ record.remarks||'--' }}</span>
+          </template>
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
             <div v-if="record.isEdit">
@@ -302,8 +307,8 @@ export default {
         // { title: '实际退货单价', dataIndex: 'price', align: 'center', width: '10%', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         // { title: '实际退货金额', dataIndex: 'totalAmount', align: 'center', width: '10%', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '退货单价说明', dataIndex: 'priceRemark', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '退货原因', dataIndex: 'returnReason', width: '20%', align: 'center', scopedSlots: { customRender: 'returnReason' } },
-        { title: '备注', dataIndex: 'priceRemark', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '退货原因', dataIndex: 'returnReason', width: '15%', align: 'center', scopedSlots: { customRender: 'returnReason' } },
+        { title: '备注', dataIndex: 'remarks', width: '15%', align: 'center', scopedSlots: { customRender: 'remarks' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '20%', align: 'center' }
       ]
       if (this.$hasPermissions('B_salesReturnConfirm_salesPrice')) { //  售价权限