|
@@ -119,9 +119,9 @@
|
|
//#endif
|
|
//#endif
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
- // this.compId = "2710b21efc1e4393930c5dc800010dc4"
|
|
|
|
- // this.qualityNo = "SGRK202112200080001"
|
|
|
|
- // this.cangid = "715d87adeea548cc9a70d03f72952816"
|
|
|
|
|
|
+ this.compId = "2710b21efc1e4393930c5dc800010dc4"
|
|
|
|
+ this.qualityNo = "SGRK202201170060001"
|
|
|
|
+ this.cangid = "374a8a02ecfe40dc9abdcd902dd564f5"
|
|
console.log("查看",this.qualityNo,this.compId,this.cangid)
|
|
console.log("查看",this.qualityNo,this.compId,this.cangid)
|
|
if (this.cangid) { //判断是在哪扫码进入的
|
|
if (this.cangid) { //判断是在哪扫码进入的
|
|
if(this.compId.indexOf(",") != -1){
|
|
if(this.compId.indexOf(",") != -1){
|
|
@@ -183,12 +183,15 @@
|
|
number: this.qualityNo,
|
|
number: this.qualityNo,
|
|
warehouseId: this.cangid
|
|
warehouseId: this.cangid
|
|
}
|
|
}
|
|
|
|
+ console.log("a-------------",this.detailData.paymentManagement)
|
|
this.$api.doRequest('get', '/weighingManagement/getQRcode', tmp).then(res => {
|
|
this.$api.doRequest('get', '/weighingManagement/getQRcode', tmp).then(res => {
|
|
this.detailData = res.data.data
|
|
this.detailData = res.data.data
|
|
this.status = this.detailData.qualityInspectionManagement.status
|
|
this.status = this.detailData.qualityInspectionManagement.status
|
|
this.confirm = this.detailData.qualityInspectionManagement.confirm
|
|
this.confirm = this.detailData.qualityInspectionManagement.confirm
|
|
this.weightStatus = this.detailData.status
|
|
this.weightStatus = this.detailData.status
|
|
- this.payStatus = this.detailData.paymentManagement.approveStatus
|
|
|
|
|
|
+ if(this.detailData.paymentManagement){
|
|
|
|
+ this.payStatus = this.detailData.paymentManagement.approveStatus
|
|
|
|
+ }
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|
|
if (res.message) {
|
|
if (res.message) {
|