Commit 537efe67 authored by 张子雨's avatar 张子雨

feat: 联调完成

parent f6a3c017
......@@ -71,7 +71,7 @@ export default () => {
};
const openLogistics = r => {
confirm({
content: '请在48小时内完成物流包裹l拦截,确认是否需要进行物流拦截?',
content: '请在48小时内完成物流包裹拦截,确认是否需要进行物流拦截?',
async onOk() {
const data = await logisticsIntercept({ serviceNo: r.serviceNo });
if (data.businessCode === '0000') {
......@@ -87,14 +87,14 @@ export default () => {
};
const renderContent = (record, index, action) => {
if (!time[record.serviceNo]) {
const serviceTime = moment(record.overtime).valueOf();
const serviceTime = moment(record.approvalEndTime).valueOf();
const nowTime = moment(record.nowTime).valueOf();
let timeNumber = (serviceTime - nowTime) / 1000;
time[record.serviceNo] = setInterval(() => {
if (timeNumber > 0) {
timeNumber -= 1;
// eslint-disable-next-line radix
const hours = parseInt((timeNumber / 3600) % 24)
const hours = parseInt(timeNumber / 3600)
.toString()
.padStart(2, '0');
// eslint-disable-next-line radix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment