|
@ -104,11 +104,12 @@ |
|
|
}) |
|
|
}) |
|
|
await getPrintList().then(res=>{ |
|
|
await getPrintList().then(res=>{ |
|
|
this.printList =res.data |
|
|
this.printList =res.data |
|
|
|
|
|
this.showPrintSelect =true |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
}).catch(error=>{ |
|
|
}).catch(error=>{ |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
this.showErrorMessage(error) |
|
|
}) |
|
|
}) |
|
|
this.showPrintSelect =true |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
confirmSelectPrint(e){ |
|
|
confirmSelectPrint(e){ |
|
@ -125,11 +126,11 @@ |
|
|
await getPrintTemplateList().then(res=>{ |
|
|
await getPrintTemplateList().then(res=>{ |
|
|
this.templateList =res.data |
|
|
this.templateList =res.data |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
|
|
|
this.showTemplateSelect =true |
|
|
}).catch(error=>{ |
|
|
}).catch(error=>{ |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
this.showErrorMessage(error) |
|
|
}) |
|
|
}) |
|
|
this.showTemplateSelect =true |
|
|
|
|
|
}, |
|
|
}, |
|
|
confirmSelectTemplate(e){ |
|
|
confirmSelectTemplate(e){ |
|
|
this.templateCode =e[0].value |
|
|
this.templateCode =e[0].value |
|
|