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

9
pages/inspect/job/inspectDetail.vue

@ -282,6 +282,7 @@
itemDetail.scaned = true; itemDetail.scaned = true;
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance itemDetail.handleQty = Number(result.label.qty) > Number(result.balance
.qty) ? Number(result.balance.qty) : Number(result.label.qty); .qty) ? Number(result.balance.qty) : Number(result.label.qty);
itemDetail.balance = result.balance;
this.calcHandleQty(); this.calcHandleQty();
} else { } else {
this.scanPopupGetFocus(); this.scanPopupGetFocus();
@ -289,6 +290,7 @@
}); });
} else { } else {
itemDetail.scaned = true; itemDetail.scaned = true;
itemDetail.balance = result.balance;
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance.qty) ? Number( itemDetail.handleQty = Number(result.label.qty) > Number(result.balance.qty) ? Number(
result.balance.qty) : Number(result.label.qty); result.balance.qty) : Number(result.label.qty);
this.calcHandleQty(); this.calcHandleQty();
@ -430,6 +432,13 @@
detail.toInventoryStatus = "NOK" 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) list.push(detail)
} }
}) })

4
pages/productionReturn/request/returnToStoreRequest.vue

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

3
static/config.json

@ -19,7 +19,8 @@
"request_url": { "request_url": {
"name": "request_url", "name": "request_url",
"value": "http://192.168.0.157:12080/admin-api", "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", "local":"http://localhost:12080",
"desc": "api请求地址" "desc": "api请求地址"
}, },

Loading…
Cancel
Save