Commit dabaf144 by 潘际乾
parents 2a693441 79057253
......@@ -291,4 +291,17 @@
.el-table__fixed-right {
height: 100% !important;
bottom:17px;
}
\ No newline at end of file
}
/* medium_button_change_small */
.medium_bcs{
padding: 8px 15px;
margin-top: 5px;
margin-left: 7px;
}
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
margin-left:7px;
padding-left: 3px;
}
\ No newline at end of file
......@@ -5902,6 +5902,22 @@ const CodeTable = {
{label:'To Correct',value:'CTR'},
{label:'Done',value:'CAN'},
{label:'E Trade',value:'EJS'},
]
],
relstaEN:[
{label:'Closed',value:'M'},
{label:'Correct',value:'C'},
{label:'Entered',value:'E'},
{label:'External',value:'X'},
{label:'Final',value:'F'},
{label:'Picked up',value:'P'},
{label:'Rejected',value:'N'},
{label:'Released',value:'R'},
{label:'Waiting',value:'W'},
],
usgtxt:[
{label:'Custom manager',value:'CMT'},
{label:'Team 1',value:'TEA1'},
{label:'Team 2',value:'TEA2'},
],
}
export default CodeTable;
\ No newline at end of file
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button style="margin-left:7px;" class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
......@@ -99,7 +99,7 @@ export default {
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
}
......@@ -113,8 +113,5 @@ export default {
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
margin-left:-10px;
}
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
......@@ -110,8 +110,6 @@ export default {
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
margin-left:8px;
}
</style>
......@@ -101,7 +101,15 @@
<c-col :span="12">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入Responsible Group"></c-input>
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入Responsible Group"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
......@@ -193,9 +201,18 @@
<c-col :span="24">
<el-form-item label="Release Status">
<c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction">
</c-input>
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction">
</c-input> -->
<el-select v-model="model.trn.relflg" style="width: 100%" disabled>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
......@@ -444,7 +461,9 @@ export default {
},
codes: { infdsp: CodeTable.infdsp,
flg : CodeTable.flg,
atptxt : CodeTable.atptxt },
atptxt : CodeTable.atptxt,
relstaEN : CodeTable.relstaEN,
usgtxt : CodeTable.usgtxt },
action:[],
}
},
......
......@@ -101,7 +101,15 @@
<c-col :span="12">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入Responsible Group"></c-input>
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入Responsible Group"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
......@@ -193,9 +201,18 @@
<c-col :span="24">
<el-form-item label="Release Status">
<c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction">
</c-input>
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction">
</c-input> -->
<el-select v-model="model.trn.relflg" style="width: 100%" disabled>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
......@@ -444,7 +461,9 @@ export default {
},
codes: { infdsp: CodeTable.infdsp,
flg : CodeTable.flg,
atptxt : CodeTable.atptxt },
atptxt : CodeTable.atptxt,
relstaEN : CodeTable.relstaEN,
usgtxt : CodeTable.usgtxt },
action:[],
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment