Browse Source

修改发料

wms3.0_pda
niexiting 12 months ago
parent
commit
53da613d9f
  1. 2
      pages/issue/coms/comIssueRequestCard.vue
  2. 7
      pages/issue/job/issueDetail.vue
  3. 2
      static/config.json

2
pages/issue/coms/comIssueRequestCard.vue

@ -2,7 +2,7 @@
<request-com-main-card :dataContent="dataContent"> <request-com-main-card :dataContent="dataContent">
<view class="task_item"> <view class="task_item">
<view class="task_text"> <view class="task_text">
车间代码 : {{dataContent.WorkshopCode}} 车间代码 {{dataContent.workshopCode}}
</view> </view>
</view> </view>
</request-com-main-card> </request-com-main-card>

7
pages/issue/job/issueDetail.vue

@ -7,7 +7,8 @@
<scroll-view scroll-y="true" class=""> <scroll-view scroll-y="true" class="">
<view v-for="(toLocation, index) in detailSource"> <view v-for="(toLocation, index) in detailSource">
<com-issue-request-info :workShopCode="jobContent.workShopCode" :dataContent="toLocation"></com-issue-request-info> <com-issue-request-info :workShopCode="jobContent.workShopCode" :dataContent="toLocation">
</com-issue-request-info>
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'> <com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'>
</com-issue-detail-card> </com-issue-detail-card>
</view> </view>
@ -217,9 +218,11 @@
// //
var itemCodes = [] var itemCodes = []
let locationCode = this.detailSource[0].toLocationCode let locationCode = this.detailSource[0].toLocationCode
this.detailSource.forEach(item => { this.detailSource.forEach(toLocation => {
toLocation.Items.forEach(item => {
itemCodes.push(item.itemCode) itemCodes.push(item.itemCode)
}) })
})
//使 //使
if (this.jobContent.useOnTheWayLocation == 'TRUE') { if (this.jobContent.useOnTheWayLocation == 'TRUE') {

2
static/config.json

@ -18,7 +18,7 @@
"request_url": { "request_url": {
"name": "request_url", "name": "request_url",
"value": "http://192.168.0.178:12080/admin-api", "value": "http://dev.ccwin-in.com:25100/api/admin-api",
"dev2":"http://192.168.0.157:12080/admin-api", "dev2":"http://192.168.0.157:12080/admin-api",
"chefang":"http://192.168.0.178:12080/admin-api", "chefang":"http://192.168.0.178:12080/admin-api",
"dev":"http://dev.ccwin-in.com:25100/api/admin-api", "dev":"http://dev.ccwin-in.com:25100/api/admin-api",

Loading…
Cancel
Save