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

xignzi006 发布系统代码

上级 b25422fa
...@@ -289,6 +289,31 @@ export default { ...@@ -289,6 +289,31 @@ export default {
title: "联系人信息", title: "联系人信息",
}, },
}, },
quickcreate_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
fullname: "全名",
jobtitle: "职务",
customername: "客户",
emailaddress1: "电子邮件",
telephone1: "商务电话",
mobilephone: "移动电话",
fax: "传真",
customerid: "客户",
contactid: "联系人",
},
uiactions: {
},
},
abstractinfo_form: { abstractinfo_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
...@@ -431,31 +456,6 @@ export default { ...@@ -431,31 +456,6 @@ export default {
contact_edit_datapanel: "编辑头部信息", contact_edit_datapanel: "编辑头部信息",
}, },
}, },
quickcreate_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
fullname: "全名",
jobtitle: "职务",
customername: "客户",
emailaddress1: "电子邮件",
telephone1: "商务电话",
mobilephone: "移动电话",
fax: "传真",
customerid: "客户",
contactid: "联系人",
},
uiactions: {
},
},
abstractedit_form: { abstractedit_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
...@@ -658,26 +658,26 @@ export default { ...@@ -658,26 +658,26 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: { byaccount_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
byaccount_grid: { main_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
default_searchform: { default_searchform: {
...@@ -690,6 +690,48 @@ export default { ...@@ -690,6 +690,48 @@ export default {
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem1_quickcreate: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem12: { tbitem12: {
caption: "关闭", caption: "关闭",
...@@ -742,48 +784,6 @@ export default { ...@@ -742,48 +784,6 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem1_quickcreate: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
usablegridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
......
...@@ -288,6 +288,31 @@ export default { ...@@ -288,6 +288,31 @@ export default {
title: "联系人信息", title: "联系人信息",
}, },
}, },
quickcreate_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
fullname: "全名",
jobtitle: "职务",
customername: "客户",
emailaddress1: "电子邮件",
telephone1: "商务电话",
mobilephone: "移动电话",
fax: "传真",
customerid: "客户",
contactid: "联系人",
},
uiactions: {
},
},
abstractinfo_form: { abstractinfo_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
...@@ -430,31 +455,6 @@ export default { ...@@ -430,31 +455,6 @@ export default {
contact_edit_datapanel: "编辑头部信息", contact_edit_datapanel: "编辑头部信息",
}, },
}, },
quickcreate_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
fullname: "全名",
jobtitle: "职务",
customername: "客户",
emailaddress1: "电子邮件",
telephone1: "商务电话",
mobilephone: "移动电话",
fax: "传真",
customerid: "客户",
contactid: "联系人",
},
uiactions: {
},
},
abstractedit_form: { abstractedit_form: {
details: { details: {
group1: "联系人基本信息", group1: "联系人基本信息",
...@@ -657,26 +657,26 @@ export default { ...@@ -657,26 +657,26 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: { byaccount_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
byaccount_grid: { main_grid: {
columns: { columns: {
fullname: "全名", fullname: "全名",
emailaddress1: "电子邮件", emailaddress1: "电子邮件",
parentcustomerid: "公司名称", parentcustomerid: "公司名称",
telephone1: "商务电话", telephone1: "商务电话",
uagridcolumn1: "设置主联系人",
}, },
uiactions: { uiactions: {
contact_setprimary: "设置为主要联系人",
}, },
}, },
default_searchform: { default_searchform: {
...@@ -689,6 +689,48 @@ export default { ...@@ -689,6 +689,48 @@ export default {
uiactions: { uiactions: {
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem1_quickcreate: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem12: { tbitem12: {
caption: "关闭", caption: "关闭",
...@@ -741,48 +783,6 @@ export default { ...@@ -741,48 +783,6 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
gridviewtoolbar_toolbar: {
tbitem1_quickcreate: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
usablegridviewtoolbar_toolbar: { usablegridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
......
...@@ -201,6 +201,7 @@ export default { ...@@ -201,6 +201,7 @@ export default {
billto_stateorprovince: "省/市/自治区", billto_stateorprovince: "省/市/自治区",
billto_city: "市/县", billto_city: "市/县",
billto_line1: "街道", billto_line1: "街道",
opportunityid: "商机",
invoiceid: "发票", invoiceid: "发票",
}, },
uiactions: { uiactions: {
......
...@@ -200,6 +200,7 @@ export default { ...@@ -200,6 +200,7 @@ export default {
billto_stateorprovince: "省/市/自治区", billto_stateorprovince: "省/市/自治区",
billto_city: "市/县", billto_city: "市/县",
billto_line1: "街道", billto_line1: "街道",
opportunityid: "商机",
invoiceid: "发票", invoiceid: "发票",
}, },
uiactions: { uiactions: {
......
...@@ -518,7 +518,7 @@ export default { ...@@ -518,7 +518,7 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
conleadgridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -560,7 +560,7 @@ export default { ...@@ -560,7 +560,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
gridviewtoolbar_toolbar: { conleadgridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
......
...@@ -517,7 +517,7 @@ export default { ...@@ -517,7 +517,7 @@ export default {
tip: "关闭", tip: "关闭",
}, },
}, },
conleadgridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
...@@ -559,7 +559,7 @@ export default { ...@@ -559,7 +559,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
gridviewtoolbar_toolbar: { conleadgridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
tip: "新建", tip: "新建",
......
...@@ -151,30 +151,6 @@ export default { ...@@ -151,30 +151,6 @@ export default {
title: "报价单状态分页视图", title: "报价单状态分页视图",
}, },
}, },
main_form: {
details: {
group1: "quote基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "报价单",
srfmajortext: "报价名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
quotename: "报价名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
quoteid: "报价单",
},
uiactions: {
},
},
quickcreate_form: { quickcreate_form: {
details: { details: {
group1: "报价单基本信息", group1: "报价单基本信息",
...@@ -233,6 +209,7 @@ export default { ...@@ -233,6 +209,7 @@ export default {
shippingmethodcode: "送货方式", shippingmethodcode: "送货方式",
shipto_postalcode: "送货地的邮政编码", shipto_postalcode: "送货地的邮政编码",
willcall: "送货地址", willcall: "送货地址",
opportunityid: "商机",
quoteid: "报价单", quoteid: "报价单",
}, },
uiactions: { uiactions: {
...@@ -283,6 +260,30 @@ export default { ...@@ -283,6 +260,30 @@ export default {
quote_edit_datapanel: "编辑头部信息", quote_edit_datapanel: "编辑头部信息",
}, },
}, },
main_form: {
details: {
group1: "quote基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "报价单",
srfmajortext: "报价名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
quotename: "报价名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
quoteid: "报价单",
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
quotename: "报价名称", quotename: "报价名称",
...@@ -300,82 +301,6 @@ export default { ...@@ -300,82 +301,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
infotoolbar_toolbar: { infotoolbar_toolbar: {
tbitem17_active: { tbitem17_active: {
caption: "激活报价单", caption: "激活报价单",
...@@ -452,6 +377,82 @@ export default { ...@@ -452,6 +377,82 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
......
...@@ -150,30 +150,6 @@ export default { ...@@ -150,30 +150,6 @@ export default {
title: "报价单状态分页视图", title: "报价单状态分页视图",
}, },
}, },
main_form: {
details: {
group1: "quote基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "报价单",
srfmajortext: "报价名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
quotename: "报价名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
quoteid: "报价单",
},
uiactions: {
},
},
quickcreate_form: { quickcreate_form: {
details: { details: {
group1: "报价单基本信息", group1: "报价单基本信息",
...@@ -232,6 +208,7 @@ export default { ...@@ -232,6 +208,7 @@ export default {
shippingmethodcode: "送货方式", shippingmethodcode: "送货方式",
shipto_postalcode: "送货地的邮政编码", shipto_postalcode: "送货地的邮政编码",
willcall: "送货地址", willcall: "送货地址",
opportunityid: "商机",
quoteid: "报价单", quoteid: "报价单",
}, },
uiactions: { uiactions: {
...@@ -282,6 +259,30 @@ export default { ...@@ -282,6 +259,30 @@ export default {
quote_edit_datapanel: "编辑头部信息", quote_edit_datapanel: "编辑头部信息",
}, },
}, },
main_form: {
details: {
group1: "quote基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "报价单",
srfmajortext: "报价名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
quotename: "报价名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
quoteid: "报价单",
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
quotename: "报价名称", quotename: "报价名称",
...@@ -299,82 +300,6 @@ export default { ...@@ -299,82 +300,6 @@ export default {
uiactions: { uiactions: {
}, },
}, },
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
},
infotoolbar_toolbar: { infotoolbar_toolbar: {
tbitem17_active: { tbitem17_active: {
caption: "激活报价单", caption: "激活报价单",
...@@ -451,6 +376,82 @@ export default { ...@@ -451,6 +376,82 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
oppquagridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
},
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_quickcreate: { tbitem1_quickcreate: {
caption: "新建", caption: "新建",
......
...@@ -225,6 +225,7 @@ export default { ...@@ -225,6 +225,7 @@ export default {
billto_line1: "街道", billto_line1: "街道",
billto_postalcode: "邮政编码", billto_postalcode: "邮政编码",
salesorderid: "订单", salesorderid: "订单",
opportunityid: "商机",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -224,6 +224,7 @@ export default { ...@@ -224,6 +224,7 @@ export default {
billto_line1: "街道", billto_line1: "街道",
billto_postalcode: "邮政编码", billto_postalcode: "邮政编码",
salesorderid: "订单", salesorderid: "订单",
opportunityid: "商机",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -844,6 +844,7 @@ export const viewstate: any = { ...@@ -844,6 +844,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'8bfcd7acdd1f36afc1714f1071671f2c',
], ],
}, },
{ {
...@@ -2606,6 +2607,7 @@ export const viewstate: any = { ...@@ -2606,6 +2607,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'8bfcd7acdd1f36afc1714f1071671f2c',
], ],
}, },
{ {
...@@ -2663,6 +2665,7 @@ export const viewstate: any = { ...@@ -2663,6 +2665,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'8bfcd7acdd1f36afc1714f1071671f2c',
], ],
}, },
{ {
......
...@@ -96,6 +96,7 @@ export class InfoEditFormBase extends EditFormControlBase { ...@@ -96,6 +96,7 @@ export class InfoEditFormBase extends EditFormControlBase {
billto_stateorprovince: null, billto_stateorprovince: null,
billto_city: null, billto_city: null,
billto_line1: null, billto_line1: null,
opportunityid: null,
invoiceid: null, invoiceid: null,
invoice:null, invoice:null,
}; };
...@@ -188,6 +189,8 @@ export class InfoEditFormBase extends EditFormControlBase { ...@@ -188,6 +189,8 @@ export class InfoEditFormBase extends EditFormControlBase {
billto_line1: new FormItemModel({ caption: '街道', detailType: 'FORMITEM', name: 'billto_line1', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }), billto_line1: new FormItemModel({ caption: '街道', detailType: 'FORMITEM', name: 'billto_line1', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
opportunityid: new FormItemModel({ caption: '商机', detailType: 'FORMITEM', name: 'opportunityid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
invoiceid: new FormItemModel({ caption: '发票', detailType: 'FORMITEM', name: 'invoiceid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }), invoiceid: new FormItemModel({ caption: '发票', detailType: 'FORMITEM', name: 'invoiceid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
}; };
......
...@@ -165,6 +165,11 @@ export default class InfoModel { ...@@ -165,6 +165,11 @@ export default class InfoModel {
prop: 'billto_line1', prop: 'billto_line1',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'opportunityid',
prop: 'opportunityid',
dataType: 'PICKUP',
},
{ {
name: 'invoiceid', name: 'invoiceid',
prop: 'invoiceid', prop: 'invoiceid',
......
...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import InvoiceService from '@/service/invoice/invoice-service'; import InvoiceService from '@/service/invoice/invoice-service';
import InfoModel from './info-form-model'; import InfoModel from './info-form-model';
import OpportunityService from '@/service/opportunity/opportunity-service';
/** /**
...@@ -41,6 +42,14 @@ export default class InfoService extends ControlService { ...@@ -41,6 +42,14 @@ export default class InfoService extends ControlService {
this.model = new InfoModel(); this.model = new InfoModel();
} }
/**
* 商机服务对象
*
* @type {OpportunityService}
* @memberof InfoService
*/
public opportunityService: OpportunityService = new OpportunityService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -80,6 +89,9 @@ export default class InfoService extends ControlService { ...@@ -80,6 +89,9 @@ export default class InfoService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'OpportunityService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.opportunityService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'opportunityid', 'opportunity');
}
return Promise.reject([]) return Promise.reject([])
} }
......
...@@ -141,7 +141,24 @@ ...@@ -141,7 +141,24 @@
<i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.invoice.info_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.invoice.info_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='opportunityname' :value="data.opportunityname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.opportunityname.disabled"
name='opportunityname'
deMajorField='opportunityname'
deKeyField='opportunity'
valueitem='opportunityid'
:value="data.opportunityname"
editortype="linkonly"
:linkview="{ viewname: 'OpportunityInfo', title: $t('entities.opportunity.views.info.title'), deResParameters: [{ pathName: 'accounts', parameterName: 'account' }, ], parameters: [{ pathName: 'opportunities', parameterName: 'opportunity' }, { pathName: 'info', parameterName: 'info' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
...@@ -31,7 +31,15 @@ ...@@ -31,7 +31,15 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<span>{{row.entityname}}</span> <app-column-link deKeyField='opportunity' :context="JSON.parse(JSON.stringify(context))" :viewparams="JSON.parse(JSON.stringify(viewparams))" :data="row" :linkview="{viewname: 'opportunity-info', height: 0,width: 0,title: $t('entities.opportunity.views.info.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'accounts', parameterName: 'account' },
]
,parameters: [
{ pathName: 'opportunities', parameterName: 'opportunity' },
{ pathName: 'info', parameterName: 'info' }
]}" valueitem="entityid">
<span>{{row.entityname}}</span>
</app-column-link >
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
......
...@@ -31,7 +31,15 @@ ...@@ -31,7 +31,15 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<span>{{row.opportunityname}}</span> <app-column-link deKeyField='opportunity' :context="JSON.parse(JSON.stringify(context))" :viewparams="JSON.parse(JSON.stringify(viewparams))" :data="row" :linkview="{viewname: 'opportunity-info', height: 0,width: 0,title: $t('entities.opportunity.views.info.title'),placement: '', isRedirectView: false,deResParameters: [
{ pathName: 'accounts', parameterName: 'account' },
]
,parameters: [
{ pathName: 'opportunities', parameterName: 'opportunity' },
{ pathName: 'info', parameterName: 'info' }
]}" valueitem="srfkey">
<span>{{row.opportunityname}}</span>
</app-column-link >
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
......
...@@ -93,6 +93,7 @@ export class AbstractInfoEditFormBase extends EditFormControlBase { ...@@ -93,6 +93,7 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
shippingmethodcode: null, shippingmethodcode: null,
shipto_postalcode: null, shipto_postalcode: null,
willcall: null, willcall: null,
opportunityid: null,
quoteid: null, quoteid: null,
quote:null, quote:null,
}; };
...@@ -173,6 +174,8 @@ export class AbstractInfoEditFormBase extends EditFormControlBase { ...@@ -173,6 +174,8 @@ export class AbstractInfoEditFormBase extends EditFormControlBase {
willcall: new FormItemModel({ caption: '送货地址', detailType: 'FORMITEM', name: 'willcall', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }), willcall: new FormItemModel({ caption: '送货地址', detailType: 'FORMITEM', name: 'willcall', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
opportunityid: new FormItemModel({ caption: '商机', detailType: 'FORMITEM', name: 'opportunityid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
quoteid: new FormItemModel({ caption: '报价单', detailType: 'FORMITEM', name: 'quoteid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }), quoteid: new FormItemModel({ caption: '报价单', detailType: 'FORMITEM', name: 'quoteid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
}; };
......
...@@ -148,6 +148,11 @@ export default class AbstractInfoModel { ...@@ -148,6 +148,11 @@ export default class AbstractInfoModel {
prop: 'willcall', prop: 'willcall',
dataType: 'YESNO', dataType: 'YESNO',
}, },
{
name: 'opportunityid',
prop: 'opportunityid',
dataType: 'PICKUP',
},
{ {
name: 'quoteid', name: 'quoteid',
prop: 'quoteid', prop: 'quoteid',
......
...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import QuoteService from '@/service/quote/quote-service'; import QuoteService from '@/service/quote/quote-service';
import AbstractInfoModel from './abstract-info-form-model'; import AbstractInfoModel from './abstract-info-form-model';
import OpportunityService from '@/service/opportunity/opportunity-service';
/** /**
...@@ -41,6 +42,14 @@ export default class AbstractInfoService extends ControlService { ...@@ -41,6 +42,14 @@ export default class AbstractInfoService extends ControlService {
this.model = new AbstractInfoModel(); this.model = new AbstractInfoModel();
} }
/**
* 商机服务对象
*
* @type {OpportunityService}
* @memberof AbstractInfoService
*/
public opportunityService: OpportunityService = new OpportunityService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -80,6 +89,9 @@ export default class AbstractInfoService extends ControlService { ...@@ -80,6 +89,9 @@ export default class AbstractInfoService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'OpportunityService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.opportunityService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'opportunityid', 'opportunity');
}
return Promise.reject([]) return Promise.reject([])
} }
......
...@@ -30,7 +30,24 @@ ...@@ -30,7 +30,24 @@
<i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.quote.abstractinfo_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.quote.abstractinfo_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='opportunityname' :value="data.opportunityname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.opportunityname.disabled"
name='opportunityname'
deMajorField='opportunityname'
deKeyField='opportunity'
valueitem='opportunityid'
:value="data.opportunityname"
editortype="linkonly"
:linkview="{ viewname: 'OpportunityInfo', title: $t('entities.opportunity.views.info.title'), deResParameters: [{ pathName: 'accounts', parameterName: 'account' }, ], parameters: [{ pathName: 'opportunities', parameterName: 'opportunity' }, { pathName: 'info', parameterName: 'info' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
...@@ -98,6 +98,7 @@ export class InfoEditFormBase extends EditFormControlBase { ...@@ -98,6 +98,7 @@ export class InfoEditFormBase extends EditFormControlBase {
billto_line1: null, billto_line1: null,
billto_postalcode: null, billto_postalcode: null,
salesorderid: null, salesorderid: null,
opportunityid: null,
salesorder:null, salesorder:null,
}; };
...@@ -193,5 +194,7 @@ export class InfoEditFormBase extends EditFormControlBase { ...@@ -193,5 +194,7 @@ export class InfoEditFormBase extends EditFormControlBase {
salesorderid: new FormItemModel({ caption: '订单', detailType: 'FORMITEM', name: 'salesorderid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }), salesorderid: new FormItemModel({ caption: '订单', detailType: 'FORMITEM', name: 'salesorderid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
opportunityid: new FormItemModel({ caption: '商机', detailType: 'FORMITEM', name: 'opportunityid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
}; };
} }
\ No newline at end of file
...@@ -175,6 +175,11 @@ export default class InfoModel { ...@@ -175,6 +175,11 @@ export default class InfoModel {
prop: 'salesorderid', prop: 'salesorderid',
dataType: 'GUID', dataType: 'GUID',
}, },
{
name: 'opportunityid',
prop: 'opportunityid',
dataType: 'PICKUP',
},
{ {
name: 'salesorder', name: 'salesorder',
prop: 'salesorderid', prop: 'salesorderid',
......
...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import SalesOrderService from '@/service/sales-order/sales-order-service'; import SalesOrderService from '@/service/sales-order/sales-order-service';
import InfoModel from './info-form-model'; import InfoModel from './info-form-model';
import OpportunityService from '@/service/opportunity/opportunity-service';
/** /**
...@@ -41,6 +42,14 @@ export default class InfoService extends ControlService { ...@@ -41,6 +42,14 @@ export default class InfoService extends ControlService {
this.model = new InfoModel(); this.model = new InfoModel();
} }
/**
* 商机服务对象
*
* @type {OpportunityService}
* @memberof InfoService
*/
public opportunityService: OpportunityService = new OpportunityService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -80,6 +89,9 @@ export default class InfoService extends ControlService { ...@@ -80,6 +89,9 @@ export default class InfoService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'OpportunityService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.opportunityService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'opportunityid', 'opportunity');
}
return Promise.reject([]) return Promise.reject([])
} }
......
...@@ -141,7 +141,24 @@ ...@@ -141,7 +141,24 @@
<i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.opportunityname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.salesorder.info_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='opportunityname' :itemRules="this.rules.opportunityname" class='' :caption="$t('entities.salesorder.info_form.details.opportunityname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.opportunityname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='opportunityname' :value="data.opportunityname" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span> <app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.opportunityname.disabled"
name='opportunityname'
deMajorField='opportunityname'
deKeyField='opportunity'
valueitem='opportunityid'
:value="data.opportunityname"
editortype="linkonly"
:linkview="{ viewname: 'OpportunityInfo', title: $t('entities.opportunity.views.info.title'), deResParameters: [{ pathName: 'accounts', parameterName: 'account' }, ], parameters: [{ pathName: 'opportunities', parameterName: 'opportunity' }, { pathName: 'info', parameterName: 'info' } ], width: 0, height: 0, placement: '', isRedirectView: false }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册