mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-07 18:25:45 +08:00
Correction of the style in the button "new order" (#896)
* Correction of the style in the button "new order" and modification of the translation * reset file traslation
This commit is contained in:
parent
ff8bef0b41
commit
313e369010
@ -39,7 +39,7 @@
|
||||
/>
|
||||
</template>
|
||||
</el-col>
|
||||
<el-col :span="colFieldBusinessPartner" style="padding-left: 0px; padding-right: 0px;">
|
||||
<el-col :span="isEmptyValue(currentOrder) ? 9 : 7" :style="styleTab">
|
||||
<business-partner
|
||||
:parent-metadata="{
|
||||
name: panelMetadata.name,
|
||||
@ -50,7 +50,7 @@
|
||||
:is-disabled="isDisabled"
|
||||
/>
|
||||
</el-col>
|
||||
<el-col v-if="!isMobile" :span="isEmptyValue(currentOrder) ? 1 : 4" :style="isShowedPOSKeyLayout ? 'padding: 0px;' : 'padding: 0px;margin-top: 2.9%;'">
|
||||
<el-col :span="isEmptyValue(currentOrder) ? 1 : 4" :style="isShowedPOSKeyLayout ? 'padding: 0px; margin-top: 3.%;' : 'padding: 0px; margin-top: 2.4%;'">
|
||||
<el-form-item>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="10" style="padding-left: 0px; padding-right: 0px;">
|
||||
@ -400,9 +400,9 @@ export default {
|
||||
styleTab() {
|
||||
const isShowedPOSOptions = this.$store.getters.getIsShowPOSOptions
|
||||
if (this.isShowedPOSKeyLayout || isShowedPOSOptions) {
|
||||
return 'adding-left: 0px; padding-right: 0px; padding-top: 2.5%;margin-right: 1%;float: right;'
|
||||
return 'adding-left: 0px; padding-left: 0px; padding-right: 0px; padding: 0px; '
|
||||
}
|
||||
return 'padding-left: 0px; padding-right: 0px; padding-top: 2.2%;margin-right: 1%;float: right;'
|
||||
return 'padding-left: 0px; padding-right: 0px; '
|
||||
},
|
||||
orderDate() {
|
||||
if (this.isEmptyValue(this.currentOrder) || this.isEmptyValue(this.currentOrder.dateOrdered)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user