added new warehouseorder features
This commit is contained in:
@@ -46,6 +46,8 @@ Vue.component('change-status-modal', {
|
||||
return [
|
||||
{value: 'noChanges', text: 'Keine Änderungen'},
|
||||
{value: 'sent', text: 'Versendet'},
|
||||
{value: 'fullyDelivered', text: 'Geliefert'},
|
||||
{value: 'cancelled', text: 'Storniert'},
|
||||
{value: 'cancelled', text: 'Storniert'},
|
||||
];
|
||||
case 'sent':
|
||||
@@ -305,7 +307,7 @@ Vue.component('warehouse-order-modal', {
|
||||
</template>
|
||||
|
||||
<hr>
|
||||
<tt-textarea label="Notiz" v-model="order.note" sm row/>
|
||||
<tt-textarea label="Interne Notiz" v-model="order.note" sm row/>
|
||||
</div>
|
||||
</tt-modal>
|
||||
`,
|
||||
@@ -313,7 +315,7 @@ Vue.component('warehouse-order-modal', {
|
||||
data() {
|
||||
return {
|
||||
window: window,
|
||||
showSendShippingNote: false,
|
||||
showSendShippingNote: null,
|
||||
positionsConfig: {
|
||||
customOrdering: 'distributorId',
|
||||
fields: {
|
||||
@@ -356,7 +358,7 @@ Vue.component('warehouse-order-modal', {
|
||||
delAddrEMail: 'einkauf@xinon.at',
|
||||
note: '',
|
||||
editor: window.TT_CONFIG['USER_ID'],
|
||||
sendShippingNote: false,
|
||||
sendShippingNote: null,
|
||||
positions: [],
|
||||
}
|
||||
}
|
||||
@@ -381,7 +383,7 @@ Vue.component('warehouse-order-modal', {
|
||||
buyPrice: distributor.purchasePrice,
|
||||
distributorId: distributor.id,
|
||||
distributorArticleNumber: distributor.externalArticleNumber,
|
||||
verwendung: `${p.purpose} [Bestellwunsch: #${orderRequest.id}]`,
|
||||
verwendung: `${p.hasOwnProperty('purpose') ? p.purpose : ''} [Bestellwunsch: #${orderRequest.id}]`,
|
||||
linkedOrderRequestId: orderRequest.id
|
||||
};
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user