|
@@ -13,16 +13,16 @@
|
|
|
<view class="content_table">
|
|
<view class="content_table">
|
|
|
|
|
|
|
|
|
|
|
|
|
- <view class="item rx-sc">
|
|
|
|
|
|
|
+ <view class="item rx-sc">
|
|
|
<view class="rx ">
|
|
<view class="rx ">
|
|
|
<view class="lable lable220 rx-cc ">上道工序生产数量</view>
|
|
<view class="lable lable220 rx-cc ">上道工序生产数量</view>
|
|
|
<view class="content ">
|
|
<view class="content ">
|
|
|
- {{ item.formedNumLast}}
|
|
|
|
|
|
|
+ {{ item.formedNumLast}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<view class="item rx-sc">
|
|
<view class="item rx-sc">
|
|
|
<view class="rx ww55 ">
|
|
<view class="rx ww55 ">
|
|
|
<view class="lable lable150 rx-cc ">要求生产数量</view>
|
|
<view class="lable lable150 rx-cc ">要求生产数量</view>
|
|
@@ -42,15 +42,16 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="item rx-sc">
|
|
<view class="item rx-sc">
|
|
|
<view class="rx ww55 ">
|
|
<view class="rx ww55 ">
|
|
|
<view class="lable lable150 rx-cc ">合格品数量</view>
|
|
<view class="lable lable150 rx-cc ">合格品数量</view>
|
|
|
<view class="content content_num">
|
|
<view class="content content_num">
|
|
|
- <input class="uni-input" v-model="item.workReportInfo.formedNum" @blur="blurNum" type="digit"></input>
|
|
|
|
|
|
|
+ <input class="uni-input" v-model="item.workReportInfo.formedNum" @blur="blurNum"
|
|
|
|
|
+ type="digit"></input>
|
|
|
<view class="unit">{{item.unit}}</view>
|
|
<view class="unit">{{item.unit}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -64,36 +65,39 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="item rx-sc" v-for="(not,notIndex) in notFormedList" :key='notIndex'>
|
|
<view class="item rx-sc" v-for="(not,notIndex) in notFormedList" :key='notIndex'>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<view class="rx ww55 ">
|
|
<view class="rx ww55 ">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<view class="lable lable150 rx-cc ">不合格数量</view>
|
|
<view class="lable lable150 rx-cc ">不合格数量</view>
|
|
|
<view class="content content_num">
|
|
<view class="content content_num">
|
|
|
<input class="uni-input" v-model="not.notFormedNum" type="digit" @blur="blurNum"></input>
|
|
<input class="uni-input" v-model="not.notFormedNum" type="digit" @blur="blurNum"></input>
|
|
|
<view class="unit">{{item.unit}}</view>
|
|
<view class="unit">{{item.unit}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<view class="rx ww45">
|
|
<view class="rx ww45">
|
|
|
<view class="lable rx-cc ww80">重量</view>
|
|
<view class="lable rx-cc ww80">重量</view>
|
|
|
<view class="content content_num">
|
|
<view class="content content_num">
|
|
|
<input class="uni-input" v-model="not.notFormedWeight" type="digit"></input>
|
|
<input class="uni-input" v-model="not.notFormedWeight" type="digit"></input>
|
|
|
<view class="unit">{{item.weightUnit}}</view>
|
|
<view class="unit">{{item.weightUnit}}</view>
|
|
|
-
|
|
|
|
|
- <view class="penalize" v-if='!isDetails' :style="{ color: not.warehouseId ? 'rgb(255 170 42)' : ''}" @click="penalize">处置</view>
|
|
|
|
|
- <view class="penalize" v-if='isDetails' :style="{ color: not.warehouseId ? 'rgb(255 170 42)' : ''}" @click="handleView(item.warehouseName)">查看</view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view class="penalize" v-if='!isDetails'
|
|
|
|
|
+ :style="{ color: not.warehouseId ? 'rgb(255 170 42)' : ''}" @click="penalize">处置</view>
|
|
|
|
|
+ <view class="penalize" v-if='isDetails'
|
|
|
|
|
+ :style="{ color: not.warehouseId ? 'rgb(255 170 42)' : ''}"
|
|
|
|
|
+ @click="handleView(item.warehouseName)">查看</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+s
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -120,7 +124,8 @@
|
|
|
<view class="lable rx-cc">舟皿名称</view>
|
|
<view class="lable rx-cc">舟皿名称</view>
|
|
|
<view class="content ">
|
|
<view class="content ">
|
|
|
<zxz-uni-data-select :localdata="boatList" v-model="item.categoryId" dataValue='id'
|
|
<zxz-uni-data-select :localdata="boatList" v-model="item.categoryId" dataValue='id'
|
|
|
- format='{name}-{code}' dataKey="code" filterable :clear='false' @change='inputChange'></zxz-uni-data-select>
|
|
|
|
|
|
|
+ format='{name}-{code}' dataKey="code" filterable :clear='false'
|
|
|
|
|
+ @change='inputChange'></zxz-uni-data-select>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -154,9 +159,11 @@
|
|
|
treeByPid,
|
|
treeByPid,
|
|
|
pageeLedgerMain,
|
|
pageeLedgerMain,
|
|
|
assetPage,
|
|
assetPage,
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
} from '@/api/pda/workOrder.js'
|
|
} from '@/api/pda/workOrder.js'
|
|
|
-import { number } from 'echarts'
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ number
|
|
|
|
|
+ } from 'echarts'
|
|
|
export default {
|
|
export default {
|
|
|
props: {
|
|
props: {
|
|
|
item: {
|
|
item: {
|
|
@@ -178,26 +185,26 @@ import { number } from 'echarts'
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
watch: {
|
|
watch: {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
notFormed: {
|
|
notFormed: {
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
deep: true,
|
|
deep: true,
|
|
|
handler(newVal) {
|
|
handler(newVal) {
|
|
|
console.log(newVal)
|
|
console.log(newVal)
|
|
|
this.notFormedList = newVal
|
|
this.notFormedList = newVal
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
classificationList: [],
|
|
classificationList: [],
|
|
|
boatList: [],
|
|
boatList: [],
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
notFormedList: []
|
|
notFormedList: []
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -206,7 +213,7 @@ import { number } from 'echarts'
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getTreeList()
|
|
this.getTreeList()
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
@@ -257,18 +264,18 @@ import { number } from 'echarts'
|
|
|
handleType() {
|
|
handleType() {
|
|
|
this.$refs.treePicker._show()
|
|
this.$refs.treePicker._show()
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
penalize() {
|
|
penalize() {
|
|
|
this.$emit('penalize', null)
|
|
this.$emit('penalize', null)
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
handleView(name) {
|
|
handleView(name) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
icon: 'none',
|
|
|
title: name || '未设置'
|
|
title: name || '未设置'
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
blurNum() {
|
|
blurNum() {
|
|
|
let total = Number(this.item.workReportInfo.formedNum) + Number(this.notFormedList[0].notFormedNum)
|
|
let total = Number(this.item.workReportInfo.formedNum) + Number(this.notFormedList[0].notFormedNum)
|
|
|
this.$emit('modeNum', total)
|
|
this.$emit('modeNum', total)
|
|
@@ -332,7 +339,8 @@ import { number } from 'echarts'
|
|
|
border-right: 2rpx solid $border-color;
|
|
border-right: 2rpx solid $border-color;
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
- .lable220{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .lable220 {
|
|
|
width: 220rpx !important;
|
|
width: 220rpx !important;
|
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
|
}
|
|
}
|