Browse Source

修改生产线显示中文

hella_online_20240829
lijuncheng 2 months ago
parent
commit
7974dd05f6
  1. 10
      src/mycomponents/job/jobFilter.vue
  2. 28
      src/pages.json
  3. 4
      src/pages/issue/job/issueJob.vue

10
src/mycomponents/job/jobFilter.vue

@ -2,7 +2,7 @@
<uni-popup ref="popup" > <uni-popup ref="popup" >
<view class="maskbox" @tap="maskClick"></view> <view class="maskbox" @tap="maskClick"></view>
<view class="uni-flex uni-column center" <view class="uni-flex uni-column center"
style="background-color: white;width: 100%; height:auto;padding: 20rpx;z-index: 99;position: relative;"> style="background-color: white;width: 100%; height:auto;padding: 20rpx;z-index: 99;position: relative; border-radius: 10rpx;">
<view class="uni-flex space-between u-col-center" style="width: 100%;"> <view class="uni-flex space-between u-col-center" style="width: 100%;">
<view class="" style="font-size: 32rpx;"> <view class="" style="font-size: 32rpx;">
只看当天 只看当天
@ -129,7 +129,13 @@
methods: { methods: {
// 线 // 线
productionLineCodeConfirm(){ productionLineCodeConfirm(){
this.$emit("productionLineCode", this.productionLineCode) var lineCode=""
this.productionline.forEach(item=>{
if(item.text==this.productionLineCode){
lineCode=item.value
}
})
this.$emit("productionLineCode", lineCode)
}, },
// //

28
src/pages.json

@ -130,7 +130,7 @@
"path": "pages/supplierDeliver/record/supplierDeliverRecord", "path": "pages/supplierDeliver/record/supplierDeliverRecord",
"style": { "style": {
"navigationBarTitleText": "供应商发货记录", "navigationBarTitleText": "供应商发货记录",
"enablePullDownRefresh": true, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
// "autoBackButton": "true", // "autoBackButton": "true",
"buttons": [ "buttons": [
@ -158,7 +158,7 @@
"path": "pages/supplierDeliver/record/supplierDeliverRecordDetail", "path": "pages/supplierDeliver/record/supplierDeliverRecordDetail",
"style": { "style": {
"navigationBarTitleText": "供应商发货记录详情", "navigationBarTitleText": "供应商发货记录详情",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
@ -564,7 +564,7 @@
"path": "pages/issue/record/issueRecord", "path": "pages/issue/record/issueRecord",
"style": { "style": {
"navigationBarTitleText": "直接发料记录", "navigationBarTitleText": "直接发料记录",
"enablePullDownRefresh": true, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
"autoBackButton": "true" "autoBackButton": "true"
} }
@ -574,7 +574,7 @@
"path": "pages/issue/record/directIssue", "path": "pages/issue/record/directIssue",
"style": { "style": {
"navigationBarTitleText": "直接发料", "navigationBarTitleText": "直接发料",
"enablePullDownRefresh": true, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
"autoBackButton": "true" "autoBackButton": "true"
} }
@ -657,7 +657,7 @@
"path": "pages/repleinsh/record/repleinshRecord", "path": "pages/repleinsh/record/repleinshRecord",
"style": { "style": {
"navigationBarTitleText": "补料记录", "navigationBarTitleText": "补料记录",
"enablePullDownRefresh": true, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
"autoBackButton": "true" "autoBackButton": "true"
} }
@ -667,7 +667,7 @@
"path": "pages/repleinsh/record/directRepleinshRecord", "path": "pages/repleinsh/record/directRepleinshRecord",
"style": { "style": {
"navigationBarTitleText": "直接补料", "navigationBarTitleText": "直接补料",
"enablePullDownRefresh": true, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
"autoBackButton": "true" "autoBackButton": "true"
} }
@ -1660,42 +1660,42 @@
"path": "pages/inventoryMove/record/moveFreeRecord", "path": "pages/inventoryMove/record/moveFreeRecord",
"style": { "style": {
"navigationBarTitleText": "库存转移记录", "navigationBarTitleText": "库存转移记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/inventoryMove/record/scrapToHoldRecord", "path": "pages/inventoryMove/record/scrapToHoldRecord",
"style": { "style": {
"navigationBarTitleText": "报废转隔离记录", "navigationBarTitleText": "报废转隔离记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/inventoryMove/record/okToHoldRecord", "path": "pages/inventoryMove/record/okToHoldRecord",
"style": { "style": {
"navigationBarTitleText": "合格转隔离记录", "navigationBarTitleText": "合格转隔离记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/inventoryMove/record/holdToOkRecord", "path": "pages/inventoryMove/record/holdToOkRecord",
"style": { "style": {
"navigationBarTitleText": "隔离转合格记录", "navigationBarTitleText": "隔离转合格记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/inventoryMove/record/holdToScrapRecord", "path": "pages/inventoryMove/record/holdToScrapRecord",
"style": { "style": {
"navigationBarTitleText": "隔离转报废记录", "navigationBarTitleText": "隔离转报废记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/inventoryMove/record/okToScrapRecord", "path": "pages/inventoryMove/record/okToScrapRecord",
"style": { "style": {
"navigationBarTitleText": "合格转报废记录", "navigationBarTitleText": "合格转报废记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
@ -1736,7 +1736,7 @@
"path": "pages/transfer/record/receiptRecord", "path": "pages/transfer/record/receiptRecord",
"style": { "style": {
"navigationBarTitleText": "调拨入库记录", "navigationBarTitleText": "调拨入库记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {
@ -1767,7 +1767,7 @@
"path": "pages/transfer/record/deliverRecord", "path": "pages/transfer/record/deliverRecord",
"style": { "style": {
"navigationBarTitleText": "调拨出库记录", "navigationBarTitleText": "调拨出库记录",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },
{ {

4
src/pages/issue/job/issueJob.vue

@ -129,8 +129,8 @@
console.log('生产线',res) console.log('生产线',res)
if(res.code==0){ if(res.code==0){
this.productionline = res.data.map(item=>({ this.productionline = res.data.map(item=>({
value: item, value: item.value,
text: item text: item.name
})) }))
}else{ }else{
this.productionline = [] this.productionline = []

Loading…
Cancel
Save