Browse Source

修复部分bug

dev-xx
qb 7 months ago
parent
commit
ab8a8694bb
  1. 8
      src/views/distribution/artery/VehicleArrivalManagement.vue
  2. 2
      src/views/distribution/inventory/BookingNote.vue
  3. 2
      src/views/distribution/inventory/CreateOrder.vue
  4. 2
      src/views/waybill/CreateZeroOrder.vue
  5. 2
      src/views/waybill/WaybillOrderList.vue

8
src/views/distribution/artery/VehicleArrivalManagement.vue

@ -1343,11 +1343,15 @@ const handleUnloadByLoadId = (type: 1 | 2) => {
if (details.selectionList.length === 0) return ElMessage.warning('请选择需要卸车的数据');
if (details.selectionList.length > 1) return ElMessage.warning('只支持单条数据操作');
ElMessageBox.confirm('确认卸车吗?', '', {
ElMessageBox.confirm(
'请确认卸车数据是否完成,未卸车数据将进入异常列表。',
type === 1 ? '中途卸车确认' : '终点卸车确认',
{
confirmButtonText: '确认',
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
}
).then(async () => {
try {
details.loadingObj.pageLoading = true;

2
src/views/distribution/inventory/BookingNote.vue

@ -1844,7 +1844,7 @@ const handlePrint = async () => {
template = template.replace('第n页', `${i + 1}`);
template = template.replace('共n页', `${element.length}`);
template = template.replaceAll('0.00', ``);
// template = template.replaceAll('0.00', ``);
_html += JSON.parse(JSON.stringify(template));
}

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

@ -3674,7 +3674,7 @@ const handlePrint = async () => {
template = template.replace('第n页', `${i + 1}`);
template = template.replace('共n页', `${element.length}`);
template = template.replaceAll('0.00', ``);
// template = template.replaceAll('0.00', ``);
_html += JSON.parse(JSON.stringify(template));
}

2
src/views/waybill/CreateZeroOrder.vue

@ -3192,7 +3192,7 @@ const handlePrint = async () => {
template = template.replace('第n页', `${i + 1}`);
template = template.replace('共n页', `${element.length}`);
template = template.replaceAll('0.00', ``);
// template = template.replaceAll('0.00', ``);
_html += JSON.parse(JSON.stringify(template));
}

2
src/views/waybill/WaybillOrderList.vue

@ -659,7 +659,7 @@ const batchPrint = async () => {
template = template.replace('第n页', `${i + 1}`);
template = template.replace('共n页', `${element.length}`);
template = template.replaceAll('0.00', ``);
// template = template.replaceAll('0.00', ``);
_html += JSON.parse(JSON.stringify(template));
}

Loading…
Cancel
Save