Browse Source

修改发料

wms3.0_pda
niexiting 1 year 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">
<view class="task_item">
<view class="task_text">
车间代码 : {{dataContent.WorkshopCode}}
车间代码 {{dataContent.workshopCode}}
</view>
</view>
</request-com-main-card>

11
pages/issue/job/issueDetail.vue

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

2
static/config.json

@ -18,7 +18,7 @@
"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",
"chefang":"http://192.168.0.178:12080/admin-api",
"dev":"http://dev.ccwin-in.com:25100/api/admin-api",

Loading…
Cancel
Save