Browse Source

报检单修改

dev_web_online
陈薪名 2 years ago
parent
commit
1ba7e36f25
  1. 6
      fe/PC/src/api/wms-job.js
  2. 23
      fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue

6
fe/PC/src/api/wms-job.js

@ -208,7 +208,7 @@ export function completeSummaryDetailStatus(params, data) {
//质检——设置默认状态(清除质检)
export function setDetailDefaultOkStatus(params, id, data) {
return request({
url: baseURL + 'wms/job/inspect-job/set-detail-default-ok-status/' + id,
url: baseURL + 'wms/store/inspect-job/set-detail-default-ok-status/' + id,
method: 'post',
params: params,
data
@ -218,7 +218,7 @@ export function setDetailDefaultOkStatus(params, id, data) {
//质检——设置详情为合格
export function setDetailOkStatus(params, id, data) {
return request({
url: baseURL + 'wms/job/inspect-job/set-detail-ok-status/' + id,
url: baseURL + 'wms/store/inspect-job/set-detail-ok-status/' + id,
method: 'post',
params: params,
data
@ -228,7 +228,7 @@ export function setDetailOkStatus(params, id, data) {
//质检——设置详情为不合格
export function setDetailNookStatus(params, id, data) {
return request({
url: baseURL + 'wms/job/inspect-job/set-detail-nook-status/' + id,
url: baseURL + 'wms/store/inspect-job/set-detail-nook-status/' + id,
method: 'post',
params: params,
data

23
fe/PC/src/views/rawMaterialManage/quality/InspectRequest.vue

@ -277,6 +277,8 @@ export default {
inspectNoticeDetailsTableLoading: false,
//
inspectFormData: {
inspectUser: null,
uom: null,
samplePercent: 0,
number: null,
otherPropertyJson: null,
@ -286,55 +288,54 @@ export default {
lot: null,
locationErpCode: null,
failedQty: 0,
inspectUserEmail: null,
supplierBatch: null,
produceDate: null,
lastModificationTime: null,
creationTime: null,
lastModifierId: null,
tenantId: null,
supplierPackUom: null,
receiveQty: 0,
remark: null,
expireDate: null,
poNumber: null,
inspectType: 0,
notPassedQty: 0,
inspectUserName: null,
receiveUom: null,
locationCode: null,
abcClass: null,
locationGroup: null,
containerCode: null,
id: null,
supplierPackQty: 0,
warehouseCode: null,
creatorId: null,
poLine: null,
masterID: null,
inspectUserPhone: "18182874811",
status: 0,
goodQty: 0,
locationArea: null,
failedReason: null,
itemCode: null,
itemName: null,
itemDesc1: null,
itemDesc2: null,
stdPackQty: 0,
stdPackUom: null,
packingCode:null,
inspectQty: 0,
appearance: null,
volume: null,
weight: null,
// otherPropertyJson json,
otherPropertyJson: null,
details: [{
name: '',
value: ''
}],
// supplierPackQty: 0,
// inspectUserPhone: "18182874811",
// stdPackUom: null,
// otherPropertyJson json,
// inspectUserEmail: null,
// tenantId: null,
// supplierPackUom: null,
// inspectUserName: null,
// receiveUom: null,
},
inspectForm: [
{ type: "input", label: "物品代码", prop: "itemCode", disabled: true, colSpan: 12 },
@ -402,6 +403,7 @@ export default {
],
// -form
inspectNoticeDetailsFormData: {
warehouseCode: localStorage.getItem('warehouseCode'),
supplierBatch: null,
creationTime: null,
summaryInspectStatus: 0,
@ -582,6 +584,7 @@ export default {
}
this.inspectNoticeDetailsFormData.formFile = []
this.inspectNoticeDetailsFormData = {
warehouseCode: localStorage.getItem('warehouseCode'),
supplierBatch: null,
creationTime: null,
summaryInspectStatus: 0,

Loading…
Cancel
Save