|
@@ -174,6 +174,9 @@
|
|
|
@resetColumn="resetColumnBox"
|
|
|
@saveColumn="saveColumnBox"
|
|
|
@row-del="rowDel">
|
|
|
+ <template slot="headerSerial" slot-scope="{column}">
|
|
|
+ <el-button type="primary" icon="el-icon-circle-plus-outline" circle size="small" @click="$refs.crudBox.rowCellAdd()"></el-button>
|
|
|
+ </template>
|
|
|
<template slot="ctnTypeHeader" slot-scope="{column}">
|
|
|
{{ column.label }}<span style="color:#F56C6C">*</span>
|
|
|
</template>
|
|
@@ -840,9 +843,11 @@ export default {
|
|
|
refreshBtn: false,
|
|
|
addBtnText: '录入信息',
|
|
|
index: true,
|
|
|
+ indexWidth:52,
|
|
|
+ indexSlot: true,
|
|
|
cellBtn: true,
|
|
|
addBtn: false,
|
|
|
- addRowBtn: true,
|
|
|
+ addRowBtn: false,
|
|
|
showSummary: true,
|
|
|
summaryText: "合计",
|
|
|
sumColumnList: [
|
|
@@ -886,6 +891,7 @@ export default {
|
|
|
prop: 'ctnType',
|
|
|
type: 'select',
|
|
|
width: 100,
|
|
|
+ index:1,
|
|
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
|
|
|
props: {
|
|
|
label: "dictValue",
|
|
@@ -897,6 +903,7 @@ export default {
|
|
|
prop: 'ctnQuantity',
|
|
|
controls: false,
|
|
|
precision: 0,
|
|
|
+ index:2,
|
|
|
width: 100,
|
|
|
maxRows: 999,
|
|
|
minRows: 1,
|
|
@@ -907,6 +914,7 @@ export default {
|
|
|
prop: 'landWeight',
|
|
|
controls: false,
|
|
|
width: 200,
|
|
|
+ index:3,
|
|
|
precision: 2,
|
|
|
type: 'number'
|
|
|
}, {
|
|
@@ -915,11 +923,13 @@ export default {
|
|
|
prop: 'landAmountD',
|
|
|
controls: false,
|
|
|
width: 200,
|
|
|
+ index:4,
|
|
|
precision: 2,
|
|
|
type: 'number'
|
|
|
}, {
|
|
|
label: '备注',
|
|
|
cell: true,
|
|
|
+ index:5,
|
|
|
prop: 'remarks'
|
|
|
}]
|
|
|
},
|
|
@@ -1493,7 +1503,7 @@ export default {
|
|
|
},
|
|
|
//选择地址客户带出地址
|
|
|
withAddress(row, scope) {
|
|
|
- console.log(row)
|
|
|
+ this.tableData[scope.$index].address = ''
|
|
|
if (!scope.row.key) scope.row.key = 0
|
|
|
this.tableData[scope.$index].corpName = row.cname
|
|
|
if (row.attn){
|