1/13 页面优化1.1

20240912_adapter
wangwei 6 months ago
parent 18d29d21fb
commit 2392d56510

@ -219,6 +219,7 @@
</div> </div>
</el-row> </el-row>
<newCreateCodeDetail <newCreateCodeDetail
ref="newCreateCodeDetail"
:idQuery="orderFormData" :idQuery="orderFormData"
:curAction="curAction" :curAction="curAction"
:refreshPanel="refreshCodesPanel" :refreshPanel="refreshCodesPanel"
@ -711,6 +712,7 @@ export default {
this.redMesg = this.redMesgOld this.redMesg = this.redMesgOld
this.orderStatus = false this.orderStatus = false
this.scanReCount = 0 this.scanReCount = 0
this.$refs.newCreateCodeDetail.codeCount = 0
this.refreshCodesPanel() this.refreshCodesPanel()
}, },
// //

@ -18,7 +18,7 @@
</el-col> </el-col>
<el-col :span="8" style="border: 1px solid #e3dfe1; margin-left: 20px; padding: 15px;height: 700px;"> <el-col :span="8" style="border: 1px solid #e3dfe1; margin-left: 20px; padding: 15px;height: 700px;">
<h2 style="font-weight: bold;">扫码明细({{codeArray.length}})</h2> <h2 style="font-weight: bold;">扫码明细({{codeCount}})</h2>
<!--<el-divider></el-divider>--> <!--<el-divider></el-divider>-->
<div style=" border-top: 1px solid #ccc;"> <div style=" border-top: 1px solid #ccc;">
<el-table v-loading="loading" :data="codeArray" style="width: 100%;margin-top: 20px" max-height="350" <el-table v-loading="loading" :data="codeArray" style="width: 100%;margin-top: 20px" max-height="350"
@ -84,7 +84,8 @@ export default {
dialogTableVisible: false, dialogTableVisible: false,
editCodeVisible: false, editCodeVisible: false,
orderDetail:null, orderDetail:null,
codeArray:[] codeArray:[],
codeCount: 0,
} }
}, },
@ -170,6 +171,7 @@ export default {
errorCodeList(this.query) // errorCodeList(this.query) //
.then((response) => { .then((response) => {
this.codeArray = response.data.list || []; this.codeArray = response.data.list || [];
this.codeCount = this.codeArray.length
this.loading = false; this.loading = false;
}) })
.catch(() => { .catch(() => {

Loading…
Cancel
Save