|
@@ -13,11 +13,13 @@
|
|
|
<el-button type="primary" size="small" :disabled="seeDisabled" @click="batchSavefun">一键保存</el-button>
|
|
|
<el-button type="info" plain size="small" :disabled="seeDisabled" @click="onclickEdit">一键编辑
|
|
|
</el-button>
|
|
|
- <el-button type="success" size="small" plain :disabled="seeDisabled" @click.stop="equalDistribution">一键配箱
|
|
|
+ <el-button type="success" size="small" plain :disabled="seeDisabled"
|
|
|
+ @click.stop="equalDistribution">一键配箱
|
|
|
</el-button>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="menu">
|
|
|
- <el-button size="mini" type="text" @click.stop="editfun(scope.row, scope.index)" :disabled="seeDisabled">
|
|
|
+ <el-button size="mini" type="text" @click.stop="editfun(scope.row, scope.index)"
|
|
|
+ :disabled="seeDisabled">
|
|
|
{{ scope.row.$cellEdit ? '保存' : '编辑' }}
|
|
|
</el-button>
|
|
|
<!--<el-button-->
|
|
@@ -450,14 +452,15 @@ export default {
|
|
|
},
|
|
|
corpClear(value, row) {
|
|
|
this.$set(row, 'cntrTypeCode', null)
|
|
|
+ this.$set(row, 'cntrTypeCodeId', null)
|
|
|
this.$set(row, 'teu', null)
|
|
|
},
|
|
|
// 选择框的回调
|
|
|
corpChange(value, row) {
|
|
|
-
|
|
|
for (let item of this.cntrTypeCodeData) {
|
|
|
if (item.cnName == value) {
|
|
|
this.$set(row, 'cntrTypeCode', item.cnName)
|
|
|
+ this.$set(row, 'cntrTypeCodeId', item.id)
|
|
|
this.$set(row, 'teu', item.teu)
|
|
|
}
|
|
|
}
|