注释修改
This commit is contained in:
parent
89b1e82aab
commit
cc523a41b1
|
|
@ -239,7 +239,6 @@ function delData(data) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
layer.close(loadingMsg); // 关闭提示层
|
||||
if (result.code === 200) {
|
||||
layer.msg(result.msg, { icon: 1 })
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ function getCarCarDetails() {
|
|||
let url = dataUrl + 'backstage/carCar/getCarCarDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -181,7 +181,6 @@ function getSupDetails() {
|
|||
let url = dataUrl + 'backstage/sup/getSupDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
let objParam = JSON.parse(decodeURIComponent(getUrlParam('obj')));
|
||||
console.error(objParam);
|
||||
|
||||
let layer, element;
|
||||
layui.use(["layer", 'element'], function () {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ function getDriverDetails() {
|
|||
let url = dataUrl + 'backstage/carDriver/getDriverDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -163,7 +163,6 @@ function getSupDetails() {
|
|||
let url = dataUrl + 'backstage/sup/getSupDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -304,7 +304,6 @@ function getCarContractDetail() {
|
|||
let url = dataUrl + 'backstage/carContract/getCarContractDetail';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ let objParam, isGoOn = '0'; // 是否保存并继续
|
|||
let delOutId = []; // 删除的数据
|
||||
function setParams(obj) {
|
||||
objParam = JSON.parse(obj);
|
||||
console.error(objParam);
|
||||
let list = objParam.list;
|
||||
if (list.length > 0) {
|
||||
$.each(list, function (index, item) {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ function getDTreeData() {
|
|||
let url = dataUrl + 'backstage/carSup/getUserTreeList';
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.tree && result.data.tree.length > 0) {
|
||||
$.each(result.data.tree, function (index, item) {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ function getSupDetails() {
|
|||
let url = dataUrl + 'backstage/carSup/getCarSupDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ function getTypeDetails() {
|
|||
let url = dataUrl + 'backstage/carType/getCarTypeById';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -212,7 +212,6 @@ function delData(data) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
layer.close(loadingMsg); // 关闭提示层
|
||||
if (result.code === 200) {
|
||||
layer.msg(result.msg, { icon: 1 })
|
||||
|
|
|
|||
|
|
@ -295,7 +295,6 @@ function delData(data) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
layer.close(loadingMsg); // 关闭提示层
|
||||
if (result.code === 200) {
|
||||
layer.msg(result.msg, { icon: 1 })
|
||||
|
|
|
|||
|
|
@ -205,7 +205,6 @@ function delData(data) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
layer.close(loadingMsg); // 关闭提示层
|
||||
if (result.code === 200) {
|
||||
layer.msg(result.msg, { icon: 1 })
|
||||
|
|
|
|||
|
|
@ -166,7 +166,6 @@ function delFitType(id, $div, type) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
layer.close(loadingMsg); // 关闭提示层
|
||||
if (result.code === 200) {
|
||||
layer.msg(result.msg, { icon: 1 })
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ function initTable() {
|
|||
unresize: true,
|
||||
align: "center",
|
||||
templet: function (d) {
|
||||
return '<span style="color:#19BE6B"> ● 已派车</span>';
|
||||
return '<span style="color:#19BE6B"> ● </span>已派车';
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ function getSupList(type, supId) {
|
|||
let url = dataUrl + 'backstage/carSup/getContractSupList';
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setSelectData(result.data);
|
||||
}
|
||||
|
|
@ -63,7 +62,6 @@ function getPlanList() {
|
|||
let url = dataUrl + 'backstage/dispatchCar/getPlanList';
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
|
||||
if (result.code === 200) {
|
||||
setSelectData(result.data);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ function getNeedPlanDetails() {
|
|||
let url = dataUrl + 'backstage/carNeedPlan/getNeedPlanDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
|
||||
if (result.code === 200) {
|
||||
setPlanBasicTableInfo(result.data);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ function getPlanDetails() {
|
|||
let url = dataUrl + 'backstage/carNeedPlan/getNeedPlanInfo';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ let objParam, dataObj;
|
|||
let form, table, upload, tableIns, layer, element;
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer', 'element'], function () {
|
||||
|
|
@ -25,7 +24,6 @@ function getDispatchCarListData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -68,7 +66,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ function getPlanDetails() {
|
|||
let url = dataUrl + 'backstage/dispatchCar/getPlanDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
@ -131,7 +130,6 @@ function getSupList() {
|
|||
let url = dataUrl + 'backstage/carSup/getContractSupList';
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
|
||||
if (result.code === 200) {
|
||||
setSelectData(result.data);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
let checkNowValue = ''; // 当前选中的批次
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer', 'element'], function () {
|
||||
|
|
@ -45,7 +44,6 @@ function getAllOutList() {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && objParam.type === 1) {
|
||||
parent.layer.msg('暂无派车批次数据', { icon: 7 });
|
||||
|
|
@ -108,7 +106,6 @@ function getDispatchCarListData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -151,7 +148,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ let objData;
|
|||
let finalFormData = new FormData();
|
||||
function setParams(obj) {
|
||||
objParam = JSON.parse(obj);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);;
|
||||
$('#code').html(objParam.code);;
|
||||
layui.use(['form', 'layer', 'laydate', 'upload', 'table'], function () {
|
||||
|
|
@ -121,7 +120,6 @@ function getDispatchCarListData() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -164,7 +162,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setData(result.data);
|
||||
}
|
||||
|
|
@ -913,7 +910,6 @@ function getCarPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carCar/getCarCarDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
@ -958,7 +954,6 @@ function getDriverPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carDriver/getDriverDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ function getRecordList(id) {
|
|||
let url = dataUrl + 'backstage/dispatchCar/getRecordList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -73,7 +72,6 @@ function getRecordDetailsList(id) {
|
|||
let url = dataUrl + 'backstage/dispatchCar/getRecordDetailsList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ let checkNowValue = '';
|
|||
let checkType = '';
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer'], function () {
|
||||
|
|
@ -46,7 +45,6 @@ function getAllOutList() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getAllOutList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0) {
|
||||
parent.layer.msg('暂无派车批次数据', { icon: 7 });
|
||||
|
|
@ -100,7 +98,6 @@ function getUpdateList(outId) {
|
|||
let url = dataUrl + 'backstage/dispatchCar/getUpdateList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
getShipmentBatch(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#proName').html(objParam.proName);
|
||||
$('#bmname').html(objParam.bmname);
|
||||
layui.use(["form", "table", 'layer', 'element'], function () {
|
||||
|
|
@ -126,7 +125,7 @@ function initTable() {
|
|||
cols: [
|
||||
[
|
||||
{
|
||||
width: '6%',
|
||||
width: '5%',
|
||||
title: "序号",
|
||||
align: "center",
|
||||
templet: function (d) {
|
||||
|
|
@ -135,7 +134,7 @@ function initTable() {
|
|||
},
|
||||
{
|
||||
field: "typeName",
|
||||
width: '7%',
|
||||
width: '8%',
|
||||
title: "计划类型",
|
||||
unresize: true,
|
||||
align: "center",
|
||||
|
|
@ -144,7 +143,7 @@ function initTable() {
|
|||
{
|
||||
field: "code",
|
||||
width: '8.9%',
|
||||
title: "需求计划编号",
|
||||
title: "需求计划<br>编号",
|
||||
unresize: true,
|
||||
align: "center",
|
||||
sort:true,
|
||||
|
|
@ -190,7 +189,7 @@ function initTable() {
|
|||
{
|
||||
field: "statusName",
|
||||
title: "派车状态",
|
||||
width: '7%',
|
||||
width: '8%',
|
||||
unresize: true,
|
||||
align: "center",
|
||||
sort:true,
|
||||
|
|
@ -207,7 +206,7 @@ function initTable() {
|
|||
{
|
||||
field: "dispatchNum",
|
||||
width: '6%',
|
||||
title: "已派车数量",
|
||||
title: "已派车<br>数量",
|
||||
unresize: true,
|
||||
align: "center",
|
||||
sort:true,
|
||||
|
|
@ -218,7 +217,7 @@ function initTable() {
|
|||
{
|
||||
field: "noDispatchNum",
|
||||
width: '6%',
|
||||
title: "待派车数量",
|
||||
title: "待派车<br>数量",
|
||||
unresize: true,
|
||||
align: "center",
|
||||
sort:true,
|
||||
|
|
@ -228,7 +227,7 @@ function initTable() {
|
|||
},
|
||||
{
|
||||
field: "supName",
|
||||
title: "已指派供应商",
|
||||
title: "已指派<br>供应商",
|
||||
width: '8.5%',
|
||||
align: "center",
|
||||
unresize: true,
|
||||
|
|
@ -236,7 +235,7 @@ function initTable() {
|
|||
},
|
||||
{
|
||||
field: "dispatchDay",
|
||||
title: "最新派车日期",
|
||||
title: "最新派车<br>日期",
|
||||
width: '8.5%',
|
||||
align: "center",
|
||||
unresize: true,
|
||||
|
|
@ -251,7 +250,7 @@ function initTable() {
|
|||
},
|
||||
{
|
||||
title: "操作",
|
||||
width: '15%',
|
||||
width: '14%',
|
||||
align: "center",
|
||||
unresize: true,
|
||||
templet: function (d) {
|
||||
|
|
@ -351,7 +350,6 @@ function isExistData(type, obj) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && (type === 1 || type === 3)) {
|
||||
flag = false;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ if (isPage) { // 首页跳转
|
|||
}
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer', 'element'], function () {
|
||||
|
|
@ -49,7 +48,6 @@ function getAllOutList() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getAllOutList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0) {
|
||||
parent.layer.msg('暂无派车批次数据', { icon: 7 });
|
||||
|
|
@ -105,7 +103,6 @@ function getDispatchCarListData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -148,7 +145,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ let formNum = 1;
|
|||
let objData;
|
||||
function setParams(obj) {
|
||||
objParam = JSON.parse(obj);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);;
|
||||
$('#code').html(objParam.code);;
|
||||
layui.use(['form', 'layer', 'laydate', 'upload', 'table'], function () {
|
||||
|
|
@ -120,7 +119,6 @@ function getDispatchCarListData() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -163,7 +161,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setData(result.data);
|
||||
}
|
||||
|
|
@ -843,7 +840,6 @@ function getCarPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carCar/getCarCarDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
@ -888,7 +884,6 @@ function getDriverPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carDriver/getDriverDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1, tableIns; // 定义分页
|
|||
let formNum = 1;
|
||||
function setParams(obj) {
|
||||
objParam = JSON.parse(obj);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);;
|
||||
$('#code').html(objParam.code);;
|
||||
layui.use(['form', 'layer', 'laydate', 'upload', 'table'], function () {
|
||||
|
|
@ -122,7 +121,6 @@ function getDetailsList() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDetailsList';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0) {
|
||||
parent.layer.msg('暂无需要派车数据', { icon: 7 });
|
||||
|
|
@ -872,7 +870,6 @@ function getCarPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carCar/getCarCarDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
@ -917,7 +914,6 @@ function getDriverPhotoInfo(obj) {
|
|||
let url = dataUrl + 'backstage/carDriver/getDriverDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -144,7 +144,6 @@ function getPlanDetails() {
|
|||
let url = dataUrl + 'backstage/carNeedPlan/getNeedPlanDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setFormData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
if (objParam.type === 1) { // 车辆附件
|
||||
let dataList = [];
|
||||
let carImage = objParam.carImage.filter(item => { return item.type !== '6' });
|
||||
|
|
@ -83,7 +82,6 @@ function getPurchaseDetails() {
|
|||
let url = dataUrl + 'backstage/purchase/getPurchaseDetails';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setTableData(result.data);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -209,6 +209,9 @@ function initTable() {
|
|||
unresize: true,
|
||||
align: "center",
|
||||
sort:true,
|
||||
templet: function (d) {
|
||||
return d.lastDay ? d.lastDay:'';
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "progress",
|
||||
|
|
|
|||
|
|
@ -321,7 +321,6 @@ function isExistData(obj, type) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && type === 1) {
|
||||
flag = false;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
let checkNowValue = ''; // 当前选中的批次
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer', 'element'], function () {
|
||||
|
|
@ -35,7 +34,6 @@ function getAllOutList() {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getAllOutList'; // 默认详情所有批次
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && objParam.type === 1) {
|
||||
parent.layer.msg('暂无派车批次数据', { icon: 7 });
|
||||
|
|
@ -93,7 +91,6 @@ function getDispatchCarListData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarListData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setNeedPlanTable(result.data);
|
||||
} else {
|
||||
|
|
@ -136,7 +133,6 @@ function getDispatchCarData(id) {
|
|||
let url = dataUrl + 'backstage/supDispatchCar/getDispatchCarData';
|
||||
ajaxRequest(url, "POST", params, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#bmname').html(objParam.bmname);
|
||||
layui.use(["form", "table", 'layer', 'element'], function () {
|
||||
form = layui.form;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#bmname').html(objParam.bmname);
|
||||
$('#proName').html(objParam.proName);
|
||||
layui.use(["form", "table", 'layer', 'element'], function () {
|
||||
|
|
@ -260,7 +259,6 @@ function isExistData(obj, type) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && type === 1) {
|
||||
flag = false;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1; // 定义分页
|
|||
let objParam;
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
layui.use(["form", "table", 'laydate'], function () {
|
||||
form = layui.form;
|
||||
table = layui.table;
|
||||
|
|
|
|||
|
|
@ -214,7 +214,6 @@ function getPayCarDetails(id) {
|
|||
let url = dataUrl + 'backstage/carBalance/getPayCarDetails?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
|
||||
ajaxRequest(url, "GET", null, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ let form, table, upload, tableIns, layer, element;
|
|||
let pageNum = 1;
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.supName + '供应商付款记录');
|
||||
$('#code').html(objParam.code + setPayStatus());
|
||||
layui.use(["form", "table", 'upload', 'layer', 'element'], function () {
|
||||
|
|
@ -29,7 +28,6 @@ function getSltDetailsInfo() {
|
|||
let url = dataUrl + 'backstage/carBalance/getSltDetailsInfo?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
|
||||
ajaxRequest(url, "GET", null, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
dataObj = result.data;
|
||||
setTableData(result.data);
|
||||
|
|
@ -97,7 +95,6 @@ function getPayCarDetails() {
|
|||
let url = dataUrl + 'backstage/carBalance/getPayCarDetails?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
|
||||
ajaxRequest(url, "GET", null, true, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
setData(result.data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ let checkNowValue = '';
|
|||
let checkType = '';
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#titleName').html(objParam.proName);
|
||||
$('#code').html(objParam.code);
|
||||
layui.use(["form", "table", 'upload', 'layer'], function () {
|
||||
|
|
@ -49,7 +48,6 @@ function isExistData(obj, type) {
|
|||
}
|
||||
ajaxRequest(url, "POST", params, false, function () {
|
||||
}, function (result) {
|
||||
console.error(result);
|
||||
if (result.code === 200) {
|
||||
if (result.data.length === 0 && type === 1) {
|
||||
flag = false;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ let pageNum = 1;
|
|||
|
||||
function setParams(params) {
|
||||
objParam = JSON.parse(params);
|
||||
console.error(objParam);
|
||||
$('#proName').html(objParam.proName);
|
||||
$('#bmname').html(objParam.companyName);
|
||||
layui.use(["form", "table", 'layer', 'element'], function () {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
<div class="layui-inline">
|
||||
<div class="layui-input-inline">
|
||||
<select id="status">
|
||||
<option value="">请选择状态</option>
|
||||
<option value="">请选择派车状态</option>
|
||||
<option value="0">待派车</option>
|
||||
<option value="1">已派车</option>
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
<div class="layui-inline">
|
||||
<div class="layui-input-inline">
|
||||
<select id="planStatus">
|
||||
<option value="">请选择状态</option>
|
||||
<option value="">请选择计划状态</option>
|
||||
<option value="0">待派车</option>
|
||||
<option value="1">部分派车</option>
|
||||
<option value="2">全部派车</option>
|
||||
|
|
|
|||
Loading…
Reference in New Issue