Browse Source

到货检验参数

wms3.0_pda
lijuncheng 12 months ago
parent
commit
9436ab0387
  1. 1
      pages/customerReturn/request/customerReturnRequest.vue
  2. 9
      pages/inspect/job/inspectDetail.vue
  3. 4
      pages/productionReturn/request/returnToStoreRequest.vue
  4. 3
      static/config.json

1
pages/customerReturn/request/customerReturnRequest.vue

@ -14,7 +14,6 @@
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" v-if="requestList.length>0" />
<requestButton @goScan='openScanDetailPopup'></requestButton>
<request-info-popup ref='requestInfoPopup'></request-info-popup>
</view>
<comMessage ref="comMessage"></comMessage>

9
pages/inspect/job/inspectDetail.vue

@ -282,6 +282,7 @@
itemDetail.scaned = true;
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance
.qty) ? Number(result.balance.qty) : Number(result.label.qty);
itemDetail.balance = result.balance;
this.calcHandleQty();
} else {
this.scanPopupGetFocus();
@ -289,6 +290,7 @@
});
} else {
itemDetail.scaned = true;
itemDetail.balance = result.balance;
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance.qty) ? Number(
result.balance.qty) : Number(result.label.qty);
this.calcHandleQty();
@ -430,6 +432,13 @@
detail.toInventoryStatus = "NOK"
}
}
detail.singlePrice = detail.balance.singlePrice;
detail.amount = detail.balance.singlePrice * detail.handleQty;
detail.arriveDate = detail.balance.arriveDate;
detail.produceDate = detail.balance.produceDate;
detail.expireDate = detail.balance.expireDate;
list.push(detail)
}
})

4
pages/productionReturn/request/returnToStoreRequest.vue

@ -14,9 +14,9 @@
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" />
<request-info-popup ref='requestInfoPopup'></request-info-popup>
</view>
<requestButton @goScan='openScanDetailPopup'></requestButton>
</view>
<comMessage ref="comMessage"></comMessage>
</template>
@ -205,7 +205,7 @@
openScanDetailPopup() {
uni.navigateTo({
url: "../record/returnToHold?fromType=" + this.fromType
url: "../record/returnToStore?fromType=" + this.fromType
})
},

3
static/config.json

@ -19,7 +19,8 @@
"request_url": {
"name": "request_url",
"value": "http://192.168.0.157:12080/admin-api",
"dev":"http://dev.ccwin-in.com:25100/api",
"dev2":"http://192.168.0.157:12080/admin-api",
"dev":"http://dev.ccwin-in.com:25100/api/admin-api",
"local":"http://localhost:12080",
"desc": "api请求地址"
},

Loading…
Cancel
Save