tplus-mobile-qt
v1.0.2
Published
voucher module
Downloads
8
Readme
移动追溯项目
获取列表接口
dropDownStyle:DropDownList && controlType:refcombobox,接口为:itemlist
dropDownStyle:DropDownGrid && controlType:refcombobox,接口为:dropDownData
dropDownStyle:DropDownList && controlType:combobox,接口为:enumItems
例子:批号
- 查询项
{ "id": 61046, "code": "Batch", "name": "批号", "type": "refcombobox", "mode": "single", "match": "", "modeRange": null, "matchRange": null, "disabled": false, "visible": true, "beginDefault": "", "endDefault": "", "beginDefaultText": "", "endDefaultText": "", "group": "", "required": false, "valueType": "Code", "isSimpleSearchItem": false, "options": { "id": 52069, "itemID": 61046, "searchType": 2, "dtoName": "ProductQualityTraceBatchDTO", "refBussCode": "", "refAddPage": "", "valueType": "Code", "enumName": "", "dropDownStyle": "DropDownList", "controlType": "refcombobox", "refDataSource": "", "precision": 0, "maxLength": 500, "allowEdit": true, "multiSelect": 0, "hideIncludeStop": false, "refMultiMode": false, "allowAdd": false, "showEmptyRow": false, "showComboButton": true, "refContinuumSelect": false, "refCategoryTree": false, "refSortField": "", "refShowField": "Code", "enumItems": null, "readOnly": false, "dropDownWhere": "", "refWhere": "", "percent": false, "attributes": {}, "isShowDetail": false, "notEdit": false, "mode": "single", "fieldType": "nvarchar", "loginDate": "2023-11-08 00:00:00", "formatString": "", "fieldName": "Batch", "initRefWhere": "", "initDropDownWhere": "", "moduleName": "" } }
- 获取列表:itemlist
{ "searchItemCtrlId": "52069", // 1 "searchType": 2, // 1 "strDataSourceKey": "", "refObj": "ProductQualityTraceBatchDTO", // 1 "sortby": "", "codename": "PH101090701", "whereParams": {}, "currentPage": 0, "pageSize": 1000, "dropDownGridMatchMode": "4" }
- 查询项
例子:序列号
- 查询项
{ "id": 61047, "code": "SNCode", "name": "序列号", "type": "refcombobox", "mode": "single", "match": "", "modeRange": null, "matchRange": null, "disabled": false, "visible": true, "beginDefault": "", "endDefault": "", "beginDefaultText": "", "endDefaultText": "", "group": "", "required": false, "valueType": "Code", "isSimpleSearchItem": false, "options": { "id": 52070, "itemID": 61047, "searchType": 2, "dtoName": "RefSerialNumberSNCodeDTO", "refBussCode": "", "refAddPage": "", "valueType": "Code", "enumName": "", "dropDownStyle": "DropDownGrid", "controlType": "refcombobox", "refDataSource": "RefRefSerialNumberSNCodeDTO", "precision": 0, "maxLength": 500, "allowEdit": true, "multiSelect": 0, "hideIncludeStop": false, "refMultiMode": false, "allowAdd": false, "showEmptyRow": false, "showComboButton": false, "refContinuumSelect": false, "refCategoryTree": false, "refSortField": "", "refShowField": "Code", "enumItems": null, "readOnly": false, "dropDownWhere": "", "refWhere": "", "percent": false, "attributes": {}, "isShowDetail": false, "notEdit": false, "mode": "single", "fieldType": "nvarchar", "loginDate": "2023-11-08 00:00:00", "formatString": "", "fieldName": "SNCode", "initRefWhere": "", "initDropDownWhere": "", "moduleName": "" } }
- 获取列表:dropDownData
{ "searchItemCtrlId": "52070", "searchType": 2, "strDataSourceKey": "RefRefSerialNumberSNCodeDTO", "refObj": "RefSerialNumberSNCodeDTO", "sortby": "Code ASC,id", "whereParams": {}, "codename": "", "currentPage": 0, "pageSize": 7, "dropDownGridMatchMode": "1", "menuCode": "", "dataAuthorityDisabled": false, "strDisabledControlVale": false, "sourceName": "" }
例子:产品状态
- 查询项
{ "id": 61048, "code": "ProductStatus", "name": "产品状态", "type": "combobox", "mode": "single", "match": "", "modeRange": null, "matchRange": null, "disabled": false, "visible": true, "beginDefault": "57871", "endDefault": "", "beginDefaultText": "已入库", "endDefaultText": "", "group": "", "required": false, "valueType": "ID", "isSimpleSearchItem": false, "options": { "id": 52071, "itemID": 61048, "searchType": 2, "dtoName": "", "refBussCode": "", "refAddPage": "", "valueType": "ID", "enumName": "ProductStatus", "dropDownStyle": "DropDownList", "controlType": "combobox", "refDataSource": "", "precision": 0, "maxLength": 500, "allowEdit": false, "multiSelect": 0, "hideIncludeStop": false, "refMultiMode": false, "allowAdd": false, "showEmptyRow": false, "showComboButton": true, "refContinuumSelect": false, "refCategoryTree": false, "refSortField": "", "refShowField": "", "enumItems": null, "readOnly": false, "dropDownWhere": "", "refWhere": "", "percent": false, "attributes": {}, "isShowDetail": false, "notEdit": false, "mode": "single", "fieldType": "nvarchar", "loginDate": "2023-11-08 00:00:00", "formatString": "", "fieldName": "ProductStatus", "initRefWhere": "", "initDropDownWhere": "", "moduleName": "" } }
- 获取列表:enumItems
{ "strDataSourceKey": "", "enumName": "ProductStatus", "moduleName": "", "whereParams": {}, "top": 1000 }
穿透相关
穿透时检查功能与数据权限,无权限时按公共提示即可,穿透后要支持返回追溯报表
产品正向追溯表
- 材料信息
- 入库单号 PURDRecord_Code 采购入库单
- 检验单号 QualityInspect_Code 来料/成品检验单
- 采购订单号 PurchaseOrderCode 采购订单
- 进货单号 PurchaseArrival_Code 进货单
- 产品检验信息
- 产成品入库单 RDRecord_Code 产成品入库单
- 检验单号 QualityInspect_Code 来料/成品检验单
- 销售出库信息
- 销售出库单号 RDRecord_Code 销售出库单
- 销售订单号 saleOrderCode 销售订单
- 销货单号 SaleDeliveryCode 销货单
材料反向追溯表
材料基本信息
- 入库单号 PURDRecord_Code 采购入库单
- 采购订单号 PurchaseOrderCode 采购订单
- 进货单号 PurchaseArrival_Code 进货单
产品信息
- 销售订单号 saleOrderCode 销售订单
- 检验单号 QualityInspect_Code 来料/成品检验单
材料检验信息
- 采购订单号 PurchaseOrderCode 采购订单
- 采购入库单号 RDRecord_Code 采购入库单
- 检验单号 QualityInspect_Code 来料/成品检验单
材料出库信息
- 出库单号 RDRecord_Code 材料出库单
采购入库单
来料/成品检验单
采购订单
进货单
产成品入库单
销售出库单
销售订单
销货单
材料出库单
[
{ Name: '采购订单', redirect: 'REDIRECT_ASSOCIATED_PU_ORDER', appId: 1297 },
{ Name: '销售订单', redirect: 'REDIRECT_ASSOCIATED_ORDER', appId: 1249 },
{ Name: '销货单', redirect: 'REDIRECT_ASSOCIATED_SALEDELIVERY', appId: 1249 },
{ Name: '进货单', redirect: 'REDIRECT_ASSOCIATED_PU03', appId: 1297 }
];
redirectOtherApp(item.appId, item.redirect, { keyWord: docNo })