|
@@ -137,11 +137,11 @@
|
|
|
<a-form-model-item label="关联销退单" :label-col="{span:2}" :wrapper-col="{span:20}">
|
|
|
<a-button type="primary" class="button-primary" @click="openSelModal">选择销退单</a-button>
|
|
|
<div style="margin-top:10px;">
|
|
|
- <a-table
|
|
|
+ <v-table
|
|
|
ref="salesReturnOrderTable"
|
|
|
:columns="columns"
|
|
|
- :scroll="{ y: 400 }"
|
|
|
- :pagination="false"
|
|
|
+ :scroll="{ y: 300 }"
|
|
|
+ :showPagination="false"
|
|
|
:data-source="chooseData"
|
|
|
bordered>
|
|
|
<!-- 编号 -->
|
|
@@ -163,7 +163,7 @@
|
|
|
删除
|
|
|
</a-button>
|
|
|
</template>
|
|
|
- </a-table>
|
|
|
+ </v-table>
|
|
|
</div>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -204,7 +204,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
-import { STable, VSelect, SelectInput, Upload } from '@/components'
|
|
|
+import { VTable, VSelect, SelectInput, Upload } from '@/components'
|
|
|
import { pickUpSave, pickUpSubmit, pickUpDetail, pickUpDetailQueryList } from '@/api/pickUp'
|
|
|
import selectXtModal from './selectXtModal.vue'
|
|
|
import employee from '../../expenseManagement/expenseReimbursement/employee.js'
|
|
@@ -216,7 +216,7 @@ import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
export default {
|
|
|
name: 'ProductInfoEdit',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { VSelect, SelectInput, Upload, STable, employee, dealerSubareaScopeList, chooseDepartUserModal, selectXtModal, logisticsCompany, logisticsPoint, chooseWarehouse },
|
|
|
+ components: { VSelect, SelectInput, Upload, VTable, employee, dealerSubareaScopeList, chooseDepartUserModal, selectXtModal, logisticsCompany, logisticsPoint, chooseWarehouse },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -259,7 +259,7 @@ export default {
|
|
|
},
|
|
|
chooseData: [],
|
|
|
columns: [
|
|
|
- { title: '序号', scopedSlots: { customRender: 'no' }, width: '8%', align: 'center' },
|
|
|
+ { title: '序号', scopedSlots: { customRender: 'no' }, width: '4%', align: 'center' },
|
|
|
{ title: '总部销退单号', scopedSlots: { customRender: 'salesReturnNo' }, width: '15%', align: 'center' },
|
|
|
{ title: '客户名称', dataIndex: 'buyerName', width: '20%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '申请退货数量', dataIndex: 'totalInitialQty', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|