This commit is contained in:
2023-07-04 15:08:51 +08:00
3 changed files with 17 additions and 14 deletions

BIN
dist.zip

Binary file not shown.

View File

@@ -92,7 +92,7 @@
</tr>
</thead>
<tbody>
<tr v-for="(e, i) in dataList" :key="i" :class="{'selected_icon': pkId === e.bill_code}" @click="toRadio(e)">
<tr v-for="(e, i) in dataList" :key="i" :class="{'selected_icon': pkId === e.checkdtl_id}" @click="toRadio(e)">
<td>{{ i + 1 }}</td>
<td>{{e.struct_name}}</td>
<td>{{e.storagevehicle_code}}</td>
@@ -101,7 +101,7 @@
<td>{{e.qty | numeric(3)}}</td>
<td>{{e.base_qty | numeric(3)}}</td>
<td><input type="number" class="input" v-model="e.fac_qty"></td>
<td>{{ ['正常', '盘亏', '盘盈'][Number(e.check_resultI)] }}</td>
<td>{{ ['正常', '盘亏', '盘盈'][Number(e.check_result)] }}</td>
<td v-if="e.status === '01'">生成</td>
<td v-if="e.status === '04'">盘点中</td>
<td v-if="e.status === '05'">已盘点</td>
@@ -175,9 +175,6 @@ export default {
async _checkGetDtlAll () {
let res = await checkGetDtlAll(this.value1, this.date !== null ? dateTimeFtt(this.date[0]) : '', this.date !== null ? dateTimeFtt(this.date[1]) : '', this.material_code, this.storagevehicle_code, this.struct_code)
this.dataList = [...res.data]
this.dataList.map(el => {
this.$set(el, 'fac_qty', '')
})
},
// 盘点位下拉框
async _checkGetPoint () {
@@ -185,8 +182,8 @@ export default {
this.options2 = [...res.data]
},
toRadio (e) {
this.pkId = this.pkId === e.struct_name ? '' : e.struct_name
this.pkObj = this.pkId === e.struct_name ? e : {}
this.pkId = this.pkId === e.checkdtl_id ? '' : e.checkdtl_id
this.pkObj = this.pkId === e.checkdtl_id ? e : {}
},
// 下发(按钮)
async _checkSendTask () {

View File

@@ -88,8 +88,8 @@
.select_square_icon
border-radius 3px
.selected_icon
background-color #1989fa
color #fff
background-color #1989fa !important
color #fff !important
.unselect_icon
background-color #c0c4cc
.radio_icon
@@ -252,6 +252,7 @@ header
line-height .3rem
font-size .13rem
color #606266
border 1px solid $gray
text-indent .05rem
.slide_new
width: 100%
@@ -284,7 +285,8 @@ header
left -1px
z-index 50
background-color #090b3c
.zd_wrapper .grid_wraper .selected_icon td:first-child
background-color transparent
.message-box__wrapper
position fixed
top 0
@@ -464,12 +466,14 @@ input::-webkit-input-placeholder
border-color #c9c9c9
background-color: #c9c9c9;
.selected_icon
background-color: #fff;
color: $red
background-color: #fff !important;
color: $red !important
td
color: $red
.zd_wrapper .grid_wraper td:first-child
background-color #ff6b00
.zd_wrapper .grid_wraper .selected_icon td:first-child
background-color transparent
.overall_lightgreen
background linear-gradient(#00d9a1 0%,#00c0a5 30%,#115fae 100%)
.body-container
@@ -487,11 +491,13 @@ input::-webkit-input-placeholder
border-color #c9c9c9;
background-color: #c9c9c9;
.selected_icon
background-color: #fff;
color: #008f8f
background-color: #fff !important;
color: #008f8f !important
td
color: #008f8f
.zd_wrapper .grid_wraper td:first-child
background-color #00c0a5
.zd_wrapper .grid_wraper .selected_icon td:first-child
background-color transparent
.overall_blue
background linear-gradient(#031f6d 0%,#011a60 20%,#060346 100%)