提交 0a790b36 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 发布系统代码

上级 9137b132
......@@ -1439,6 +1439,16 @@
"viewtag": "e7ed63c9b06815f5310c4fff23b93c8b",
"memo": "系统自动添加"
},
"salesorderquickcreateview": {
"title": "订单选项操作视图",
"caption": "订单",
"viewtype": "DEOPTVIEW",
"viewmodule": "Sales",
"viewname": "SalesOrderQuickCreateView",
"viewfilename": "sales-order-quick-create-view",
"viewtag": "e9c822edbc51531e713b561101e783a6",
"memo": ""
},
"accountpickupgridview": {
"title": "客户选择表格视图",
"caption": "客户",
......
......@@ -616,6 +616,10 @@ export default {
uiactions: {
},
},
pickupgridviewtoolbar_toolbar: {
},
innerpickupgridviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
......
......@@ -615,6 +615,10 @@ export default {
uiactions: {
},
},
pickupgridviewtoolbar_toolbar: {
},
innerpickupgridviewtoolbar_toolbar: {
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
......
......@@ -113,6 +113,10 @@ export default {
caption: "订单",
title: "订单表格视图",
},
quickcreateview: {
caption: "订单",
title: "订单选项操作视图",
},
},
main_form: {
details: {
......@@ -138,6 +142,29 @@ export default {
uiactions: {
},
},
quickcreate_form: {
details: {
group1: "订单基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "订单",
srfmajortext: "销售订单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
ordernumber: "订单编码",
salesordername: "销售订单名称",
transactioncurrencyname: "货币",
pricelevelname: "价目表",
salesorderid: "订单",
transactioncurrencyid: "货币",
pricelevelid: "价目表",
},
uiactions: {
},
},
main_grid: {
columns: {
salesordername: "销售订单名称",
......
......@@ -112,6 +112,10 @@ export default {
caption: "订单",
title: "订单表格视图",
},
quickcreateview: {
caption: "订单",
title: "订单选项操作视图",
},
},
main_form: {
details: {
......@@ -137,6 +141,29 @@ export default {
uiactions: {
},
},
quickcreate_form: {
details: {
group1: "订单基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "订单",
srfmajortext: "销售订单名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
ordernumber: "订单编码",
salesordername: "销售订单名称",
transactioncurrencyname: "货币",
pricelevelname: "价目表",
salesorderid: "订单",
transactioncurrencyid: "货币",
pricelevelid: "价目表",
},
uiactions: {
},
},
main_grid: {
columns: {
salesordername: "销售订单名称",
......
......@@ -1159,6 +1159,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactEditPerson",
"viewtag": "e7ed63c9b06815f5310c4fff23b93c8b"
},
"salesorderquickcreateview": {
"title": "订单选项操作视图",
"caption": "订单",
"viewtype": "DEOPTVIEW",
"viewmodule": "Sales",
"viewname": "SalesOrderQuickCreateView",
"viewtag": "e9c822edbc51531e713b561101e783a6"
},
"accountpickupgridview": {
"title": "客户选择表格视图",
"caption": "客户",
......
......@@ -52,9 +52,20 @@ export class AccountInnerPickupGridViewBase extends PickupGridViewBase {
* @memberof AccountInnerPickupGridViewBase
*/
protected containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' },
};
/**
* 工具栏模型
*
* @type {*}
* @memberof AccountInnerPickupGridView
*/
public toolBarModels: any = {
};
/**
* 视图唯一标识
......
<studio-view-style2 viewName="accountinnerpickupgridview" viewTitle="客户选择表格视图" class='depickupgridview account-inner-pickup-grid-view'>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<view_grid
:viewState="viewState"
:viewparams="viewparams"
......
......@@ -52,10 +52,21 @@ export class AccountPickupGridViewBase extends PickupGridViewBase {
* @memberof AccountPickupGridViewBase
*/
protected containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_grid: { name: 'grid', type: 'GRID' },
view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
};
/**
* 工具栏模型
*
* @type {*}
* @memberof AccountPickupGridView
*/
public toolBarModels: any = {
};
/**
* 视图唯一标识
......
<studio-view-style2 viewName="accountpickupgridview" viewTitle="客户选择表格视图" class='depickupgridview account-pickup-grid-view'>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
<template slot="searchForm">
<view_searchform
:viewState="viewState"
......
......@@ -81,6 +81,7 @@ export default class SalesOrderUIServiceBase extends UIService {
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'salesorders'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'salesorders'});
this.allViewMap.set(':',{viewname:'quickcreateview',srfappde:'salesorders'});
}
/**
......
......@@ -4536,7 +4536,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-account-359-55">
<changeSet author="a_LAB01_e85d8801c" id="tab-account-361-55">
<createTable tableName="ACCOUNT">
<column name="ADDRESS1_PRIMARYCONTACTNAME" remarks="" type="VARCHAR(100)">
</column>
......@@ -8555,7 +8555,7 @@
<!--输出实体[SALESORDER]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-salesorder-11-95">
<changeSet author="a_LAB01_e85d8801c" id="tab-salesorder-14-95">
<createTable tableName="SALESORDER">
<column name="ENTITYIMAGE" remarks="" type="VARCHAR(100)">
</column>
......@@ -11163,31 +11163,31 @@
<addForeignKeyConstraint baseColumnNames="METRICID" baseTableName="GOAL" constraintName="DER1N_GOAL__METRIC__METRICID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="METRICID" referencedTableName="METRIC" validate="true"/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-257">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-257">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__ACCOUNT__PARENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-258">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-258">
<addForeignKeyConstraint baseColumnNames="PRIMARYCONTACTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__CONTACT__PRIMAR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-259">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-259">
<addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__EQUIPMENT__PREF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EQUIPMENTID" referencedTableName="EQUIPMENT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-260">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-260">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__LEAD__ORIGINATI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-261">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-261">
<addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__PRICELEVEL__DEF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-262">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-262">
<addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SERVICE__PREFER" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SERVICEID" referencedTableName="SERVICE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-263">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-263">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-264">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-264">
<addForeignKeyConstraint baseColumnNames="TERRITORYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TERRITORY__TERR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TERRITORYID" referencedTableName="TERRITORY" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-account-359-265">
<changeSet author="a_LAB01_e85d8801c" id="fk-account-361-265">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="ACCOUNT" constraintName="DER1N_ACCOUNT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
......@@ -11482,22 +11482,22 @@
<addForeignKeyConstraint baseColumnNames="RESOURCECATEGORY" baseTableName="BOOKABLERESCATEGORYASSN" constraintName="DER1N_BOOKABLERESCATEGORYASSN_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="BOOKABLERESCATEGORYID" referencedTableName="BOOKABLERESCATEGORY" validate="true"/>
</changeSet>
<!--输出实体[SALESORDER]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-360">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-360">
<addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__CAMPAIGN__CA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-361">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-361">
<addForeignKeyConstraint baseColumnNames="OPPORTUNITYID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__OPPORTUNITY_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="OPPORTUNITYID" referencedTableName="OPPORTUNITY" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-362">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-362">
<addForeignKeyConstraint baseColumnNames="PRICELEVELID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__PRICELEVEL__" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-363">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-363">
<addForeignKeyConstraint baseColumnNames="QUOTEID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__QUOTE__QUOTE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="QUOTEID" referencedTableName="QUOTE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-364">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-364">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-11-365">
<changeSet author="a_LAB01_e85d8801c" id="fk-salesorder-14-365">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="SALESORDER" constraintName="DER1N_SALESORDER__TRANSACTIONC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[LEADADDRESS]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册