Browse Source

修复部分bug

dev-xx
qb 7 months ago
parent
commit
bb5448f036
  1. 28
      src/views/basicdata/vehicle/basicdataVehicleAddForm.vue
  2. 3
      src/views/distribution/inventory/CreateOrder.vue
  3. 1
      src/views/waybill/CreateZeroOrder.vue
  4. 1
      src/views/waybill/TemporaryStorageList.vue

28
src/views/basicdata/vehicle/basicdataVehicleAddForm.vue

@ -117,7 +117,7 @@
</el-upload>
<div class="imgRow">
<div v-for="(value, index) in item.imgList" :key="value.url">
<div v-for="(value, index) in item.imgList" :key="value.url" class="img_box">
<el-image
class="img"
:src="value.url"
@ -129,6 +129,12 @@
:initial-index="index"
fit="cover"
/>
<div class="mask">
<el-icon color="#f00" size="20" class="pointer">
<CircleCloseFilled />
</el-icon>
</div>
</div>
</div>
</div>
@ -827,11 +833,29 @@ const handleSubmit = async () => {
}
.img {
margin: 10px;
border-radius: 5px;
width: 100px;
height: 100px;
}
.img_box {
position: relative;
margin: 10px;
.mask {
position: absolute;
top: 4px;
right: 4px;
opacity: 0;
transition: all 0.3s;
}
&:hover {
.mask {
opacity: 1;
}
}
}
}
}

3
src/views/distribution/inventory/CreateOrder.vue

@ -698,6 +698,7 @@
:step="0.1"
v-model="query.totalFreight"
:value-on-clear="0"
disabled
></el-input-number>
</el-form-item>
@ -3503,7 +3504,7 @@ const handleRepetition = () => {
}
handleChooseOrder();
resetForm(ruleFormRef.value);
// resetForm(ruleFormRef.value);
};
/** 查询货物 */

1
src/views/waybill/CreateZeroOrder.vue

@ -643,6 +643,7 @@
:min="0"
:step="0.1"
v-model="query.totalFreight"
disabled
:value-on-clear="0"
></el-input-number>
</el-form-item>

1
src/views/waybill/TemporaryStorageList.vue

@ -1420,6 +1420,7 @@ onActivated(() => {
if ($store.state.isRefresh.refreshObj.TemporaryStorageList) {
//
details.query = {};
handleClearTableQuery(details.columnList);
details.page.pageNum = 1;
onLoad({}, true);

Loading…
Cancel
Save