mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-12 22:29:59 +08:00
add buttom new record (#703)
Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
This commit is contained in:
parent
b4a3ec0b53
commit
8c47c95287
@ -51,6 +51,7 @@
|
|||||||
:field-value="recordDataFields"
|
:field-value="recordDataFields"
|
||||||
/>
|
/>
|
||||||
<preference
|
<preference
|
||||||
|
v-if="field.panelType !== 'form'"
|
||||||
:source-field="fieldAttributes"
|
:source-field="fieldAttributes"
|
||||||
:field-value="recordDataFields"
|
:field-value="recordDataFields"
|
||||||
:panel-type="field.panelType"
|
:panel-type="field.panelType"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
:is-disabled="isDisabled"
|
:is-disabled="isDisabled"
|
||||||
/>
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2" :style="styleTab">
|
<el-col :span="1" :style="styleTab">
|
||||||
<el-tag
|
<el-tag
|
||||||
v-if="!isEmptyValue(getOrder.documentStatus.value)"
|
v-if="!isEmptyValue(getOrder.documentStatus.value)"
|
||||||
:type="tagStatus(getOrder.documentStatus.value)"
|
:type="tagStatus(getOrder.documentStatus.value)"
|
||||||
@ -43,6 +43,11 @@
|
|||||||
</span>
|
</span>
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="1" :style="styleTab">
|
||||||
|
<el-button type="primary" plain :disabled="isEmptyValue(this.$route.query.action)" @click="newOrder">
|
||||||
|
{{ $t('form.pos.optionsPoinSales.salesOrder.newOrder') }}
|
||||||
|
</el-button>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-header>
|
</el-header>
|
||||||
@ -322,9 +327,9 @@ export default {
|
|||||||
styleTab() {
|
styleTab() {
|
||||||
const isShowedPOSOptions = this.$store.getters.getIsShowPOSOptions
|
const isShowedPOSOptions = this.$store.getters.getIsShowPOSOptions
|
||||||
if (this.isShowedPOSKeyLayout || isShowedPOSOptions) {
|
if (this.isShowedPOSKeyLayout || isShowedPOSOptions) {
|
||||||
return 'adding-left: 0px; padding-right: 0px; padding-top: 3.5%;'
|
return 'adding-left: 0px; padding-right: 0px; padding-top: 3.5%;margin-right: 1%;'
|
||||||
}
|
}
|
||||||
return 'padding-left: 30px; padding-right: 0px; padding-top: 2.2%;'
|
return 'padding-left: 0px; padding-right: 0px; padding-top: 2.2%;margin-right: 1%;'
|
||||||
},
|
},
|
||||||
namePointOfSales() {
|
namePointOfSales() {
|
||||||
const currentPOS = this.$store.getters.getCurrentPOS
|
const currentPOS = this.$store.getters.getCurrentPOS
|
||||||
@ -664,6 +669,9 @@ export default {
|
|||||||
.el-tag--medium {
|
.el-tag--medium {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
|
width: 110%;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
.el-col {
|
.el-col {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user