进路添加是否先锁闭字段

This commit is contained in:
joylink_cuiweidong 2019-12-09 18:54:11 +08:00
parent bdebbed374
commit 6d26e8e217
5 changed files with 14 additions and 7 deletions

View File

@ -236,7 +236,7 @@
<div :key="item.prop" style="margin-left:150px;margin-bottom:20px">
<el-button v-if="item.buttontip" size="mini" style="margin-bottom:10px" @click="item.buttonClick">{{ item.buttontip }}
</el-button>
<el-table :data="formModel[item.prop]" border style="width:80%" class="table_item">
<el-table :data="formModel[item.prop]" border :style="item.style" class="table_item">
<el-table-column v-for="data in item.tableList" :key="data.prop" :prop="data.prop" :label="data.label">
<template slot-scope="scope">
<el-form-item v-if="data.isEdit" :prop="item.prop+'.' + scope.$index + '.'+data.prop" :required="false" :rules="data.rules[data.prop]">

View File

@ -559,5 +559,6 @@ export default {
createModel: 'Create model:',
startingPoint: 'Starting point:',
endingPoint: 'Ending point:',
frontSectionMode:'Extend Mode'
frontSectionMode:'Extend Mode',
lockFirst:'Lock First'
};

View File

@ -553,5 +553,6 @@ export default {
createModel: '创建方式:',
startingPoint: '起点:',
endingPoint: '终点:',
frontSectionMode:'延伸方式'
frontSectionMode:'延伸方式',
lockFirst:'是否先锁闭'
};

View File

@ -22,6 +22,13 @@
<el-radio :label="false">{{ $t('map.deny') }}</el-radio>
</el-radio-group>
</el-form-item>
<!-- 是否先锁闭 -->
<el-form-item :label="$t('map.lockFirst') + ':'" prop="lockFirst">
<el-radio-group v-model="addModel.lockFirst">
<el-radio :label="true">{{ $t('map.are') }}</el-radio>
<el-radio :label="false">{{ $t('map.deny') }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item :label="$t('map.delayUnlockingTime') + ':'" prop="delayReleaseTime">
<el-input-number v-model="addModel.delayReleaseTime" :min="0" />
<span>s</span>
@ -315,6 +322,7 @@ export default {
stationCode: '', //
arc: false, // /
flt: false, // /
lockFirst:false, //
delayReleaseTime: '', //
turnBack: false, //
startSignalCode: '', //

View File

@ -57,14 +57,10 @@ export default {
errorIntTip:'数量必须为整数',
formModel: {
organizationId: '',
goodsId: '',
goodsName: '',
orderType: '02',
contractNo: '',
forever: false,
totalPrice: 0,
price: 0,
amount: 0,
monthAmount: 0,
bizType: '01',
payWays: '01',
@ -161,6 +157,7 @@ export default {
buttontip: this.$t('orderAuthor.selectGoods'),
buttonClick: this.buttonClick,
type:'table',
style:'width:80%',
tableList:[
{prop:'goodsName', label:this.$t('orderAuthor.commodityName') },
{prop:'goodsAmount', label:this.$t('orderAuthor.goodsAmount'), isEdit:true, min:0,