|
@@ -453,7 +453,7 @@
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column prop="fCntrstatus" label="箱状态" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-select v-model="scope.row.fCntrstatus" style="width: 80%" placeholder="请选择箱状态">
|
|
|
+ <el-select v-model="scope.row.fCntrstatus" style="width: 80%" placeholder="请选择箱状态" @change="fCntrstatusChange(scope.row.fCntrstatus)">
|
|
|
<el-option v-for="dict in cntrstatusOptions" :key="dict.dictValue" :label="dict.dictLabel"
|
|
|
:value="dict.dictValue" />
|
|
|
</el-select>
|
|
@@ -461,7 +461,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="fUpdateef" label="空重" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-select v-model="scope.row.fUpdateef" style="width: 80%" placeholder="请选择空重">
|
|
|
+ <el-select v-model="scope.row.fUpdateef" style="width: 80%" placeholder="请选择空重" @change="fUpdateefChange(scope.row.fUpdateef)">
|
|
|
<el-option v-for="dict in updateEFOptions" :key="dict.dictValue" :label="dict.dictLabel"
|
|
|
:value="dict.dictValue" />
|
|
|
</el-select>
|
|
@@ -1145,6 +1145,20 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ fCntrstatusChange(row) {
|
|
|
+ this.boxLeadIn.forEach(e => {
|
|
|
+ if (!e.fCntrstatus) {
|
|
|
+ e.fCntrstatus = row
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ fUpdateefChange(row) {
|
|
|
+ this.boxLeadIn.forEach(e => {
|
|
|
+ if (!e.fUpdateef) {
|
|
|
+ e.fUpdateef = row
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//重置列表
|
|
|
delRow() {
|
|
|
this.data = {
|