Commit c5411028 authored by 沈翠玲's avatar 沈翠玲

投料校验

parent 966f7057
......@@ -553,14 +553,14 @@
<uni-th width="80px" align="center">领料数量</uni-th>
<uni-th width="110px" align="center">批次号</uni-th>
</uni-tr>
<uni-tr v-for="(line, index) in feedingInspectionList" :key="index">
<uni-tr v-for="(line, index) in feedingInspectionList" :key="index" :style="{background: line.attr3 == 1 ? '#19be6b' : '#fff'}">
<uni-td align="center">
<view class="uni-group">
<button class="uni-button" size="mini" type="primary"
@click="validateFeedingInspection(line)">校验</button>
</view>
</uni-td>
<uni-td align="center">{{ line.attr3 == 1 ? '校验' : '未校验' }}</uni-td>
<uni-td align="center">{{ line.attr3 == 1 ? '校验' : '未校验' }}</uni-td>
<uni-td align="center">{{ line.itemCode.substring(line.itemCode.length - 8, line.itemCode.length) }}</uni-td>
<uni-td align="center">{{ line.itemName }}({{ line.specification }})/{{ line.unitOfMeasure }}</uni-td>
<uni-td align="center">{{ line.quantityIssued }}</uni-td>
......@@ -1345,7 +1345,7 @@ export default {
itemName: null,
applyNum: 1,
workorderCode: null,
number: 1,
number: 0,
},
materialReturnProcessItemData: {
itemName: null,
......@@ -2599,6 +2599,7 @@ export default {
/* #endif */
},
validateFeedingInspection(line) {
// if(line.attr3 == 1) return
const t = this;
const taskInfo = this.tableSelectData[0];
this.$u.api.validateFeedingInspectionById({ lineId: line.lineId }).then((res2) => {
......@@ -2786,7 +2787,7 @@ export default {
applyNum: 1,
workorderCode: this.materialReturnFormData.workorderCode,
isQualified: 1,
number: 1,
number: 0,
};
this.materialReturnSelected = line;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment