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

Mosher 发布系统代码 [后台服务,演示应用]

上级 36310025
......@@ -294,16 +294,16 @@ function getAppLocale(){
menuitem166: commonLogic.appcommonhandle("Entity Data Kanban View",null),
menuitem167: commonLogic.appcommonhandle("Entity Options Operations View",null),
menuitem141: commonLogic.appcommonhandle("MultiDataView",null),
menuitem79: commonLogic.appcommonhandle("EntityGridView",null),
menuitem79: commonLogic.appcommonhandle("Entity Grid View",null),
menuitem168: commonLogic.appcommonhandle("Entity Multi Form Edit View",null),
menuitem169: commonLogic.appcommonhandle("EntityGanttview",null),
menuitem9: commonLogic.appcommonhandle("EntityListView",null),
menuitem170: commonLogic.appcommonhandle("EntityCalendarView",null),
menuitem171: commonLogic.appcommonhandle("EntityKanbanView",null),
menuitem172: commonLogic.appcommonhandle("EntityGridView",null),
menuitem169: commonLogic.appcommonhandle("Entity Gantt View",null),
menuitem9: commonLogic.appcommonhandle("Entity List View",null),
menuitem170: commonLogic.appcommonhandle("Entity Calendar View",null),
menuitem171: commonLogic.appcommonhandle("Entity Kanban View",null),
menuitem172: commonLogic.appcommonhandle("Entity Grid View",null),
menuitem173: commonLogic.appcommonhandle("Entity Tree View",null),
menuitem174: commonLogic.appcommonhandle("Entity Data View",null),
menuitem175: commonLogic.appcommonhandle("EntityChartView",null),
menuitem175: commonLogic.appcommonhandle("Entity Chart View",null),
menuitem10: commonLogic.appcommonhandle("NavigationView",null),
menuitem176: commonLogic.appcommonhandle("Entity Grid Navigation View",null),
menuitem177: commonLogic.appcommonhandle("Entity List Navigation View",null),
......
......@@ -647,6 +647,18 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem24: {
caption: commonLogic.appcommonhandle("行编辑",null),
tip: commonLogic.appcommonhandle("行编辑",null),
},
tbitem25: {
caption: commonLogic.appcommonhandle("新建行",null),
tip: commonLogic.appcommonhandle("新建行",null),
},
tbitem26: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
......
......@@ -647,6 +647,18 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem24: {
caption: commonLogic.appcommonhandle("行编辑",null),
tip: commonLogic.appcommonhandle("行编辑",null),
},
tbitem25: {
caption: commonLogic.appcommonhandle("新建行",null),
tip: commonLogic.appcommonhandle("新建行",null),
},
tbitem26: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
......
......@@ -13,16 +13,16 @@
:context="context"
:isSingleSelect="isSingleSelect"
:showBusyIndicator="true"
:isOpenEdit="false"
:isOpenEdit="true"
:gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart"
@save="onSave"
updateAction=""
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
fetchAction="FetchDefault"
updateAction="UpdateTemp"
removeAction="RemoveTemp"
loaddraftAction="GetDraftTemp"
loadAction="GetTemp"
createAction="CreateTemp"
fetchAction="FetchTempDefault"
:newdata="newdata"
:opendata="opendata"
name="grid"
......@@ -66,6 +66,21 @@
<div slot='content'>{{$t('entities.ibizorderdetail.usr2gridview9toolbar_toolbar.tbitem6.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem24.visabled" :disabled="toolBarModels.tbitem24.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem24' }, $event)">
<span class='caption'>{{$t('entities.ibizorderdetail.usr2gridview9toolbar_toolbar.tbitem24.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.usr2gridview9toolbar_toolbar.tbitem24.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem25.visabled" :disabled="toolBarModels.tbitem25.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem25' }, $event)">
<i class='fa fa-plus'></i>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.usr2gridview9toolbar_toolbar.tbitem25.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem8' }, $event)">
......@@ -356,6 +371,11 @@ export default class IBIZOrderDetailUsr2GridView9Base extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem24: { name: 'tbitem24', actiontarget: 'NONE', caption: '行编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleRowEdit', target: '' } },
tbitem25: { name: 'tbitem25', actiontarget: 'NONE', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'NewRow', target: '' } },
tbitem26: { name: 'tbitem26', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
tbitem9: { name: 'tbitem9', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
......
......@@ -29,7 +29,21 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<template v-if="actualIsOpenEdit && !row.children">
<app-form-item :error="gridItemsModel[$index][column.property].error">
<input-box
:disabled="getColumnDisabled(row,column.property)"
v-model="row[column.property]"
style=""
type="text"
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</input-box>
</app-form-item>
</template>
<template v-if="!actualIsOpenEdit">
<app-span name='ibizorderdetailname' editorType="TEXTBOX" :value="row.ibizorderdetailname" dataType="TEXT" precision="0" ></app-span>
</template>
</template>
......@@ -55,7 +69,25 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<template v-if="actualIsOpenEdit && !row.children">
<app-form-item :error="gridItemsModel[$index][column.property].error">
<dropdown-list
v-model="row[column.property]"
:disabled="getColumnDisabled(row,column.property)"
:data="row"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
placeholder='请选择...'
style=""
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</dropdown-list>
</app-form-item>
</template>
<template v-if="!actualIsOpenEdit">
<app-span name='IBIZuniproductname' editorType="DROPDOWNLIST" :value="row.ibizuniproductname" dataType="PICKUPTEXT" precision="0" ></app-span>
</template>
</template>
......@@ -69,7 +101,21 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<template v-if="actualIsOpenEdit && !row.children">
<app-form-item :error="gridItemsModel[$index][column.property].error">
<input-box
:disabled="getColumnDisabled(row,column.property)"
v-model="row[column.property]"
style=""
type="text"
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</input-box>
</app-form-item>
</template>
<template v-if="!actualIsOpenEdit">
<app-span name='quantity' editorType="TEXTBOX" :value="row.quantity" dataType="INT" precision="0" ></app-span>
</template>
</template>
......@@ -674,7 +720,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizorderdetailname',
show: true,
unit: 'PX',
isEnableRowEdit: false,
isEnableRowEdit: true,
enableCond: 3 ,
},
{
......@@ -692,7 +738,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizuniproductname',
show: true,
unit: 'px',
isEnableRowEdit: false,
isEnableRowEdit: true,
enableCond: 3 ,
},
{
......@@ -701,7 +747,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.quantity',
show: true,
unit: 'px',
isEnableRowEdit: false,
isEnableRowEdit: true,
enableCond: 3 ,
},
{
......
......@@ -27,7 +27,7 @@ export default class TempModeGridService extends ControlService {
* @memberof TempModeGridService
*/
public setTempMode(){
this.isTempMode = false;
this.isTempMode = true;
}
/**
......
......@@ -145,7 +145,7 @@
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='ibizorder-detail-usr2-grid-view9'
tempMode='0'
tempMode='2'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册