1/7 页面优化1.0

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

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

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

Loading…
Cancel
Save