|
@@ -1,943 +0,0 @@
|
|
|
-[
|
|
|
- {
|
|
|
- "id": "base_supplier",
|
|
|
- "name": "供应商",
|
|
|
- "type": "baseData",
|
|
|
- "nameColumnName": "SU_NAME",
|
|
|
- "idColumnName": "SU_ID",
|
|
|
- "codeColumnName": "SU_CODE",
|
|
|
- "entities": [
|
|
|
- {
|
|
|
- "name": "单据头",
|
|
|
- "tableName": "BASE_SUPPLIER",
|
|
|
- "type": "head",
|
|
|
- "fields": [
|
|
|
- {
|
|
|
- "name": "编码",
|
|
|
- "columnName": "SU_CODE",
|
|
|
- "type": "code",
|
|
|
- "length": 50
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "名称",
|
|
|
- "columnName": "SU_NAME",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "简称",
|
|
|
- "columnName": "SU_SHORTNAME",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "创建人",
|
|
|
- "columnName": "SU_CREATOR",
|
|
|
- "type": "creator"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "创建日期",
|
|
|
- "columnName": "SU_CREATEDATE",
|
|
|
- "type": "createDate"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "修改人",
|
|
|
- "columnName": "SU_MODIFIER",
|
|
|
- "type": "modifier"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "修改日期",
|
|
|
- "columnName": "SU_MODIFYDATE",
|
|
|
- "type": "modifyDate"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "审核人",
|
|
|
- "columnName": "SU_AUDITOR",
|
|
|
- "type": "user"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "审核日期",
|
|
|
- "columnName": "SU_AUDITDATE",
|
|
|
- "type": "date"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "单据状态",
|
|
|
- "columnName": "SU_STATUS",
|
|
|
- "type": "status",
|
|
|
- "statusList": [
|
|
|
- {
|
|
|
- "code": "E",
|
|
|
- "name": "在录入"
|
|
|
- },
|
|
|
- {
|
|
|
- "code": "S",
|
|
|
- "name": "已提交"
|
|
|
- },
|
|
|
- {
|
|
|
- "code": "A",
|
|
|
- "name": "已审核"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "禁用人",
|
|
|
- "columnName": "SU_FORBIDER",
|
|
|
- "type": "user"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "禁用日期",
|
|
|
- "columnName": "SU_FORBIDDATE",
|
|
|
- "type": "date"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "禁用状态",
|
|
|
- "columnName": "SU_FORBIDSTATUS",
|
|
|
- "type": "status",
|
|
|
- "statusList": [
|
|
|
- {
|
|
|
- "code": "N",
|
|
|
- "name": "否",
|
|
|
- "control": [
|
|
|
- {
|
|
|
- "type": "field",
|
|
|
- "scope": [
|
|
|
- "BASE_SUPPLIER.SU_CODE",
|
|
|
- "BASE_SUPPLIER.SU_NAME",
|
|
|
- "BASE_SUPPLIER.SU_SHORTNAME",
|
|
|
- "BASE_SUPPLIER_BASE.SU_COUNTRY",
|
|
|
- "BASE_SUPPLIER_BASE.SU_AREA",
|
|
|
- "BASE_SUPPLIER_BASE.SU_ADDRESS",
|
|
|
- "BASE_SUPPLIER_BASE.SU_CREDITCODE",
|
|
|
- "BASE_SUPPLIER_BASE.SU_TRADE",
|
|
|
- "BASE_SUPPLIER_BASE.SU_REGADDRESS",
|
|
|
- "BASE_SUPPLIER_BASE.SU_GRADE",
|
|
|
- "BASE_SUPPLIER_BASE.SU_CLASSIFY"
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "menubar",
|
|
|
- "scope": []
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "code": "Y",
|
|
|
- "name": "是"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "基本信息",
|
|
|
- "tableName": "BASE_SUPPLIER_BASE",
|
|
|
- "type": "subHead",
|
|
|
- "idColumnName": "SU_BASE_ID",
|
|
|
- "fields": [
|
|
|
- {
|
|
|
- "name": "国家",
|
|
|
- "columnName": "SU_COUNTRY",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_country"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "地区",
|
|
|
- "columnName": "SU_AREA",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_area",
|
|
|
- "parentRefField": "SU_COUNTRY"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "通讯地址",
|
|
|
- "columnName": "SU_ADDRESS",
|
|
|
- "type": "textarea",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "行业",
|
|
|
- "columnName": "SU_TRADE",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_trade"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "统一社会信用代码",
|
|
|
- "columnName": "SU_CREDITCODE",
|
|
|
- "type": "text",
|
|
|
- "length": 50
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "注册地址",
|
|
|
- "columnName": "SU_REGADDRESS",
|
|
|
- "type": "textarea",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "供应商等级",
|
|
|
- "columnName": "SU_GRADE",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_supplier_grade"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "供应商分类",
|
|
|
- "columnName": "SU_CLASSIFY",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_supplier_classify"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "联系人",
|
|
|
- "tableName": "BASE_SUPPLIER_CT",
|
|
|
- "type": "entry",
|
|
|
- "idColumnName": "SU_CONTRACT_ID",
|
|
|
- "fields": [
|
|
|
- {
|
|
|
- "name": "编码",
|
|
|
- "columnName": "SU_CODE",
|
|
|
- "type": "text",
|
|
|
- "length": 50
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "联系人",
|
|
|
- "columnName": "SU_CONTRACT",
|
|
|
- "type": "text",
|
|
|
- "length": 50
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "电话",
|
|
|
- "columnName": "SU_TEL",
|
|
|
- "type": "text",
|
|
|
- "length": 20
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "邮箱",
|
|
|
- "columnName": "SU_EMAIL",
|
|
|
- "type": "text",
|
|
|
- "length": 50
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "默认",
|
|
|
- "columnName": "SU_IS_DEFAULT",
|
|
|
- "type": "checkbox"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "备注",
|
|
|
- "columnName": "SU_DESC",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "银行信息",
|
|
|
- "tableName": "BASE_SUPPLIER_BANK",
|
|
|
- "type": "entry",
|
|
|
- "idColumnName": "SU_BANK_ID",
|
|
|
- "fields": [
|
|
|
- {
|
|
|
- "name": "国家",
|
|
|
- "columnName": "SU_COUNTRY",
|
|
|
- "type": "supportData",
|
|
|
- "ref": "base_country"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "开户银行",
|
|
|
- "columnName": "SU_OPENNAME",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "开户行地址",
|
|
|
- "columnName": "SU_OPENADDR",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "银行账号",
|
|
|
- "columnName": "SU_CODE",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "账户名称",
|
|
|
- "columnName": "SU_NAME",
|
|
|
- "type": "text",
|
|
|
- "length": 255
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "币别",
|
|
|
- "columnName": "SU_CURRENCY",
|
|
|
- "type": "baseData",
|
|
|
- "ref": "base_currency"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "默认",
|
|
|
- "columnName": "SU_IS_DEFAULT",
|
|
|
- "type": "checkbox"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "财务信息",
|
|
|
- "tableName": "BASE_SUPPLIER_FIN",
|
|
|
- "type": "subHead",
|
|
|
- "idColumnName": "SU_FINANCE_ID",
|
|
|
- "fields": [
|
|
|
- {
|
|
|
- "name": "发票类型",
|
|
|
- "columnName": "SU_INVOICE_TYPE",
|
|
|
- "type": "enumData",
|
|
|
- "ref": "base_invoice_type"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "结算币别",
|
|
|
- "columnName": "SU_CURRENCY",
|
|
|
- "type": "baseData",
|
|
|
- "ref": "base_currency"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ],
|
|
|
- "operations": [
|
|
|
- {
|
|
|
- "id": "save",
|
|
|
- "name": "保存",
|
|
|
- "type": "save"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "submit",
|
|
|
- "name": "提交",
|
|
|
- "type": "changeStatus",
|
|
|
- "params": {
|
|
|
- "statusField": "SU_STATUS",
|
|
|
- "statusValue": "S"
|
|
|
- },
|
|
|
- "validators": [
|
|
|
- {
|
|
|
- "type": "legal",
|
|
|
- "description": "状态 = 在录入,允许",
|
|
|
- "params": {
|
|
|
- "expression": [
|
|
|
- {
|
|
|
- "field": "SU_STATUS",
|
|
|
- "compare": "=",
|
|
|
- "value": "E"
|
|
|
- }
|
|
|
- ],
|
|
|
- "triggerOnTrue": false,
|
|
|
- "message": "只能提交在录入的单据"
|
|
|
- },
|
|
|
- "level": "error"
|
|
|
- }
|
|
|
- ],
|
|
|
- "log": true
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "unSubmit",
|
|
|
- "name": "反提交",
|
|
|
- "type": "changeStatus",
|
|
|
- "params": {
|
|
|
- "statusField": "SU_STATUS",
|
|
|
- "statusValue": "E"
|
|
|
- },
|
|
|
- "validators": [
|
|
|
- {
|
|
|
- "type": "legal",
|
|
|
- "description": "状态 = 已提交,允许",
|
|
|
- "params": {
|
|
|
- "expression": [
|
|
|
- {
|
|
|
- "field": "SU_STATUS",
|
|
|
- "compare": "=",
|
|
|
- "value": "E"
|
|
|
- }
|
|
|
- ],
|
|
|
- "triggerOnTrue": false,
|
|
|
- "message": "单据未提交"
|
|
|
- },
|
|
|
- "level": "error"
|
|
|
- }
|
|
|
- ],
|
|
|
- "log": true
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "audit",
|
|
|
- "name": "审核",
|
|
|
- "type": "changeStatus",
|
|
|
- "params": {
|
|
|
- "statusField": "SU_STATUS",
|
|
|
- "statusValue": "A"
|
|
|
- },
|
|
|
- "validators": [
|
|
|
- {
|
|
|
- "type": "legal",
|
|
|
- "description": "状态 = 在录入,不允许",
|
|
|
- "params": {
|
|
|
- "expression": [
|
|
|
- {
|
|
|
- "field": "SU_STATUS",
|
|
|
- "compare": "=",
|
|
|
- "value": "E"
|
|
|
- }
|
|
|
- ],
|
|
|
- "triggerOnTrue": true,
|
|
|
- "message": "请先提交单据"
|
|
|
- },
|
|
|
- "level": "error"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "legal",
|
|
|
- "description": "状态 = 已审核,不允许",
|
|
|
- "params": {
|
|
|
- "expression": [
|
|
|
- {
|
|
|
- "field": "SU_STATUS",
|
|
|
- "compare": "=",
|
|
|
- "value": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "triggerOnTrue": true,
|
|
|
- "message": "单据已经审核,无需再审"
|
|
|
- },
|
|
|
- "level": "error"
|
|
|
- }
|
|
|
- ],
|
|
|
- "log": true
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "unAudit",
|
|
|
- "name": "反审核",
|
|
|
- "type": "changeStatus",
|
|
|
- "params": {
|
|
|
- "statusField": "SU_STATUS",
|
|
|
- "statusValue": "E"
|
|
|
- },
|
|
|
- "validators": [
|
|
|
- {
|
|
|
- "type": "legal",
|
|
|
- "description": "状态 = 已审核,允许",
|
|
|
- "params": {
|
|
|
- "expression": [
|
|
|
- {
|
|
|
- "field": "SU_STATUS",
|
|
|
- "compare": "=",
|
|
|
- "value": "A"
|
|
|
- }
|
|
|
- ],
|
|
|
- "triggerOnTrue": false,
|
|
|
- "message": "单据未审核"
|
|
|
- },
|
|
|
- "level": "error"
|
|
|
- }
|
|
|
- ],
|
|
|
- "log": true
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "new",
|
|
|
- "name": "新增",
|
|
|
- "type": "addView",
|
|
|
- "params": {
|
|
|
- "viewName": "base_supplier",
|
|
|
- "viewType": "form",
|
|
|
- "openType": "card"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "close",
|
|
|
- "name": "退出",
|
|
|
- "type": "closeView"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": "returnData",
|
|
|
- "name": "返回数据",
|
|
|
- "type": "returnData"
|
|
|
- }
|
|
|
- ],
|
|
|
- "views": [
|
|
|
- {
|
|
|
- "viewType": "form",
|
|
|
- "layout": "fit",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "menubar",
|
|
|
- "ui": "form-menubar",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "text": "新增",
|
|
|
- "menu": [
|
|
|
- {
|
|
|
- "text": "新增"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "复制"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "保存",
|
|
|
- "reference": "tbSave",
|
|
|
- "operation": "save"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "提交",
|
|
|
- "menu": [
|
|
|
- {
|
|
|
- "text": "提交",
|
|
|
- "reference": "tbSubmit",
|
|
|
- "operation": "submit"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "反提交",
|
|
|
- "reference": "tbUnSubmit",
|
|
|
- "operation": "unSubmit"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "审核",
|
|
|
- "menu": [
|
|
|
- {
|
|
|
- "text": "审核",
|
|
|
- "reference": "tbAudit",
|
|
|
- "operation": "audit"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "反审核",
|
|
|
- "reference": "tbUnAudit",
|
|
|
- "operation": "unAudit"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "列表"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "退出",
|
|
|
- "reference": "closeBtn",
|
|
|
- "operation": "close"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "container",
|
|
|
- "height": 50,
|
|
|
- "layout": "absolute",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "编码",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_CODE}",
|
|
|
- "emptyText": "保存时自动生成",
|
|
|
- "x": 10,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "名称",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_NAME}",
|
|
|
- "x": 310,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "简称",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_SHORTNAME}",
|
|
|
- "x": 610,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "tabpanel",
|
|
|
- "ui": "form",
|
|
|
- "height": 500,
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "title": "基本信息",
|
|
|
- "layout": "absolute",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "searchfield",
|
|
|
- "fieldLabel": "国家",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_COUNTRY}",
|
|
|
- "editable": false,
|
|
|
- "x": 10,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "searchfield",
|
|
|
- "fieldLabel": "地区",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_AREA}",
|
|
|
- "editable": false,
|
|
|
- "x": 10,
|
|
|
- "y": 50,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textarea",
|
|
|
- "fieldLabel": "通讯地址",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_ADDRESS}",
|
|
|
- "x": 10,
|
|
|
- "y": 90,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "searchfield",
|
|
|
- "fieldLabel": "行业",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_TRADE}",
|
|
|
- "editable": false,
|
|
|
- "x": 310,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "统一社会信用码",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_CREDITCODE}",
|
|
|
- "x": 310,
|
|
|
- "y": 50,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textarea",
|
|
|
- "fieldLabel": "注册地址",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_REGADDRESS}",
|
|
|
- "x": 310,
|
|
|
- "y": 90,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "供应商等级",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_GRADE}",
|
|
|
- "x": 610,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "供应商分类",
|
|
|
- "bind": "{BASE_SUPPLIER_BASE.SU_CLASSIFY}",
|
|
|
- "x": 610,
|
|
|
- "y": 50,
|
|
|
- "width": 300
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "title": "联系人",
|
|
|
- "layout": "fit",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "gridpanel",
|
|
|
- "ui": "form",
|
|
|
- "height": 368,
|
|
|
- "entity": "BASE_SUPPLIER_CT",
|
|
|
- "bind": "{BASE_SUPPLIER_CT}",
|
|
|
- "columns": [
|
|
|
- {
|
|
|
- "text": "编码",
|
|
|
- "dataIndex": "SU_CODE"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "联系人",
|
|
|
- "dataIndex": "SU_CONTRACT"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "电话",
|
|
|
- "dataIndex": "SU_TEL"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "邮箱",
|
|
|
- "dataIndex": "SU_EMAIL"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "默认",
|
|
|
- "dataIndex": "SU_IS_DEFAULT"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "备注",
|
|
|
- "dataIndex": "SU_DESC"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "title": "财务信息",
|
|
|
- "layout": {
|
|
|
- "type": "vbox",
|
|
|
- "pack": "start",
|
|
|
- "align": "stretch"
|
|
|
- },
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "container",
|
|
|
- "height": 50,
|
|
|
- "layout": "absolute",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "发票类型",
|
|
|
- "bind": "{BASE_SUPPLIER_FIN.SU_INVOICE_TYPE}",
|
|
|
- "x": 10,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "textfield",
|
|
|
- "fieldLabel": "结算币别",
|
|
|
- "bind": "{BASE_SUPPLIER_FIN.SU_CURRENCY}",
|
|
|
- "x": 310,
|
|
|
- "y": 10,
|
|
|
- "width": 300
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "gridpanel",
|
|
|
- "ui": "form",
|
|
|
- "height": 368,
|
|
|
- "entity": "BASE_SUPPLIER_BANK",
|
|
|
- "bind": "{BASE_SUPPLIER_BANK}",
|
|
|
- "columns": [
|
|
|
- {
|
|
|
- "text": "国家",
|
|
|
- "dataIndex": "SU_COUNTRY"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "开户银行",
|
|
|
- "dataIndex": "SU_OPENNAME"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "银行账号",
|
|
|
- "dataIndex": "SU_CODE"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "账户名称",
|
|
|
- "dataIndex": "SU_NAME"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "币别",
|
|
|
- "dataIndex": "SU_CURRENCY"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "默认",
|
|
|
- "dataIndex": "SU_IS_DEFAULT"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "title": "其他信息",
|
|
|
- "layout": "absolute",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "x": 10,
|
|
|
- "y": 10,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "创建人",
|
|
|
- "xtype": "textfield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_CREATOR}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 10,
|
|
|
- "y": 50,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "创建日期",
|
|
|
- "xtype": "datefield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_CREATEDATE}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 10,
|
|
|
- "y": 90,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "修改人",
|
|
|
- "xtype": "textfield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_MODIFIER}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 10,
|
|
|
- "y": 130,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "修改日期",
|
|
|
- "xtype": "datefield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_MODIFYDATE}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 310,
|
|
|
- "y": 10,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "审核人",
|
|
|
- "xtype": "textfield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_AUDITOR}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 310,
|
|
|
- "y": 50,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "审核日期",
|
|
|
- "xtype": "datefield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_AUDITDATE}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 610,
|
|
|
- "y": 10,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "禁用状态",
|
|
|
- "xtype": "textfield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_FORBIDSTATUS}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 610,
|
|
|
- "y": 50,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "禁用人",
|
|
|
- "xtype": "textfield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_FORBIDER}",
|
|
|
- "disabled": true
|
|
|
- },
|
|
|
- {
|
|
|
- "x": 610,
|
|
|
- "y": 90,
|
|
|
- "width": 300,
|
|
|
- "fieldLabel": "禁用时间",
|
|
|
- "xtype": "datefield",
|
|
|
- "bind": "{BASE_SUPPLIER.SU_FORBIDDATE}",
|
|
|
- "disabled": true
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "viewType": "list",
|
|
|
- "layout": "fit",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "xtype": "menubar",
|
|
|
- "ui": "form-menubar",
|
|
|
- "items": [
|
|
|
- {
|
|
|
- "text": "过滤"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "返回数据",
|
|
|
- "reference": "returnDataBtn",
|
|
|
- "operation": "returnData"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "刷新"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "新增",
|
|
|
- "menu": [
|
|
|
- {
|
|
|
- "text": "新增",
|
|
|
- "reference": "newBtn",
|
|
|
- "operation": "new"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "复制"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "打开"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "退出",
|
|
|
- "reference": "closeBtn",
|
|
|
- "operation": "close"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "xtype": "gridpanel",
|
|
|
- "ui": "form",
|
|
|
- "showFilterBar": true,
|
|
|
- "showHeaderFilter": true,
|
|
|
- "showPagingBar": true,
|
|
|
- "height": 584,
|
|
|
- "selType": "checkboxmodel",
|
|
|
- "columns": [
|
|
|
- {
|
|
|
- "text": "编码",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_CODE"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "名称",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_NAME",
|
|
|
- "width": 200
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "简称",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_SHORTNAME"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "分类",
|
|
|
- "entity": "BASE_SUPPLIER_BASE",
|
|
|
- "dataIndex": "SU_CLASSIFY"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "审核人",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_AUDITOR"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "审核日期",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_AUDITDATE"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "单据状态",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_STATUS"
|
|
|
- },
|
|
|
- {
|
|
|
- "text": "禁用状态",
|
|
|
- "entity": "BASE_SUPPLIER",
|
|
|
- "dataIndex": "SU_FORBIDSTATUS"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ],
|
|
|
- "codeRules": [
|
|
|
- {
|
|
|
- "default": true,
|
|
|
- "name": "供应商编码规则",
|
|
|
- "description": "供应商编码规则",
|
|
|
- "editable": true,
|
|
|
- "repairable": true,
|
|
|
- "entries": [
|
|
|
- {
|
|
|
- "type": "number",
|
|
|
- "cover": "0",
|
|
|
- "seed": 1,
|
|
|
- "increment": 1,
|
|
|
- "length": 4
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
-]
|