| | |
| | | getTjdetailList(data) |
| | | .then((response) => { |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.$modal.msgSuccess("提交成功"); |
| | | this.$modal.msgSuccess( |
| | | response.msg |
| | | ); |
| | | // 清空字段 |
| | | this.zhiyeJl = ""; |
| | | this.zhiyeJg = ""; |
| | |
| | | addOrder(dataList) |
| | | .then((res) => { |
| | | if (res.code == 200) { |
| | | gettoPdf(tjNumber) |
| | | .then((res) => { |
| | | this.$modal.msgSuccess( |
| | | "已生成报告!请前往报告核收页面确认!" |
| | | ); |
| | | }) |
| | | .catch(() => { |
| | | this.$modal.msgError( |
| | | "打印报告失败,请前往报告打印页面补打报告!" |
| | | ); |
| | | }); |
| | | |
| | | // gettoPdf(tjNumber) |
| | | // .then((res) => { |
| | | // this.$modal.msgSuccess( |
| | | // "已生成报告!请前往报告核收页面确认!" |
| | | // ); |
| | | // }) |
| | | // .catch(() => { |
| | | // this.$modal.msgError( |
| | | // "打印报告失败,请前往报告打印页面补打报告!" |
| | | // ); |
| | | // }); |
| | | const statePromise = getfiedState(reportData).then(() => { |
| | | this.drawer = false; |
| | | }); |