Merge pull request 'Merge from dev to master' (#959) from test into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #959
This commit is contained in:
commit
ef7392e38d
|
@ -7,6 +7,10 @@ const fs = require('fs-extra');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'delivery-note',
|
name: 'delivery-note',
|
||||||
|
created() {
|
||||||
|
if (!this.type)
|
||||||
|
this.type = 'deliveryNote';
|
||||||
|
},
|
||||||
async serverPrefetch() {
|
async serverPrefetch() {
|
||||||
this.client = await this.fetchClient(this.ticketId);
|
this.client = await this.fetchClient(this.ticketId);
|
||||||
this.ticket = await this.fetchTicket(this.ticketId);
|
this.ticket = await this.fetchTicket(this.ticketId);
|
||||||
|
@ -129,7 +133,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
required: true
|
required: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue