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

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

上级 b61bd61b
...@@ -319,7 +319,7 @@ function getAppLocale(){ ...@@ -319,7 +319,7 @@ function getAppLocale(){
menuitem11: commonLogic.appcommonhandle("OtherViews",null), menuitem11: commonLogic.appcommonhandle("OtherViews",null),
menuitem98: commonLogic.appcommonhandle("Custom View",null), menuitem98: commonLogic.appcommonhandle("Custom View",null),
menuitem153: commonLogic.appcommonhandle("Logic",null), menuitem153: commonLogic.appcommonhandle("Logic",null),
menuitem154: commonLogic.appcommonhandle("ApplicationFunction",null), menuitem154: commonLogic.appcommonhandle("Application Function",null),
menuitem127: commonLogic.appcommonhandle("Open Application View",null), menuitem127: commonLogic.appcommonhandle("Open Application View",null),
menuitem147: commonLogic.appcommonhandle("Open HTML Page",null), menuitem147: commonLogic.appcommonhandle("Open HTML Page",null),
menuitem160: commonLogic.appcommonhandle("Executing JavaScript",null), menuitem160: commonLogic.appcommonhandle("Executing JavaScript",null),
......
...@@ -626,7 +626,7 @@ function getLocaleResourceBase(){ ...@@ -626,7 +626,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Save And Close Window",null), tip: commonLogic.appcommonhandle("Save And Close Window",null),
}, },
}, },
tempmodegridviewtoolbar_toolbar: { usr2gridview9toolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
...@@ -647,18 +647,6 @@ function getLocaleResourceBase(){ ...@@ -647,18 +647,6 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
tip: 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: { tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null), caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null), tip: commonLogic.appcommonhandle("Remove {0}",null),
...@@ -730,7 +718,7 @@ function getLocaleResourceBase(){ ...@@ -730,7 +718,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("刷新",null), tip: commonLogic.appcommonhandle("刷新",null),
}, },
}, },
usr2gridview9toolbar_toolbar: { tempmodegridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null), tip: commonLogic.appcommonhandle("New",null),
...@@ -751,6 +739,18 @@ function getLocaleResourceBase(){ ...@@ -751,6 +739,18 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
tip: 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: { tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null), caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null), tip: commonLogic.appcommonhandle("Remove {0}",null),
......
...@@ -626,7 +626,7 @@ function getLocaleResourceBase(){ ...@@ -626,7 +626,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null), tip: commonLogic.appcommonhandle("保存并关闭",null),
}, },
}, },
tempmodegridviewtoolbar_toolbar: { usr2gridview9toolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -647,18 +647,6 @@ function getLocaleResourceBase(){ ...@@ -647,18 +647,6 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
tip: 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: { tbitem8: {
caption: commonLogic.appcommonhandle("删除",null), caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null), tip: commonLogic.appcommonhandle("删除",null),
...@@ -730,7 +718,7 @@ function getLocaleResourceBase(){ ...@@ -730,7 +718,7 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("刷新",null), tip: commonLogic.appcommonhandle("刷新",null),
}, },
}, },
usr2gridview9toolbar_toolbar: { tempmodegridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null), tip: commonLogic.appcommonhandle("新建",null),
...@@ -751,6 +739,18 @@ function getLocaleResourceBase(){ ...@@ -751,6 +739,18 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
tip: 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: { tbitem8: {
caption: commonLogic.appcommonhandle("删除",null), caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null), tip: commonLogic.appcommonhandle("删除",null),
......
.ibizorder-detail-usr2-grid-view9{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderDetailUsr2GridView9Base from './ibizorder-detail-usr2-grid-view9-base.vue';
import view_grid from '@widgets/ibizorder-detail/temp-mode-grid-grid/temp-mode-grid-grid.vue';
@Component({
components: {
view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZOrderDetailUsr2GridView9 extends IBIZOrderDetailUsr2GridView9Base {
}
</script>
\ No newline at end of file
...@@ -73,6 +73,7 @@ export const PageComponents = { ...@@ -73,6 +73,7 @@ export const PageComponents = {
Vue.component('ibizorder-sf4-edit-view', () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue')); Vue.component('ibizorder-sf4-edit-view', () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'));
Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue')); Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'));
Vue.component('ibizbookusr5-calendar-view', () => import('@pages/sample/ibizbookusr5-calendar-view/ibizbookusr5-calendar-view.vue')); Vue.component('ibizbookusr5-calendar-view', () => import('@pages/sample/ibizbookusr5-calendar-view/ibizbookusr5-calendar-view.vue'));
Vue.component('ibizorder-detail-usr2-grid-view9', () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'));
Vue.component('ibizappextendeditorlist-view', () => import('@pages/sample/ibizappextendeditorlist-view/ibizappextendeditorlist-view.vue')); Vue.component('ibizappextendeditorlist-view', () => import('@pages/sample/ibizappextendeditorlist-view/ibizappextendeditorlist-view.vue'));
Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue')); Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'));
Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue')); Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'));
...@@ -144,7 +145,6 @@ export const PageComponents = { ...@@ -144,7 +145,6 @@ export const PageComponents = {
Vue.component('ibizstorage-edit-view', () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue')); Vue.component('ibizstorage-edit-view', () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'));
Vue.component('ibizorder-grid-view', () => import('@pages/sample/ibizorder-grid-view/ibizorder-grid-view.vue')); Vue.component('ibizorder-grid-view', () => import('@pages/sample/ibizorder-grid-view/ibizorder-grid-view.vue'));
Vue.component('ibizbookusr3-grid-view', () => import('@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue')); Vue.component('ibizbookusr3-grid-view', () => import('@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue'));
Vue.component('ibizorder-detail-temp-mode-grid-view', () => import('@pages/sample/ibizorder-detail-temp-mode-grid-view/ibizorder-detail-temp-mode-grid-view.vue'));
Vue.component('ibizorder-tree-exp-view', () => import('@pages/sample/ibizorder-tree-exp-view/ibizorder-tree-exp-view.vue')); Vue.component('ibizorder-tree-exp-view', () => import('@pages/sample/ibizorder-tree-exp-view/ibizorder-tree-exp-view.vue'));
Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue')); Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue')); Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
......
...@@ -1191,6 +1191,35 @@ const router = new Router({ ...@@ -1191,6 +1191,35 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr5-calendar-view/ibizbookusr5-calendar-view.vue'), component: () => import('@pages/sample/ibizbookusr5-calendar-view/ibizbookusr5-calendar-view.vue'),
}, },
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/usr2gridview9/:usr2gridview9?',
meta: {
caption: 'entities.ibizorderdetail.views.usr2gridview9.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'usr2gridview9', parameterName: 'usr2gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/usr2gridview9/:usr2gridview9?',
meta: {
caption: 'entities.ibizorderdetail.views.usr2gridview9.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'usr2gridview9', parameterName: 'usr2gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'),
},
{ {
path: 'ibizappextendeditors/:ibizappextendeditor?/listview/:listview?', path: 'ibizappextendeditors/:ibizappextendeditor?/listview/:listview?',
meta: { meta: {
...@@ -2259,35 +2288,6 @@ const router = new Router({ ...@@ -2259,35 +2288,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue'), component: () => import('@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue'),
}, },
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/tempmodegridview/:tempmodegridview?',
meta: {
caption: 'entities.ibizorderdetail.views.tempmodegridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'tempmodegridview', parameterName: 'tempmodegridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-temp-mode-grid-view/ibizorder-detail-temp-mode-grid-view.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/tempmodegridview/:tempmodegridview?',
meta: {
caption: 'entities.ibizorderdetail.views.tempmodegridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'tempmodegridview', parameterName: 'tempmodegridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-temp-mode-grid-view/ibizorder-detail-temp-mode-grid-view.vue'),
},
{ {
path: 'ibizorders/:ibizorder?/treeexpview/:treeexpview?', path: 'ibizorders/:ibizorder?/treeexpview/:treeexpview?',
meta: { meta: {
...@@ -3328,6 +3328,33 @@ const router = new Router({ ...@@ -3328,6 +3328,33 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-sedit-view3/ibizorder-sedit-view3.vue'), component: () => import('@pages/sample/ibizorder-sedit-view3/ibizorder-sedit-view3.vue'),
}, },
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/usr2gridview9/:usr2gridview9?',
meta: {
caption: 'entities.ibizorderdetail.views.usr2gridview9.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'usr2gridview9', parameterName: 'usr2gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'),
},
{
path: '/ibizorderdetails/:ibizorderdetail?/usr2gridview9/:usr2gridview9?',
meta: {
caption: 'entities.ibizorderdetail.views.usr2gridview9.caption',
info:'',
parameters: [
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'usr2gridview9', parameterName: 'usr2gridview9' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'),
},
{ {
path: '/ibizorders/:ibizorder?/sf1gridview/:sf1gridview?', path: '/ibizorders/:ibizorder?/sf1gridview/:sf1gridview?',
meta: { meta: {
...@@ -3669,33 +3696,6 @@ const router = new Router({ ...@@ -3669,33 +3696,6 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-tree-exp-view/ibizorder-tree-exp-view.vue'), component: () => import('@pages/sample/ibizorder-tree-exp-view/ibizorder-tree-exp-view.vue'),
}, },
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/tempmodegridview/:tempmodegridview?',
meta: {
caption: 'entities.ibizorderdetail.views.tempmodegridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'tempmodegridview', parameterName: 'tempmodegridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-temp-mode-grid-view/ibizorder-detail-temp-mode-grid-view.vue'),
},
{
path: '/ibizorderdetails/:ibizorderdetail?/tempmodegridview/:tempmodegridview?',
meta: {
caption: 'entities.ibizorderdetail.views.tempmodegridview.caption',
info:'',
parameters: [
{ pathName: 'ibizorderdetails', parameterName: 'ibizorderdetail' },
{ pathName: 'tempmodegridview', parameterName: 'tempmodegridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-detail-temp-mode-grid-view/ibizorder-detail-temp-mode-grid-view.vue'),
},
{ {
path: '/ibizsample0003s/:ibizsample0003?/gridview/:gridview?', path: '/ibizsample0003s/:ibizsample0003?/gridview/:gridview?',
meta: { meta: {
......
...@@ -552,6 +552,15 @@ export const viewstate: any = { ...@@ -552,6 +552,15 @@ export const viewstate: any = {
'2640aa1ca02649c8831b43023d449945', '2640aa1ca02649c8831b43023d449945',
], ],
}, },
{
viewtag: '3d27d7d805bd6793246b059452fb0279',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailUsr2GridView9',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '3ebf0cd640e39a4e7efe30ec1cf32b43', viewtag: '3ebf0cd640e39a4e7efe30ec1cf32b43',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -780,16 +789,6 @@ export const viewstate: any = { ...@@ -780,16 +789,6 @@ export const viewstate: any = {
'ac9add3724d90fba46e7298ac051fa5f', 'ac9add3724d90fba46e7298ac051fa5f',
], ],
}, },
{
viewtag: '6799eb466dd011fc265dae53cfcbc5a6',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailTempModeGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'55c0b817ceaaa2894e76b510d94da24c',
],
},
{ {
viewtag: '692ede21641dfdb7075ede69d7c4ad33', viewtag: '692ede21641dfdb7075ede69d7c4ad33',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -1030,8 +1029,8 @@ export const viewstate: any = { ...@@ -1030,8 +1029,8 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'3d27d7d805bd6793246b059452fb0279',
'f7ce60a7707de1ef9f926b3f9d5d6954', 'f7ce60a7707de1ef9f926b3f9d5d6954',
'6799eb466dd011fc265dae53cfcbc5a6',
'2640aa1ca02649c8831b43023d449945', '2640aa1ca02649c8831b43023d449945',
], ],
}, },
......
...@@ -29,21 +29,7 @@ ...@@ -29,21 +29,7 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template v-if="actualIsOpenEdit && !row.children"> <template >
<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> <app-span name='ibizorderdetailname' editorType="TEXTBOX" :value="row.ibizorderdetailname" dataType="TEXT" precision="0" ></app-span>
</template> </template>
</template> </template>
...@@ -69,25 +55,7 @@ ...@@ -69,25 +55,7 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template v-if="actualIsOpenEdit && !row.children"> <template >
<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> <app-span name='IBIZuniproductname' editorType="DROPDOWNLIST" :value="row.ibizuniproductname" dataType="PICKUPTEXT" precision="0" ></app-span>
</template> </template>
</template> </template>
...@@ -101,21 +69,7 @@ ...@@ -101,21 +69,7 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<template v-if="actualIsOpenEdit && !row.children"> <template >
<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> <app-span name='quantity' editorType="TEXTBOX" :value="row.quantity" dataType="INT" precision="0" ></app-span>
</template> </template>
</template> </template>
...@@ -720,7 +674,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -720,7 +674,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizorderdetailname', langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizorderdetailname',
show: true, show: true,
unit: 'PX', unit: 'PX',
isEnableRowEdit: true, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{ {
...@@ -738,7 +692,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -738,7 +692,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizuniproductname', langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.ibizuniproductname',
show: true, show: true,
unit: 'px', unit: 'px',
isEnableRowEdit: true, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{ {
...@@ -747,7 +701,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -747,7 +701,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.quantity', langtag: 'entities.ibizorderdetail.tempmodegrid_grid.columns.quantity',
show: true, show: true,
unit: 'px', unit: 'px',
isEnableRowEdit: true, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{ {
...@@ -964,7 +918,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -964,7 +918,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -1054,7 +1008,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -1054,7 +1008,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1159,7 +1113,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -1159,7 +1113,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2028,7 +1982,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -2028,7 +1982,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -2036,7 +1990,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -2036,7 +1990,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorderdetail){ if(item.ibizorderdetail){
...@@ -2103,7 +2057,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface { ...@@ -2103,7 +2057,7 @@ export default class TempModeGridBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailTempModeGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailUsr2GridView9'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -27,7 +27,7 @@ export default class TempModeGridService extends ControlService { ...@@ -27,7 +27,7 @@ export default class TempModeGridService extends ControlService {
* @memberof TempModeGridService * @memberof TempModeGridService
*/ */
public setTempMode(){ public setTempMode(){
this.isTempMode = true; this.isTempMode = false;
} }
/** /**
......
...@@ -141,11 +141,11 @@ ...@@ -141,11 +141,11 @@
:localParam ='{}' :localParam ='{}'
parameterName='ibizorder' parameterName='ibizorder'
parentName="IBIZOrder" parentName="IBIZOrder"
refviewtype='DEGRIDVIEW' refviewtype='DEGRIDVIEW9'
refreshitems='' refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange" :ignorefieldvaluechange="ignorefieldvaluechange"
viewname='ibizorder-detail-temp-mode-grid-view' viewname='ibizorder-detail-usr2-grid-view9'
tempMode='2' tempMode='0'
:data="JSON.stringify(this.data)" :data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)" @drdatasaved="drdatasaved($event)"
style=";overflow: auto;"> style=";overflow: auto;">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册