@ -63,6 +63,7 @@ export default {
po_Supplier: '供应商',
po_OrderType: '订单类型',
po_Location: '库存地点',
SAPLocation:'所选物料没有SAP库位,请重新选择',
po_PleaseScan: '请扫描PO单号',
po_PleaseScanMATcode: '请扫描物料条码',
PleaseScan: '请扫描',
@ -186,6 +186,7 @@ export default {
return_OperatorName: 'Return by',
return_Type: 'Return type',
return_Tip1: 'Return by cannot be empty',
SAPLocation: 'There is no SAP location for the selected material, please select again',
return_Tip2: 'Factory code cannot be empty',
return_Tip3: 'Qty cannot be empty',
return_Tip4: 'Return Qty cannot be greater than total Qty',
@ -152,6 +152,18 @@ export default class RawReceiptDetail extends BasePage {
this.wlCode = e.pickerName;
}
handleRow({ data }: any) {
console.log('data[0]', data[0]);
if (!this.model.proOrderResultList[data[0].index].sendSpot) {
uni.showModal({
content: this.$t('message.SAPLocation') as any,
success: (res) => {
if (res.confirm) {
this.model.proOrderResultList[data[0].index].checked = false;
},
});
return;
this.someIndex = data[0].index;
this.some = data[0].lineData;
this.model.proOrderResultList[this.someIndex].wlList = [];
@ -140,6 +140,17 @@ export default class RawReceiptDetail extends BasePage {
//选取某一条需要分配库位的物料数据
if (!this.model.aggregateList[data[0].index].sendSpot) {
this.model.aggregateList[data[0].index].checked = false;
this.model.aggregateList[this.someIndex].wlList = [];
@ -167,7 +167,8 @@ export const orderHeaders = [
{
label: vm.$t('message.po_Location'),
// key: 'currentWkposCode',
key: 'wkposCode',
//key: 'wkposCode',
key: 'sendSpot',
label: vm.$t('message.po_MaterielDes'),
@ -189,7 +190,8 @@ export const orderHeaders = [
label: vm.$t('message.Pi_Station'),
//key: 'sendSpot',
label: vm.$t('message.Pi_OrderNo'),
@ -322,8 +322,5 @@ export default class returningDom extends BasePage {
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
padding: 20rpx;
.button-bar {
</style>