- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
检验单详情
开发中
POST
/mxoc_qm/inspect_query
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
默认值:
{{groupName}}
Content-Type
string
必需
默认值:
{{Content-Type}}
accountid
string
必需
默认值:
{{accountId}}
X-GW-Router-Addr
string
必需
默认值:
{{X-GW-Router-Addr}}
Body 参数application/json
id
string
单据ID
示例
{
"id":"1895048896518849536"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mxoc_qm/inspect_query?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id":"1895048896518849536"
}'
返回响应
🟢200成功
application/json
Body
data
object
数据集
mxoc_department_name
string
检验部门名称
mxoc_inspectentry
array [object {152}]
检验结果分录
modifier_name
string
修改人名称
mxoc_processworkshop_name
string
加工车间名称
attachments
string
附件数
mxoc_customer_id
string
客户ID
dataauditor_name
string
审核人 名称
modifytime
string
修改时间
mxoc_processworkshop_number
string
加工车间
mxoc_project_name
string
项目名称
auditdate
string
审核时间
mxoc_customer_name
string
客户名称
mxoc_srcbilltype
string
来源类型
mxoc_project_id
string
项目ID
mxoc_department_id
string
检验部门ID
mxoc_processworkshop_id
string
加工车间ID
id
string
单据ID
modifier_number
string
修改人编码
creator_number
string
制单人编码
createtime
string
制单时间
mxoc_customer_number
string
客户编码
billstatus
string
审核状态
Z:未审核
C:已审核
mxoc_sourcedoctype
string
源单类型
mxoc_project_number
string
项目编码
mxoc_remarks
string
单据备注
mxoc_processtype
string
工序类型
2:委外类型
mxoc_user_name
string
检验员名称
mxoc_user_number
string
检验员编码
auditor_number
string
审核人编码
creator_id
string
制单人ID
modifier_id
string
修改人ID
billdate
string
检验日期
mxoc_department_number
string
检验部门编码
creator_name
string
制单人名称
billno
string
单据编号
mxoc_inspecttype
string
检验类型
auditor_id
string
审核人ID
mxoc_user_id
string
检验员ID
errorCode
string
状态码
status
boolean
状态
success
boolean
是否 成功
示例
{
"data": {
"mxoc_department_name": "生产部DH",
"mxoc_inspectentry": [
{
"mxoc_materielnumber_name": "问题委外商品",
"mxoc_report_id": "0",
"mxoc_rejections": "2",
"mxoc_unqualifiedsnum": "0",
"mxoc_batch": "",
"mxoc_materielnumber_helpcode": "wtwwsp",
"mxoc_rejectqty": "0",
"mxoc_supporting2_id": "0",
"mxoc_ordermasterid": "1828307978164393984",
"mxoc_yieldacceptamount": "0",
"mxoc_materielnumber_id": "1823953877247079424",
"mxoc_undesireason_number": "",
"id": "1895048896518848512",
"mxoc_baseunit_name": "件0",
"mxoc_concessionaccept": "0",
"mxco_inspectamount": "100",
"mxoc_is_free": false,
"mxoc_auxunit_number": "",
"mxoc_product_model": "",
"mxoc_qualifieds": "4",
"mullabel": [],
"mxoc_report_name": "",
"mxoc_qualityscheme_id": "1526677600141890560",
"mxoc_sourcebillno": "",
"mxoc_materielnumber_number": "00038120002",
"mxoc_repairnum": "0",
"mxoc_orderseq": "1",
"mxoc_processplanid": "0",
"mxoc_remark": "",
"mxoc_unit_number": "件0",
"mxoc_inspectionscheme_number": "CYFA-20221024-0001",
"mxoc_assistunit_number": "包",
"mxoc_samples": "5",
"mxoc_unqualifiedhandle": "0",
"mxoc_isunqualified": "B",
"mxoc_qualifiedsnum": "100",
"seq": "1",
"mxoc_undesireason_id": "0",
"mxoc_procode_name": "",
"mxoc_supplier_id": "1309464172391577600",
"mxoc_supporting1_id": "0",
"mxoc_group_id": "0",
"produce": "",
"mxoc_numerical1": "0",
"mxoc_inspecturl": "",
"mxoc_processplanseq": "",
"mxoc_numerical2": "0",
"mxoc_inspectionscheme_id": "1538421816387737600",
"mxoc_srcentrymasterid": "1828308116769364992",
"mxoc_auxpropid_number": "",
"mxoc_inspectsubentry": [
{
"mxoc_testitem_mxoc_inspectionbasis.number": null,
"mxoc_chrildunit_number": "K",
"mxoc_testitem_id": "1312350449394832384",
"mxoc_testitem_mxoc_inspectionbasis.name": null,
"mxoc_chrildunit_id": "1478148069869550592",
"mxoc_testitem_mxoc_method": "1",
"mxoc_testitem_mxoc_inspection": "",
"mxoc_chrildunit_name": "K",
"mxoc_testitem_mxoc_qualitystandard.name": null,
"mxoc_lowerdeviation": "-0.00002",
"id": "1895048896518849537",
"mxoc_memo": "",
"mxoc_upperlimitvalue": "18.0002",
"seq": "1",
"mxoc_testitem_name": "压力测试法",
"mxoc_comparisonvalue": "1",
"mxoc_testitem_mxoc_testmothed.name": {
"zh_TW": "目測法",
"zh_CN": "目测法"
},
"mxoc_testitem_mxoc_defectrank": "3",
"mxoc_testitem_mxoc_testmothed.number": "JYFF-20211215-0001",
"mxoc_testitem_mxoc_level": "",
"mxoc_remark3": "",
"mxoc_checkstate": "2",
"mxoc_remark2": "",
"mxoc_iscopy": false,
"mxoc_remark1": "",
"mxoc_targetvalue": "18",
"mxoc_lowerlimitvalue": "17.99998",
"mxoc_upperdeviation": "0.0002",
"mxoc_testitem_number": "JYXM-0027",
"mxoc_checks": "0",
"mxoc_testitem_mxoc_qualitystandard.number": null
}
],
"mxoc_supporting3_number": "",
"mxoc_group_number": "",
"mxoc_supporting3_name": "",
"mxoc_undesireason_name": "",
"mxoc_assistunit_id": "5",
"mxoc_remark11": "",
"mxoc_remark12": "",
"mxoc_remark13": "",
"mxoc_unit_name": "件0",
"mxoc_inspectentry_lk": [
{
"mxoc_inspectentry_lk_sbillid": "1828308114185672704",
"mxoc_inspectentry_lk_sid": "1828308116769364992",
"id": "1895048896518848513",
"mxoc_inspectentry_lk_stableid": "7170421150171021479",
"seq": "1"
}
],
"mxoc_acceptables": "1",
"mxoc_unit_id": "1813851527207571456",
"mxoc_datefield": "",
"mxoc_operator_name": "",
"mxoc_routeseq": "0",
"mxoc_auxunit_id": "0",
"mxoc_auxpropid_name": "",
"mxoc_inspectionscheme_name": "sxxtest11",
"mxoc_orderentrymasterid": "1828307978164395008",
"mxoc_assistunit_name": "包",
"mxoc_processplanno": "",
"mxoc_supporting3_id": "0",
"mxoc_orderbillno": "WWDD2023110165",
"mxoc_qualityscheme_name": "精度测试",
"mxoc_srcbillno": "SLTZ-20231128-0002",
"mxoc_baseunit_number": "件0",
"mxoc_supporting2_number": "",
"mxoc_supporting2_name": "",
"mxoc_operator_number": "",
"mxoc_procode_id": "0",
"mxoc_srcentryseq": "1",
"mxoc_sourcetype": "",
"mxoc_inputcoefficient": "1",
"mxoc_qualityscheme_number": "ZJFA-20221008-0001",
"mxoc_materielnumber_mxoc_remark1": "",
"mxoc_samplingtype": "2",
"mxoc_materielnumber_model": "委外测试规格型号0111联产品可在BOM中维护,操作路径:工程数据->BOM维护->产品信息中,维护联副产品编码、成本权重,当联产品成本核算中分配类型=权重时,联产品的成本权重会携带到联产品成本在企业实际生产过程中,联副产品是用同一种原材料生产出的两种或两种以上的产品。例如,炼油厂从原油中同时提炼出的汽油、煤油、柴油等;面粉加工厂利用麸皮制造的饲料等。 联副产品可以在商品中打开联副产品的按钮,维护对应的参考成本,在联产品成本核算时,联产品的分配结果默认=对应商品的参考成本*联产品数量,分配结果允许修改。",
"mxco_inspectionamount": "100",
"mxoc_barcode": "",
"productionlicense": "",
"mxoc_baseunit_id": "1813851527207571456",
"mxoc_auxqty": "0",
"registernumber": "",
"mxoc_operator_id": "0",
"mxoc_unqualifieds": "1",
"mxoc_auxpropid_id": "0",
"mxoc_supplier_number": "GY00003",
"outproductcode": "",
"mxoc_srcmasterid": "1828308114185672704",
"mxoc_product_name": "",
"mxoc_supporting1_name": "",
"mxoc_materielnumber_brandid": null,
"mxoc_report_number": "",
"mxoc_processplanentryid": "0",
"mxoc_srccoefficient": "0",
"mxoc_auxunit_name": "",
"mxoc_procode_number": "",
"mxoc_supplier_name": "散客",
"mxoc_group_name": "",
"mxoc_picturefield": "",
"mxoc_supporting1_number": "",
"mxoc_sourcebillseq": ""
}
],
"modifier_name": "李航英",
"mxoc_processworkshop_name": "",
"attachments": "0",
"mxoc_customer_id": "0",
"auditor_name": "李航英",
"modifytime": "2024-02-28 16:03:56",
"mxoc_processworkshop_number": "",
"mxoc_project_name": "",
"auditdate": "2024-02-28 16:03:56",
"wf_currentnode": null,
"mxoc_customer_name": "",
"wf_progress": "",
"wf_previoushandler": null,
"mxoc_project_id": "0",
"mxoc_department_id": "1596382027878247424",
"mxoc_processworkshop_id": "0",
"id": "1895048896518849536",
"modifier_number": "u18292461330",
"creator_number": "u18292461330",
"createtime": "2024-02-28 16:00:21",
"mxoc_customer_number": "",
"billstatus": "C",
"mxoc_sourcedoctype": "",
"billhead_lk": [],
"mxoc_project_number": "",
"mxoc_isprocesstype": "",
"mxoc_remarks": "",
"mxoc_processtype": "",
"mxoc_user_name": "詹六生",
"mxoc_user_number": "ZY00347",
"auditor_number": "u18292461330",
"creator_id": "12577272",
"modifier_id": "12577272",
"billdate": "2024-02-28 00:00:00",
"mxoc_department_number": "011201",
"creator_name": "李航英",
"billno": "JYDZ-20240228-0463",
"mxoc_inspecttype": "3",
"auditor_id": "12577272",
"mxoc_user_id": "1600756288835328000",
"printcount": 0
},
"errorCode": "success",
"status": true,
"success": true
}
🟢200异常示例
修改于 2025-04-25 05:38:07