1/7 页面优化1.0

20240912_adapter
wangwei 6 months ago
parent 405dfd2d76
commit 0717d2ba70

@ -23,12 +23,12 @@
@click.native="overdeleteCode"
>结束剔除
</el-button>
<el-button
type="primary"
:disabled="formData.billNo || (this.formDataVisible != null && this.formDataVisible.scanType == 1)"
@click.native="nextCollectOrder()"
>下一单
</el-button>
<!--<el-button-->
<!-- type="primary"-->
<!-- :disabled="formData.billNo || (this.formDataVisible != null && this.formDataVisible.scanType == 1)"-->
<!-- @click.native="nextCollectOrder()"-->
<!--&gt;下一单-->
<!--</el-button>-->
<el-button
type="primary"
:disabled="formData.billNo ||(this.formDataVisible != null && this.formDataVisible.scanType == 1)"

@ -13,7 +13,7 @@
<el-table-column
label="追溯码"
prop="code"
width="280"
width="240"
show-overflow-tooltip
></el-table-column>
<!-- <el-table-column-->
@ -71,6 +71,20 @@
width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="拆零标识"
prop="fifoSplit"
width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="getFifoSplitType(scope.row.fifoSplit)">
{{ fifoSplitMap[scope.row.fifoSplit] }}
</el-tag>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- label="供应商"-->
<!-- prop="supName"-->
@ -204,7 +218,13 @@ export default {
selectType: 1,
relId: ''
},
codeTotal:0
codeTotal:0,
fifoSplitMap:{
1 : "自动拆零",
2 : "自动整取",
3 : "手动整取",
4 : "手动拆零"
}
}
},
methods: {
@ -354,11 +374,17 @@ export default {
tQuery.action = this.orderFormData.action
this.closeCodeDialog()
},
getFifoSplitType(fifoSplit){
if (fifoSplit == 1 || fifoSplit == 4){
return ""
}
if (fifoSplit == 2 || fifoSplit == 3){
return "success"
}
}
},
created() {
console.log('hahhahahah', this.prescribeData)
if (this.prescribeData.id != null) {
this.getCodeList()
}

Loading…
Cancel
Save