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

chitanda 发布系统代码

上级 b7427ea0
.app-popover.app-popper { .app-popover.app-popper {
border-radius: 5px; border-radius: 5px;
overflow: auto; overflow: auto;
border: 1px solid var(--app-dividing-line-color-bright);
padding: 5px;
background: var(--view-background-color);
} }
\ No newline at end of file
...@@ -90,8 +90,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase { ...@@ -90,8 +90,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
statecode: [ statecode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -93,8 +93,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase { ...@@ -93,8 +93,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '客户规模 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '客户规模 值不能为空', trigger: 'blur' },
], ],
statuscode: [ statuscode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -100,8 +100,8 @@ export class AbstractEditEditFormBase extends EditFormControlBase { ...@@ -100,8 +100,8 @@ export class AbstractEditEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '名称 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '名称 值不能为空', trigger: 'blur' },
], ],
type: [ type: [
{ required: true, type: 'number', message: '类型 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '类型 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '类型 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '类型 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -104,8 +104,8 @@ export class QuickCreateEditFormBase extends EditFormControlBase { ...@@ -104,8 +104,8 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '名称 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '名称 值不能为空', trigger: 'blur' },
], ],
type: [ type: [
{ required: true, type: 'number', message: '类型 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '类型 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '类型 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '类型 值不能为空', trigger: 'blur' },
], ],
ownerid: [ ownerid: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -94,8 +94,8 @@ export class MainEditFormBase extends EditFormControlBase { ...@@ -94,8 +94,8 @@ export class MainEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
quantity: [ quantity: [
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'blur' },
], ],
} }
......
...@@ -89,8 +89,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase { ...@@ -89,8 +89,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
statecode: [ statecode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -90,8 +90,8 @@ export class Edit_DatePanelEditFormBase extends EditFormControlBase { ...@@ -90,8 +90,8 @@ export class Edit_DatePanelEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
statecode: [ statecode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -92,8 +92,8 @@ export class MainEditFormBase extends EditFormControlBase { ...@@ -92,8 +92,8 @@ export class MainEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
quantity: [ quantity: [
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'blur' },
], ],
} }
......
...@@ -107,8 +107,8 @@ export class ProPrilvEditFormBase extends EditFormControlBase { ...@@ -107,8 +107,8 @@ export class ProPrilvEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '定价方式 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '定价方式 值不能为空', trigger: 'blur' },
], ],
amount: [ amount: [
{ required: true, type: 'number', message: '金额 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '金额 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '金额 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '金额 值不能为空', trigger: 'blur' },
], ],
} }
......
...@@ -87,8 +87,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase { ...@@ -87,8 +87,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
statecode: [ statecode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
} }
......
...@@ -94,8 +94,8 @@ export class SOProductEditEditFormBase extends EditFormControlBase { ...@@ -94,8 +94,8 @@ export class SOProductEditEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
quantity: [ quantity: [
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '数量 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '数量 值不能为空', trigger: 'blur' },
], ],
} }
......
...@@ -89,8 +89,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase { ...@@ -89,8 +89,8 @@ export class Edit_DataPanelEditFormBase extends EditFormControlBase {
*/ */
public rules: any = { public rules: any = {
statecode: [ statecode: [
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '状态 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '状态 值不能为空', trigger: 'blur' },
], ],
ownername: [ ownername: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
......
...@@ -101,16 +101,16 @@ export class MainEditFormBase extends EditFormControlBase { ...@@ -101,16 +101,16 @@ export class MainEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '货币名称 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '货币名称 值不能为空', trigger: 'blur' },
], ],
currencyprecision: [ currencyprecision: [
{ required: true, type: 'number', message: '货币精度 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '货币精度 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '货币精度 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '货币精度 值不能为空', trigger: 'blur' },
], ],
currencysymbol: [ currencysymbol: [
{ required: true, type: 'string', message: '货币符号 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '货币符号 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '货币符号 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '货币符号 值不能为空', trigger: 'blur' },
], ],
exchangerate: [ exchangerate: [
{ required: true, type: 'number', message: '汇率 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '汇率 值不能为空', trigger: 'change' },
{ required: true, type: 'number', message: '汇率 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '汇率 值不能为空', trigger: 'blur' },
], ],
isocurrencycode: [ isocurrencycode: [
{ required: true, type: 'string', message: '货币代码 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '货币代码 值不能为空', trigger: 'change' },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册