| | |
| | | ), |
| | | minWidth: 200, |
| | | }, |
| | | { label: '快递号', prop: 'deliveryNo', minWidth: 120 }, |
| | | ], |
| | | searchFormAttrs: { |
| | | labelWidth: 'auto', |
| | |
| | | ], |
| | | extraButtons: [ |
| | | { |
| | | text: '快递单号', |
| | | text: '快递号', |
| | | show: (row) => !row.partnerName && row.statusBackend === 'SEND', |
| | | atClick: (row) => { |
| | | this.$refs.crud.$refs.extraDialog[1].show(row) |
| | |
| | | hiddenReverseItems: [], |
| | | form: [ |
| | | { |
| | | label: '物流公司:', |
| | | id: 'logisticsCompanyCode', |
| | | type: 'bus-select-dict', |
| | | readonly: true, |
| | | el: { |
| | | code: 'LOGISTICS_COMPANY_CODE', |
| | | style: 'width:100%', |
| | | }, |
| | | str: true, |
| | | rules: {required: true, message: '物流公司'}, |
| | | }, |
| | | { |
| | | label: '快递号:', |
| | | id: 'deliveryNo', |
| | | type: 'text', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | title: '快递单号录入', |
| | | title: '快递号录入', |
| | | hiddenReverseItems: [], |
| | | form: [ |
| | | { |
| | | label: '物流公司:', |
| | | id: 'logisticsCompanyCode', |
| | | type: 'bus-select-dict', |
| | | el: { |
| | | code: 'LOGISTICS_COMPANY_CODE', |
| | | style: 'width:100%', |
| | | }, |
| | | str: true, |
| | | rules: {required: true, message: '物流公司'}, |
| | | }, |
| | | { |
| | | label: '快递号:', |
| | | id: 'deliveryNo', |
| | |
| | | { method: 'post', data: val } |
| | | ) |
| | | if (code === 0) { |
| | | this.$message.success('快递单号录入成功') |
| | | this.$message.success('快递号录入成功') |
| | | } |
| | | }, |
| | | }, |