|
|
@@ -42,7 +42,7 @@ module.exports = app => {
|
|
|
const insertId = data.cid || this.uuid.v4();
|
|
|
const transaction = await this.db.beginTransaction();
|
|
|
try {
|
|
|
- const add_key = ['c_code', 'name', 'tax', 'price', 'party_a', 'party_a_user', 'party_b', 'party_b_user', 'sign_date', 'address', 'entity', 'bank', 'bank_account'];
|
|
|
+ const add_key = ['c_code', 'name', 'tax', 'price', 'party_a', 'party_a_user', 'party_b', 'party_b_user', 'sign_date', 'address', 'entity', 'bank', 'bank_account', 'type', 'rela_tender', 'remark'];
|
|
|
const maxId = await this.ctx.service.contractTree._getMaxLid(options);
|
|
|
const insertData = {
|
|
|
id: insertId,
|
|
|
@@ -62,7 +62,7 @@ module.exports = app => {
|
|
|
// party_b: data.party_b,
|
|
|
// sign_date: data.sign_date,
|
|
|
// remark: data.remark,
|
|
|
- type: data.type,
|
|
|
+ // type: data.type,
|
|
|
create_time: new Date(),
|
|
|
need_shenpi: options.spid ? this.ctx.subProject.page_show.openContractSubProjectShenpi : this.ctx.subProject.page_show.openContractTenderShenpi,
|
|
|
};
|