This commit is contained in:
郑茂强 2018-10-18 09:26:28 +08:00
parent 2885175a7c
commit bf81c0d140
2 changed files with 25 additions and 17 deletions

View File

@ -13,15 +13,23 @@ class Table {
this.selectedCell; this.selectedCell;
} }
render() {} render() {}
addRowElement() {} deleteCurrentRow() {}
} deleteCurrenCol() {}
// 行类 insertColToLeft() {}
class Row { insertColToRight() {}
createRowElement() { insertRowToTop() {}
const rowElement = document.createElement("tr"); insertRowToBottom() {}
return rowElement; mergeRightCell() {}
} mergeBottomCell() {}
addTemplate() {}
addFormHeader() {}
addSplitedGroupHeader() {}
addBanCaiDetails() {}
addSplitedGroupFooter() {}
addFormFooter() {}
} }
// 单元类 // 单元类
class Cell { class Cell {
cellId: string; cellId: string;

View File

@ -32,28 +32,28 @@ class DataResource {
} }
getOrderNo() { getOrderNo() {
return this.data.orderNo; return [this.data.orderNo];
} }
getClientName() { getClientName() {
return this.data.clientName; return [this.data.clientName];
} }
getSoldDate() { getSoldDate() {
return this.data.soldDate; return [this.data.soldDate];
} }
getContactName() { getContactName() {
return this.data.contactName; return [this.data.contactName];
} }
getContactNo() { getContactNo() {
return this.data.contactNo; return [this.data.contactNo];
} }
getDeliveryAddress() { getDeliveryAddress() {
return this.data.deliveryAddress; return [this.data.deliveryAddress];
} }
getAddOn() { getAddOn() {
return this.data.addOn; return [this.data.addOn];
} }
getBoards() { getBoards() {
return this.data.boards; return [this.data.boards];
} }
getBoardMaterial() { getBoardMaterial() {
const BoardMaterial = []; const BoardMaterial = [];
@ -83,7 +83,7 @@ class DataResource {
} }
houseName.push(tem); houseName.push(tem);
} }
return houseName; // 返回数据结构hosueName=[['string||number''string||number'],[]] return houseName; // 返回数据结构hosueName=[['string||number''string||number',....],[]]
} }
getEachBanCaiToTal(boardKey: string) { getEachBanCaiToTal(boardKey: string) {
const banCaiTotalArray = []; const banCaiTotalArray = [];