jinhui.wang

航班维护字段增加,按钮状态变更

...@@ -240,6 +240,16 @@ ...@@ -240,6 +240,16 @@
240 :precision="2"></el-input-number> 240 :precision="2"></el-input-number>
241 </el-form-item> 241 </el-form-item>
242 </el-col> 242 </el-col>
243 + <el-col :span="12">
244 + <el-form-item label="特殊规则预留总重量" prop="accountTotalWeight">
245 + <el-input class="wid80" v-model="form.accountTotalWeight" disabled />
246 + </el-form-item>
247 + </el-col>
248 + <el-col :span="12">
249 + <el-form-item label="特殊规则已配重量" prop="accountAllocatedWeight">
250 + <el-input class="wid80" v-model="form.accountAllocatedWeight" disabled />
251 + </el-form-item>
252 + </el-col>
243 </el-row> 253 </el-row>
244 </el-form> 254 </el-form>
245 <div slot="footer" class="dialog-footer"> 255 <div slot="footer" class="dialog-footer">
......
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
25 <template slot="optionColumn"> 25 <template slot="optionColumn">
26 <el-table-column label="操作" width="250" align="center"> 26 <el-table-column label="操作" width="250" align="center">
27 <template slot-scope="scope"> 27 <template slot-scope="scope">
28 - <el-button size="mini" type="text" icon="el-icon-edit" @click="update(scope.row,'update')">修改 28 + <el-button size="mini" type="text" v-if="scope.row.status != 0" icon="el-icon-edit"
29 + @click="update(scope.row,'update')">修改
29 </el-button> 30 </el-button>
30 <el-button type="text" v-if="scope.row.status === 1" size="mini" icon="el-icon-video-pause" 31 <el-button type="text" v-if="scope.row.status === 1" size="mini" icon="el-icon-video-pause"
31 @click="changeStatus(scope.row)"> 32 @click="changeStatus(scope.row)">
......