Browse Source

修改发料

wms3.0_pda
niexiting 12 months ago
parent
commit
53da613d9f
  1. 2
      pages/issue/coms/comIssueRequestCard.vue
  2. 11
      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>

11
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>
@ -61,7 +62,7 @@
import comScanIssuePack from '@/pages/issue/coms/comScanIssuePack.vue' import comScanIssuePack from '@/pages/issue/coms/comScanIssuePack.vue'
import comMessage from '@/mycomponents/common/comMessage.vue' import comMessage from '@/mycomponents/common/comMessage.vue'
import comIssueRequestInfo from '@/pages/issue/coms/comIssueRequestInfo.vue' import comIssueRequestInfo from '@/pages/issue/coms/comIssueRequestInfo.vue'
export default { export default {
name: 'issueDetail', name: 'issueDetail',
components: { components: {
@ -217,8 +218,10 @@
// //
var itemCodes = [] var itemCodes = []
let locationCode = this.detailSource[0].toLocationCode let locationCode = this.detailSource[0].toLocationCode
this.detailSource.forEach(item => { this.detailSource.forEach(toLocation => {
itemCodes.push(item.itemCode) toLocation.Items.forEach(item => {
itemCodes.push(item.itemCode)
})
}) })
//使 //使

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