更新新的合同
This commit is contained in:
parent
5cb99a12aa
commit
915fdd6917
4
.gitignore
vendored
4
.gitignore
vendored
@ -42,4 +42,6 @@ nbdist/
|
|||||||
!*/build/*.java
|
!*/build/*.java
|
||||||
!*/build/*.html
|
!*/build/*.html
|
||||||
!*/build/*.xml
|
!*/build/*.xml
|
||||||
running/*
|
running/file/*
|
||||||
|
running/logs/*
|
||||||
|
running/uploadPath/*
|
Binary file not shown.
@ -123,9 +123,9 @@ public class SysContractServiceImpl implements ISysContractService {
|
|||||||
|
|
||||||
form.addSubstitutionFont(BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED));
|
form.addSubstitutionFont(BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED));
|
||||||
|
|
||||||
form.setField("name", sysContract.getName(), true);
|
form.setField("signName", sysContract.getSignName(), true);
|
||||||
form.setField("time", sysContract.getServeTimeStr(), true);
|
form.setField("serveTime", sysContract.getServeTimeStr(), true);
|
||||||
form.setField("tutor", sysContract.getServeTimeStr(), true);
|
form.setField("tutor", sysContract.getTutor(), true);
|
||||||
form.setField("moneyUpper", sysContract.getAmountUpper(), true);
|
form.setField("moneyUpper", sysContract.getAmountUpper(), true);
|
||||||
form.setField("money", sysContract.getAmount().intValue() + "", true);
|
form.setField("money", sysContract.getAmount().intValue() + "", true);
|
||||||
form.setField("phone", sysContract.getPhone(), true);
|
form.setField("phone", sysContract.getPhone(), true);
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {addContract, listContract} from "@/api/custom/contract";
|
import {addContract, delContract, listContract} from "@/api/custom/contract";
|
||||||
|
|
||||||
import {getOptions} from "@/api/custom/order";
|
import {getOptions} from "@/api/custom/order";
|
||||||
|
|
||||||
@ -390,20 +390,20 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
// handleDelete(row) {
|
handleDelete(row) {
|
||||||
// const ids = row.id || this.ids;
|
const ids = row.id || this.ids;
|
||||||
// this.$confirm('是否确认删除合同编号为"' + ids + '"的数据项?', "警告", {
|
this.$confirm('是否确认删除合同编号为"' + ids + '"的数据项?', "警告", {
|
||||||
// confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
// cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
// type: "warning"
|
type: "warning"
|
||||||
// }).then(function () {
|
}).then(function () {
|
||||||
// return delContract(ids);
|
return delContract(ids);
|
||||||
// }).then(() => {
|
}).then(() => {
|
||||||
// this.getList();
|
this.getList();
|
||||||
// this.msgSuccess("删除成功");
|
this.msgSuccess("删除成功");
|
||||||
// }).catch(function () {
|
}).catch(function () {
|
||||||
// });
|
});
|
||||||
// },
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
// handleExport() {
|
// handleExport() {
|
||||||
// const queryParams = this.queryParams;
|
// const queryParams = this.queryParams;
|
||||||
|
@ -217,7 +217,6 @@
|
|||||||
submitForm() {
|
submitForm() {
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.form.name = this.form.cusName;
|
|
||||||
signContract(this.form).then(result => {
|
signContract(this.form).then(result => {
|
||||||
if (result.code === 200) {
|
if (result.code === 200) {
|
||||||
window.location.href = window.location.origin + result.url;
|
window.location.href = window.location.origin + result.url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user