{ "dataOptions": { "projectName": "Rattan.ERP.Inbound", "tableView": "Purchase_DamagedOrder", "idField": "damagedOrder_Id", "router": "/inbound/purchase/damaged-order", "idValue": 0, "codeRegular": "damagedOrderCode", "linkColumn": "damagedOrderCode", "menu_Id": 1603, "pageIndex": 1, "pageSize": 15, "total": 0, "sortName": "DamagedOrder_Id DESC", "showActionField": true, "openNodeApi": true, "folder": "inbound/purchase", "table_Id": 2196, "vueData_Id": 0 }, "dataListOptions": { "data": [], "fields": [ { "prop": "damagedOrderCode", "label": "残品单号", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": true, "key": "1555208020000_12609", "width": 130, "searchRowNo": "" }, { "prop": "consignorName", "label": "货主名称", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_5072" }, { "prop": "providerShortName", "label": "供应商名称", "dataType": "string", "sortable": false, "type": "select", "hidden": false, "isQuickSearch": false, "key": "1555208020000_20936", "dropdown_Id": 33, "keyProp": "provider_Id" }, { "prop": "storageName", "label": "仓库名称", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_57618" }, { "prop": "damagedData", "label": "报残日期", "dataType": "date", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_93549", "width": 80, "formatter": "yyyy-MM-dd" }, { "prop": "statusText", "label": "单据状态", "dataType": "string", "sortable": false, "type": "select", "hidden": false, "isQuickSearch": false, "key": "1555208020000_51566", "dropdown_Id": 952, "width": 100, "keyProp": "statusID" }, { "prop": "totalQuantity", "label": "合计数量", "dataType": "decimal", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_15563", "width": 60, "formatter": "#.####" }, { "prop": "totalMoney", "label": "合计金额", "dataType": "decimal", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_64857", "width": 60 }, { "prop": "userTrueName", "label": "经手人", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_5984" }, { "prop": "deptName", "label": "部门", "dataType": "string", "sortable": false, "type": "select", "hidden": false, "isQuickSearch": false, "key": "1555208020000_55204", "width": 70, "dropdown_Id": 23, "keyProp": "dept_Id" }, { "prop": "auditor", "label": "审核人", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_55816", "width": 80 }, { "prop": "auditing", "label": "审核", "dataType": "byte", "sortable": false, "type": "select", "hidden": false, "isQuickSearch": false, "key": "1555208020000_44612", "width": 80, "dropdown_Id": 21 }, { "prop": "auditDate", "label": "审核日期", "dataType": "datetime", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_26356", "width": 120, "formatter": "YYYY-MM-DD HH:mm:ss" }, { "prop": "remark", "label": "备注", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_4581", "width": 60 }, { "prop": "creator", "label": "创建人", "dataType": "string", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_21831" }, { "prop": "createDate", "label": "创建时间", "dataType": "datetime", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_56952", "width": 120, "formatter": "yyyy-MM-dd HH:mm:ss" }, { "prop": "modifyDate", "label": "修改时间", "dataType": "datetime", "sortable": false, "type": "input", "hidden": false, "isQuickSearch": false, "key": "1555208020000_77934", "width": 120, "formatter": "yyyy-MM-dd HH:mm:ss" } ], "buttons": [ { "type": "button-group", "label": "按钮组", "buttons": [ { "type": "button", "label": "新建", "options": { "icon": "el-icon-plus", "type": "primary", "authNode": "add" }, "key": "btn-add" }, { "type": "button", "label": "删除", "options": { "icon": "el-icon-yrt-shanchu2", "type": "primary", "authNode": "delete" }, "key": "btn-delete" } ], "options": { "icon": "el-icon-yrt-anniuzu" }, "key": "btn-group01" }, { "type": "button-group", "label": "按钮组", "buttons": [ { "type": "button", "label": "审核", "options": { "icon": "el-icon-yrt-shenpi6", "type": "success", "authNode": "auditing" }, "key": "btn-confirm" } ], "options": { "icon": "el-icon-yrt-anniuzu" }, "key": "btn-group02" }, { "type": "button-group", "label": "按钮组", "buttons": [ { "type": "button", "label": "刷新", "options": { "icon": "el-icon-yrt-shuaxin", "type": "default", "authNode": "refresh" }, "key": "btn-refresh" }, { "type": "button", "label": "导出", "options": { "icon": "el-icon-yrt-daochu1", "type": "default", "authNode": "export" }, "key": "btn-export" }, { "type": "button", "label": "打印", "options": { "icon": "el-icon-yrt-dayin3", "type": "default", "authNode": "print" }, "key": "btn-print" }, { "type": "button", "label": "帮助", "options": { "icon": "el-icon-info", "type": "default", "authNode": "helper" }, "key": "btn-help" } ], "options": { "icon": "el-icon-yrt-anniuzu" }, "key": "btn-group03" } ] }, "editorOptions": { "fields": [ { "type": "grid", "label": "栅格布局", "columns": [ { "span": 8, "fields": [ { "type": "input", "label": "残品单号", "options": { "prop": "damagedOrderCode", "searchRowNo": 1, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "string", "pattern": "", "placeholder": "系统自动编码", "remoteFunc": "func_1555208033000_63299", "readonly": true }, "key": "1555208033000_63299" }, { "type": "table-select", "label": "供应商名称", "options": { "width": "100%", "defaultValue": "", "multiple": false, "disabled": false, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "columns": [ { "prop": "providerCode", "label": "供应商编号", "width": 100 }, { "prop": "providerShortName", "label": "供应商名称", "width": 150 } ], "url": "/api/basicInfo/base/provider/getList", "searchFields": "provider_Id,providerCode,providerShortName", "prop": "providerShortName" }, "key": "1555208033000_47685" }, { "type": "select", "label": "经手人", "options": { "width": "100%", "defaultValue": "", "multiple": false, "disabled": false, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "options": [ { "value": "下拉框1" }, { "value": "下拉框2" }, { "value": "下拉框3" } ], "remote": "bindDropdown", "remoteOptions": [], "dropdown_Id": 22, "props": { "value": "value", "label": "label" }, "remoteFunc": "", "prop": "userTrueName", "dataType": "string", "keyProp": "user_Id" }, "key": "1555208033000_96348" }, { "type": "select", "label": "部门", "options": { "width": "100%", "defaultValue": "", "multiple": false, "disabled": false, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "options": [ { "value": "下拉框1" }, { "value": "下拉框2" }, { "value": "下拉框3" } ], "remote": "bindDropdown", "remoteOptions": [], "dropdown_Id": 23, "props": { "value": "value", "label": "label" }, "remoteFunc": "func_1555208923000_39237", "prop": "deptName", "keyProp": "dept_Id" }, "key": "1555208923000_39237", "model": "select_1555208923000_39237" }, { "type": "input", "label": "审核人", "options": { "prop": "auditor", "searchRowNo": 1, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "string", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_4974", "readonly": true }, "key": "1555208033000_4974", "rules": [] } ] }, { "span": 8, "fields": [ { "type": "table-select", "label": "货主名称", "options": { "width": "100%", "defaultValue": "", "multiple": false, "disabled": false, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "columns": [ { "prop": "consignorCode", "label": "货主编号", "width": 100 }, { "prop": "consignorName", "label": "货主名称", "width": 150 } ], "url": "/api/basicInfo/base/consignor/getList", "searchFields": "consignor_Id,consignorCode,consignorName", "prop": "consignorName" }, "key": "1591839297000_69424" }, { "type": "table-select", "label": "仓库名称", "options": { "width": "100%", "defaultValue": "", "multiple": false, "disabled": false, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "columns": [ { "prop": "storageCode", "label": "仓库编号", "width": 100 }, { "prop": "storageName", "label": "仓库名称", "width": 150 } ], "url": "/api/basicInfo/base/storage/getList", "searchFields": "storage_Id,storageCode,storageName", "prop": "storageName" }, "key": "1555208033000_67179" }, { "type": "input", "label": "合计数量", "options": { "prop": "totalQuantity", "searchRowNo": null, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "decimal", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_67029", "readonly": true, "formatter": "#.####" }, "key": "1555208033000_67029" }, { "type": "select", "label": "审核", "options": { "width": "100%", "defaultValue": 0, "multiple": false, "disabled": true, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "options": [ { "value": "下拉框1" }, { "value": "下拉框2" }, { "value": "下拉框3" } ], "remote": "bindDropdown", "remoteOptions": [], "dropdown_Id": 21, "props": { "value": "value", "label": "label" }, "remoteFunc": "", "prop": "auditing", "readonly": true, "dataType": "byte" }, "key": "1555208033000_8796" }, { "type": "input", "label": "创建人", "options": { "prop": "creator", "searchRowNo": null, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "string", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_94457", "readonly": true }, "key": "1555208033000_94457", "rules": [] } ] }, { "span": 8, "fields": [ { "type": "date", "label": "报残日期", "options": { "prop": "damagedData", "searchRowNo": 2, "width": "100%", "noLabel": false, "defaultValue": "{currentDate}", "required": true, "dataType": "datetime", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_23357", "type": "date", "format": "yyyy-MM-dd" }, "key": "1555208033000_23357", "rules": [ { "required": true, "message": "报残日期必须填写" } ] }, { "type": "select", "label": "状态", "options": { "width": "100%", "defaultValue": "新建", "multiple": false, "disabled": true, "clearable": false, "placeholder": "", "required": false, "showLabel": true, "noLabel": false, "options": [ { "value": "下拉框1" }, { "value": "下拉框2" }, { "value": "下拉框3" } ], "remote": "bindDropdown", "remoteOptions": [], "dropdown_Id": 952, "props": { "value": "value", "label": "label" }, "remoteFunc": "", "prop": "statusText", "keyProp": "statusID" }, "key": "1555208920000_81388", "model": "input_1555208920000_81388" }, { "type": "input", "label": "合计金额", "options": { "prop": "totalMoney", "searchRowNo": null, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "decimal", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_44412", "readonly": true }, "key": "1555208033000_44412", "rules": [] }, { "type": "date", "label": "审核日期", "options": { "prop": "auditDate", "searchRowNo": 2, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "datetime", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_73137", "readonly": true }, "key": "1555208033000_73137" }, { "type": "date", "label": "创建时间", "options": { "prop": "createDate", "searchRowNo": null, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "datetime", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208033000_15861", "readonly": true }, "key": "1555208033000_15861", "rules": [] } ] } ], "options": { "gutter": 0, "justify": "start", "align": "top" }, "key": "1555208033000_32551" }, { "type": "textarea", "label": "备注", "options": { "prop": "remark", "searchRowNo": null, "width": "100%", "noLabel": false, "defaultValue": "", "required": false, "dataType": "string", "pattern": "", "placeholder": "", "remoteFunc": "func_1555208771000_20788" }, "key": "1555208771000_20788" }, { "type": "detail-grid", "label": "明细布局", "fields": [ { "prop": "productCode", "label": "编号", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210774000_65195", "headerAlign": "center", "align": "left", "width": 80 }, { "prop": "productModel", "label": "条形码", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210778000_28027", "headerAlign": "center", "align": "left", "width": 110 }, { "prop": "productName", "label": "产品名称", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210780000_43522", "headerAlign": "center", "align": "left", "width": 180 }, { "prop": "productSpec", "label": "产品规格", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210782000_60906", "headerAlign": "center", "align": "left" }, { "prop": "relationCode", "label": "关联码", "dataType": "string", "sortable": false, "hidden": true, "isQuickSearch": false, "key": "1555210785000_8668", "headerAlign": "center", "align": "left" }, { "prop": "quantity", "label": "残品数量", "dataType": "decimal", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210788000_94276", "headerAlign": "center", "align": "left", "type": "input", "formatter": "#.####" }, { "prop": "purchasePrice", "label": "成本单价", "dataType": "decimal", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210794000_13566", "headerAlign": "center", "align": "left", "type": "input", "width": 70 }, { "prop": "purchaseMoney", "label": "成本金额", "dataType": "decimal", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210802000_35616", "headerAlign": "center", "align": "left", "width": 70 }, { "prop": "damagedData", "label": "报残日期", "dataType": "datetime", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210807000_11880", "headerAlign": "center", "align": "left", "type": "date", "width": 120, "formatter": "yyyy-MM-dd" }, { "prop": "productDate", "label": "生产日期", "dataType": "date", "sortable": false, "hidden": true, "isQuickSearch": false, "key": "1555210816000_20997", "headerAlign": "center", "align": "left", "formatter": "yyyy-MM-dd", "type": "date", "width": 120 }, { "prop": "batchOrder", "label": "批次号", "dataType": "string", "sortable": false, "hidden": true, "isQuickSearch": false, "key": "1555210811000_5691", "headerAlign": "center", "align": "left" }, { "prop": "smallUnit", "label": "物料单位", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210821000_7712", "headerAlign": "center", "align": "left" }, { "prop": "remark", "label": "备注", "dataType": "string", "sortable": false, "hidden": false, "isQuickSearch": false, "key": "1555210826000_22841", "headerAlign": "center", "align": "left" } ], "options": { "border": true, "size": "mini", "pageIndex": 1, "pageSize": 50, "detailSelections": [], "idField": "damagedOrderList_Id", "remoteFunc": "func_1555210720000_23166" }, "buttons": [ { "type": "button-group", "label": "按钮组", "buttons": [ { "type": "button", "label": "新建", "options": { "icon": "el-icon-plus", "type": "primary", "authNode": "add" }, "key": "detail_add" }, { "type": "button", "label": "删除", "options": { "icon": "el-icon-yrt-shanchu2", "type": "primary", "authNode": "detailDelete" }, "key": "detail_delete" } ], "options": { "icon": "el-icon-yrt-anniuzu" } } ], "key": "1555210720000_23166", "subTableView": "Purchase_DamagedOrderList" } ], "config": { "labelWidth": "100px", "labelPosition": "right", "top": "3vh", "width": "1100px", "visible": false, "disabled": false, "title": "残品入库单", "action": "add", "formInline": false, "saveButtonText": "保存" } } }