Browse Source

修复部分bug

dev-xx
qb 7 months ago
parent
commit
fe14aa86a6
  1. 20
      src/views/distribution/artery/AddVehicleStowage.vue
  2. 8
      src/views/distribution/reservation/reservationDetails.vue

20
src/views/distribution/artery/AddVehicleStowage.vue

@ -647,8 +647,13 @@
</tablecmt>
<div class="flex-c-c">
<el-button @click="details.popUpShow.problemDataVisited = false">取消</el-button>
<el-button type="primary" icon="Promotion" @click="handleSubmitProblemData"> 提交 </el-button>
<!-- 关闭 -->
<el-button icon="CircleClose" @click="details.popUpShow.problemDataVisited = false">
关闭
</el-button>
<!-- 挂载 -->
<el-button type="primary" icon="Promotion" @click="handleSubmitProblemData"> 挂载 </el-button>
</div>
</el-dialog>
@ -1742,7 +1747,7 @@ const handleRemoveWaybill = async (index: number) => {
const remoteMethodDriver = async val => {
// if (!val) return;
const res = await postFindDriverListByName({ driverName: val });
const res = await postFindDriverListByName({ driverName: val, driverType: 1 });
const { code, data } = res.data;
if (code !== 200) return;
details.driverListByName = data;
@ -2027,8 +2032,6 @@ const editSubmit = async () => {
//
const _addArr = [];
console.log('Object.keys(_item).length === 0 :>> ', Object.keys(_item).length === 0);
//
if (Object.keys(_item).length === 0) {
val.updateType = 2;
@ -2190,6 +2193,13 @@ const nodeCostSubmit = async () => {
const handleSubmit = (formEl: FormInstance | undefined) => {
if (details.nodeInfoData.length <= 1) return ElMessage.warning('最少存在一个目的仓');
if (details.problemDataByReal.length > 0) {
details.problemInfo.activeName = 'real';
handleShowProblemData();
return ElMessage.warning('存在装车数据未挂载目的仓,请处理后提交');
}
if (btnLoadingObj.submitBtn) return;
if (!formEl) return;
formEl.validate((valid, fields) => {

8
src/views/distribution/reservation/reservationDetails.vue

@ -242,7 +242,13 @@
</el-form-item>
</el-dialog>
<MyPrint :html="html" v-model="dialogVisibleF" :isShowExport="false" width="780px"></MyPrint>
<MyPrint
:html="html"
v-model="dialogVisibleF"
:isShowExport="false"
type="titlePrint"
width="780px"
></MyPrint>
<el-dialog v-model="dialogVisible" title="增值服务" width="30%">
<!-- :before-close="handleClose"-->

Loading…
Cancel
Save