Index: ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js (revision 0)
+++ ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/washingApplication.js (revision 24415)
@@ -0,0 +1,809 @@
+var ajaxIP = "http://localhost:8088";
+
+$(function(){
+
+ var time="2018-08-05 12:30";
+ //
+ var alltablefirst = $(window).height() - 60;
+
+ var jindu = "aasdas";
+ var caozuo = "adsf";
+
+ // 主表
+
+ var mainTableData =new Array();
+ var columnArray = [
+ {
+ checkbox:true,
+ visible:true
+ },
+ {
+ title : '流水号',
+ field : 'serialNumber',
+ align : 'center',
+ sortable: true,
+ formatter: function (value,row,index){
+ return ''+row.serialNumber+'';
+ },
+ },
+ {
+ title : '操作员',
+ field : 'operator',
+ align : 'center'
+ },
+ {
+ title : '清洗机名称',
+ field : 'disinfectIdentification',
+ align : 'center'
+ },
+ {
+ title : '清洗程序',
+ field : 'disinfectProgram',
+ align : 'center'
+ },
+ {
+ title : '清洗状态',
+ field : 'washStatus',
+ align : 'center',
+ formatter: function (value,row,index){
+ if(row.washStatus=="清洗完成")
+ {
+ var ws = "
100% Complete";
+ ws += row.washStatus;
+ ws += "
";
+ return ws;
+ }
+ if(row.washStatus=="清洗中")
+ {
+ var ws = "50% Complete";
+ ws += row.washStatus;
+ ws += "
";
+ return ws;
+ }
+ if(row.washStatus=="清洗失败")
+ {
+ var ws = "100% Complete";
+ ws += row.washStatus;
+ ws += "
";
+ return ws;
+ }
+
+ },
+ },
+ {
+ title : '开始时间',
+ field : 'startDateStr',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '结束时间',
+ field : 'endDateStr',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '操作',
+ field : 'cycleCounter',
+ align : 'center',
+ //onclick="ClickName('+row.id+')"
+ formatter: function(value,row,index)
+ {
+ //return "";
+ return "";
+ },
+ },
+ {
+ title : '清洗参数',
+ field : 'washDataAmount',
+ align : 'center'
+ },
+ {
+ title : '清洗总数',
+ field : 'washMaterialAmount',
+ align : 'center',
+ sortable: true
+ },
+ ];
+
+ var InitTable =function(url){
+ //先销毁表格
+ $('#allApplication_table').bootstrapTable("destroy");
+ //添加表格
+ $('#allApplication_table').bootstrapTable({
+ url:url,
+ method:'post',//请求方式
+ //data: newData,
+ height: alltablefirst,
+ search: true,//是否搜索
+ pagination: true,//是否分页
+ //pageSize: 20,//单页记录数
+ pageList: [5, 10, 20, 50],//分页步进值
+ sidePagination: "server",//服务端分页
+ contentType: "application/x-www-form-urlencoded",//请求数据内容格式 默认是 application/json 自己根据格式自行服务端处理
+ dataType: "json",//期待返回数据类型
+ queryParamsType: "limit",//查询参数组织方式
+ onColumnSwitch:onColumnSwitch,
+ queryParams :queryParams,
+ searchOnEnterKey: "true",//回车搜索
+ showRefresh: "true",//刷新按钮
+ showColumns: true,//列选择按钮
+ minimumCountColumns: 2, //最少允许的列数
+ clickToSelect: true, //是否启用点击选中行
+ uniqueId: "ID", //每一行的唯一标识,一般为主键列
+ cardView: false, //是否显示详细视图
+ detailView: false, //是否显示父子表
+ showExport: true,
+ exportDataType: "selected", //导出checkbox选中的行数
+ paginationLoop: false, //是否无限循环
+ columns: columnArray,
+
+ });
+ return InitTable;
+ }
+ //jq过滤事件
+ var addArray= new Array();
+ var array=[];
+ for (var i = 0; i < columnArray.length; i++) {
+
+ // array.push(columnArray[i]["field"])
+
+ if(!columnArray[i].field)
+ {
+ console.log("no create field:"+columnArray[i].field);
+ // columnArray[i].field="novar";
+ // columnArray[i]["field"]="novar";
+ }
+ if(columnArray[i].field==null)
+ {
+ console.log("null field:"+columnArray[i].field);
+ // columnArray[i].field="noval";
+ // columnArray[i]["field"]="noval";
+ }
+ else
+ {
+ array.push(columnArray[i].field);
+ console.log("create"+i+":"+columnArray[i].field);
+ }
+ }
+ console.log(columnArray);
+ $('#hiddens').val(JSON.stringify(array));
+ //搜索部分
+ function onColumnSwitch(field,checked){
+ var str ={'Name':field,'states':checked}
+ addArray.push(str);
+ Array.prototype.indexOf = function(val) {
+ for (var i = 0; i < this.length; i++) {
+ if (this[i] == val) return i;
+ }
+ return -1;
+ };
+ Array.prototype.remove = function(val) {
+ var index = this.indexOf(val);
+ if (index > -1) {
+ this.splice(index, 1);
+ }
+ };
+
+ for(var i=0;i'
+ });
+
+ }
+ //
+ $("#addCleanUpdate-top-tools").bootstrapTable({
+
+ striped: true, //是否显示行间隔色
+ cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
+ pagination: false, //是否显示分页(*)
+ sortable: false, //是否启用排序
+ sortOrder: "asc", //排序方式
+ //toolbar: none,
+ // queryParams: oTableInit.queryParams,//传递参数(*)
+ sidePagination: "client", //分页方式:client客户端分页,server服务端分页(*)
+ pageNumber:1, //初始化加载第一页,默认第一页
+ pageSize: 15, //每页的记录行数(*)
+ pageList: [10, 25, 50, 100], //可供选择的每页的行数(*)
+ search: false, //是否显示表格搜索,此搜索是客户端搜索,不会进服务端,所以,个人感觉意义不大
+ strictSearch: true,
+ /* showColumns: true, */ //是否显示所有的列
+ showRefresh: false, //是否显示刷新按钮
+ minimumCountColumns: 2, //最少允许的列数
+ clickToSelect: true, //是否启用点击选中行
+ // height: 240, //行高,如果没有设置height属性,表格自动根据记录条数觉得表格高度
+ uniqueId: "id", //每一行的唯一标识,一般为主键列
+ // showToggle:true, //是否显示详细视图和列表视图的切换按钮
+ cardView: false, //是否显示详细视图
+ detailView: false, //是否显示父子表
+ removeByUniqueId:1,
+ columns: cleanInstrumentTableHeaderColumns,
+ data: cleanInstrumentTableData,
+
+
+ });
+ }
+ cleanInstrument();
+ //清洗器械end
+
+ //器械报损明细
+ var instrumentDamageReportTableData =new Array();
+ var instrumentDamageReportTableHeaderColumns = [
+ {
+ title : '包名称',
+ field : 'packageName',
+ align : 'center',
+
+ },
+ {
+ title : '材料名称',
+ field : 'materialName',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '损坏数量',
+ field : 'badCount',
+ align : 'center',
+ },
+ {
+ title : '补充人',
+ field : 'supplementMan',
+ align : 'center',
+ },
+ {
+ title : '补充数量',
+ field : 'supplementCount',
+ align : 'center',
+ },
+ {
+ title : '补充时间',
+ field : 'supplementTime',
+ align : 'center',
+ },{
+ title : '删除',
+ field : 'deleteHadle',
+ align : 'center',
+ }
+
+ ];
+ for(var i=0; i<=100;i++)
+ {
+ instrumentDamageReportTableData.push({
+ packageName:'器械包',
+ materialName:'手术刀',
+ badCount:20,
+ supplementMan:'李秀',
+ supplementCount:20,
+ supplementTime:time,
+ deleteHadle:''
+ });
+
+ }
+
+ //
+ $("#addBad-bottom-handle-table").bootstrapTable({
+
+ striped: true, //是否显示行间隔色
+ cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
+ pagination: false, //是否显示分页(*)
+ sortable: false, //是否启用排序
+ sortOrder: "asc", //排序方式
+ //toolbar: none,
+ // queryParams: oTableInit.queryParams,//传递参数(*)
+ sidePagination: "client", //分页方式:client客户端分页,server服务端分页(*)
+ pageNumber:1, //初始化加载第一页,默认第一页
+ pageSize: 15, //每页的记录行数(*)
+ pageList: [10, 25, 50, 100], //可供选择的每页的行数(*)
+ search: false, //是否显示表格搜索,此搜索是客户端搜索,不会进服务端,所以,个人感觉意义不大
+ strictSearch: true,
+ /* showColumns: true, */ //是否显示所有的列
+ showRefresh: false, //是否显示刷新按钮
+ minimumCountColumns: 2, //最少允许的列数
+ clickToSelect: true, //是否启用点击选中行
+ height: 185, //行高,如果没有设置height属性,表格自动根据记录条数觉得表格高度
+ uniqueId: "id", //每一行的唯一标识,一般为主键列
+ // showToggle:true, //是否显示详细视图和列表视图的切换按钮
+ cardView: false, //是否显示详细视图
+ detailView: false, //是否显示父子表
+ removeByUniqueId:1,
+ columns: instrumentDamageReportTableHeaderColumns,
+ data: instrumentDamageReportTableData,
+ });
+ //器械报损明细 end
+
+
+ //添加待清洗篮筐
+//ccc end
+ function addCleanBaskets(furl,tableId)
+ {
+
+ var oTableInit = new Object();
+ var oInit = new Object();
+ $(tableId).bootstrapTable({
+ detailView: true, //父子表
+ striped: true, //是否显示行间隔色
+ // pagination: true, //是否显示分页(*)
+ sortOrder: "asc", //排序方式
+ pageNumber: 1, //初始化加载第一页,默认第一页
+ height: 200,
+ url: furl, //请求数据的地址URL
+ // method: 'get', //请求方式(*)
+// responseHandler: function(res){
+// return res.attributes.data;
+// },
+ columns: [
+ {
+ title : '名称',
+ field : 'name',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '数量',
+ field : 'count',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '条形码',
+ field : 'code',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '操作',
+ field : 'handle',
+ align : 'center',
+
+ },
+ {
+ title : '责任人',
+ field : 'dutyMan',
+ align : 'center',
+
+ },
+ {
+ title : '回收科室',
+ field : 'recoveryRoom',
+ align : 'center',
+
+ },
+ {
+ title : '回收时间',
+ field : 'recoveryTime',
+ align : 'center',
+
+ }
+ ],
+ onExpandRow: function(index, row, $detail) {
+ oTableInit.InitSubTable(index, row, $detail)
+ }
+
+ });
+ oTableInit.InitSubTable=function (index,row,$detail){
+ console.log(index)
+ var cur_table = $detail.html('').find('table');
+ console.log(row.children);
+ var html = "";
+ console.log("index:"+index+";row:"+row+";$detail:"+$detail+";");
+ html += "";
+ $.ajax({
+ url:furl,
+ type:'get',
+ async: false, //很重要,这里要使用同步请求
+ success:function(data){
+ var childTable = data.data[index].children;
+ console.log(childTable);
+ for(var i=0; i"+childTable[i].name+" | ";
+ html += ""+childTable[i].count+" | ";
+ html += ""+childTable[i].code+" | ";
+ html += ""+childTable[i].handle+" | ";
+ html += ""+childTable[i].dutyMan+" | ";
+ html += ""+childTable[i].recoveryRoom+" | ";
+ html += ""+childTable[i].recoveryTime+" | ";
+ html += "";
+ }
+ html += "
"
+ cur_table.html(html);
+ }
+ })
+
+
+ }
+ }
+// ccc end
+//添加 的 待清洗篮筐和清洗篮筐
+ addCleanBaskets(ajaxIP+"/WashingApplication/php/readyBasket.php?readyBasks",
+ "#readyBaskets"
+ );
+ addCleanBaskets(ajaxIP+"/WashingApplication/php/readyBasket.php?addCleanBasket",
+ "#Baskets"
+ );
+//修改 的 待清洗篮筐和清洗篮筐
+ addCleanBaskets(ajaxIP+"/WashingApplication/php/readyBasket.php?readyBasks",
+ "#UpdateReadyBaskets"
+ );
+ addCleanBaskets(ajaxIP+"/WashingApplication/php/readyBasket.php?addCleanBasket",
+ "#UpdateCleanBaskets"
+ );
+
+ //添加待清洗篮筐子表 end
+ //修改——清洗器械
+ function UpdateInstrument()
+ {
+ var UpdateInstrumentTableData =new Array();
+ var UpdateInstrumentTableHeaderColumns = [
+ {
+ title : '名称',
+ field : 'instrumentName',
+ align : 'center',
+
+ },
+ {
+ title : '数量',
+ field : 'count',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '操作',
+ field : 'handle',
+ align : 'center',
+
+ }
+
+ ];
+ for(var i=0; i<=100;i++)
+ {
+ UpdateInstrumentTableData.push({
+ instrumentName:'手术刀',
+ count:20,
+ handle:''
+ });
+
+ }
+ //
+ $("#UpdateClean-top-tools").bootstrapTable({
+
+ striped: true, //是否显示行间隔色
+ cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
+ pagination: false, //是否显示分页(*)
+ sortable: false, //是否启用排序
+ sortOrder: "asc", //排序方式
+ //toolbar: none,
+ // queryParams: oTableInit.queryParams,//传递参数(*)
+ sidePagination: "client", //分页方式:client客户端分页,server服务端分页(*)
+ pageNumber:1, //初始化加载第一页,默认第一页
+ pageSize: 15, //每页的记录行数(*)
+ pageList: [10, 25, 50, 100], //可供选择的每页的行数(*)
+ search: false, //是否显示表格搜索,此搜索是客户端搜索,不会进服务端,所以,个人感觉意义不大
+ strictSearch: true,
+ /* showColumns: true, */ //是否显示所有的列
+ showRefresh: false, //是否显示刷新按钮
+ minimumCountColumns: 2, //最少允许的列数
+ clickToSelect: true, //是否启用点击选中行
+ // height: 350, //行高,如果没有设置height属性,表格自动根据记录条数觉得表格高度
+ uniqueId: "id", //每一行的唯一标识,一般为主键列
+ // showToggle:true, //是否显示详细视图和列表视图的切换按钮
+ cardView: false, //是否显示详细视图
+ detailView: false, //是否显示父子表
+ removeByUniqueId:1,
+ columns: UpdateInstrumentTableHeaderColumns,
+ data: UpdateInstrumentTableData,
+
+
+ });
+ }
+ UpdateInstrument();
+ //修改——清洗器械 end
+ //添加——清洗篮筐
+ function addBaskets(){
+ var BasketsTableData =new Array();
+ var BasketsTableHeaderColumns = [
+
+ {
+ title : '名称',
+ field : 'name',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '数量',
+ field : 'count',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '条形码',
+ field : 'code',
+ align : 'center',
+ sortable: true
+ },
+ {
+ title : '操作',
+ field : 'handle',
+ align : 'center',
+
+ },
+ {
+ title : '责任人',
+ field : 'dutyMan',
+ align : 'center',
+
+ },
+ {
+ title : '回收科室',
+ field : 'recoveryRoom',
+ align : 'center',
+
+ },
+ {
+ title : '回收时间',
+ field : 'recoveryTime',
+ align : 'center',
+
+ }
+
+ ];
+
+ $("#Baskets").bootstrapTable({
+ url: ajaxIP+"/WashingApplication/php/readyBasket.php?addCleanBasket=10",
+ method: "get",
+ striped: true, //是否显示行间隔色
+ cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
+ pagination: false, //是否显示分页(*)
+ sortable: false, //是否启用排序
+ sortOrder: "asc", //排序方式
+ //toolbar: none,
+ // queryParams: oTableInit.queryParams,//传递参数(*)
+ sidePagination: "client", //分页方式:client客户端分页,server服务端分页(*)
+ pageNumber:1, //初始化加载第一页,默认第一页
+ pageSize: 15, //每页的记录行数(*)
+ pageList: [10, 25, 50, 100], //可供选择的每页的行数(*)
+ search: false, //是否显示表格搜索,此搜索是客户端搜索,不会进服务端,所以,个人感觉意义不大
+ strictSearch: true,
+ /* showColumns: true, */ //是否显示所有的列
+ showRefresh: false, //是否显示刷新按钮
+ minimumCountColumns: 2, //最少允许的列数
+ clickToSelect: true, //是否启用点击选中行
+ // height: 185, //行高,如果没有设置height属性,表格自动根据记录条数觉得表格高度
+ uniqueId: "id", //每一行的唯一标识,一般为主键列
+ // showToggle:true, //是否显示详细视图和列表视图的切换按钮
+ cardView: false, //是否显示详细视图
+ detailView: true, //是否显示父子表
+ removeByUniqueId:1,
+ columns: BasketsTableHeaderColumns,
+ });
+ }
+ addBaskets();
+ //添加清洗篮筐
+ //修改——— 待清洗篮筐
+
+ //修改—— 待清洗篮筐 end
+
+ //修改——清洗篮筐
+
+ //修改——清洗篮筐 end
+
+
+
+ $(window).resize(function () {
+ $("#allApplication_table").bootstrapTable('resetView', {
+ height: $(window).height() - 60
+ });
+ });
+
+ $(window).resize(function () {
+ $("#addCleanUpdate-top-tools").bootstrapTable('resetView');
+
+ });
+
+
+ //addReadyBaskets();
+ //addBaskets();
+
+
+
+});
+
+
+
+function zairu($zid){
+ $.ajax({
+
+ url: ajaxIP+"/WashingApplication/php/readyBasket.php?zairuBasketId="+$zid,
+ type:'get',
+ success: function(){
+
+ console.log('载入成功');
+ }
+ });
+ $("#readyBaskets").bootstrapTable("refresh");
+ $("#Baskets").bootstrapTable("refresh");
+ console.log('写入成功');
+
+}
+
+function shanchu($sid)
+{
+ $.ajax({
+ url: ajaxIP+"/WashingApplication/php/readyBasket.php?qingchuzairu="+$sid,
+ type:'get',
+ success: function(){
+
+ console.log('清除载入成功');
+ }
+ });
+ //addReadyBaskets();
+ //addBaskets();
+ //,{url: ajaxIP+"/WashingApplication/php/readyBasket.php?zairuBasketId=10"}
+ //,{url: ajaxIP+"/WashingApplication/php/readyBasket.php?qingchuzairu=10"}
+ $("#readyBaskets").bootstrapTable("refresh");
+ $("#Baskets").bootstrapTable("refresh");
+
+ console.log('写入成功');
+}
+
+function addInstrumentPackage()
+{
+ $(".addCheck-kitinfo").append($(".addCheck-kitinfo-handle").clone().attr("id","aIP"));
+}
+
+function addInstrument()
+{
+
+ $(".addCheck-kitinfo").append($(".addCheck-kitinfo-instrument").clone().attr("id","aI"));
+}
+///
+$(document).ready(function(){
+ $(".mainTable .fixed-table-toolbar").append($(".mainNav-shop"));
+});
\ No newline at end of file
Index: ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/inputPrint.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/inputPrint.js (revision 0)
+++ ssts-web/src/main/webapp/dx-disinfectsystem/js/washingApplication/inputPrint.js (revision 24415)
@@ -0,0 +1,191 @@
+$(function(){
+ // 添加清洗扫码
+ var ajaxIP = "http://localhost:8088";
+ function warnTips(title,info)
+ {
+ $(".errorTips-title").text(title);
+ $(".errorTips-info").text(info);
+ var eTC = $("#errorTips").clone();
+ $('.alert-warning').removeClass('hide').addClass('in');
+ $(".close").click(function(){
+ $(".alert").alert('close');
+ $(".main").append(eTC);
+ });
+ }
+
+ $('#addCleanGetCode1').bind('keyup', function(event) {
+
+ if (event.keyCode == "13") {
+ //回车执行查询
+ console.log($('#addCleanGetCode1').val());
+ var ruid = $('#addCleanGetCode1').val();
+ $.ajax({
+ //url: ajaxIP+"/WashingApplication/php/readyBasket.php?ruId="+ruid,
+ //条形码的参数barcode
+ url:"/disinfectSystem/baseData/barcode/barcodeController/getBarcodeTypeByBarcode.mhtml?ruid="+ruid,
+ type:"get",
+ dataType:"json",
+ contentType:"application/json",
+ success: function(data){
+ if(data.returnType=="container")
+ {
+//判断篮筐是不是本科室的
+ if(data.isCurUserDepart==true){
+ console.log("条码对应的篮筐的所属科室,和当前登录科室是同一个");
+//判断篮筐类型
+ //清洗筐
+ if(data.containerType=="清洗筐")
+ {
+//清洗状态
+ if(data.status=="装配完成")
+ {
+ console.log("篮筐装配完成,可入炉");
+ $("#readyBaskets").bootstrapTable("refresh");
+ $("#Baskets").bootstrapTable("refresh");
+ }
+ else if(data.status=="清洗完成"){
+ warnTips("警告:","清洗完成,不可用");
+ console.log("清洗完成不可用");
+ }
+ else{
+ warnTips("警告:",data.message);
+ }
+ }
+ else
+ {
+ warnTips("警告:",data.message);
+ }
+ }
+ else{
+ warnTips("警告:",data.message);
+ }
+ }
+ // console.log("扫码返回类型:"+data.returnType);
+ },
+ error: function(){
+ console.log("data:wrong");
+ }
+ });
+
+
+ }
+ });
+ //清洗器械
+ $("#addInstrument").click(function(){
+ var aN = $("#addInstrumentName").val();
+ var aC = $("#addInstrumentCount").val();
+ console.log("ru:"+aN+";"+aC);
+
+ });
+ //修改
+ $("#updateHandle").click(function(){
+ var a= $("#allApplication_table").bootstrapTable('getSelections');
+ if(a.length!=1){
+ warnTips("警告:","修改信息请不要乱选");
+ }
+ else{
+ $("#updateModal").modal('show');
+ }
+ });
+ //清洗完成
+ $("#finishHandle").click(function(){
+ var a= $("#allApplication_table").bootstrapTable('getSelections');
+ if(a.length<=0){
+ warnTips("警告","至少选择一条");
+ }
+ else{
+ $("#cleanFinishModal").modal('show');
+
+// console.log(a);
+//
+// var b=JSON.stringify( a );
+// $.ajax({
+// url: "json/checkbox.json",
+// dataType: "json",
+// type: "post",
+// data: {"dataList":b},
+// success: function(data){
+// console.log("checkresok");
+// $("#allApplication_table").bootstrapTable("refresh");
+// },
+// error: function(){
+// console.log("error")
+// }
+// });
+
+ }
+ });
+ //清洗失败
+ $("#failedHandle").click(function(){
+ var a= $("#allApplication_table").bootstrapTable('getSelections');
+ if(a.length<=0){
+ warnTips("警告","至少选择一条");
+ }
+ else{
+ $("#cleanFalseModal").modal('show');
+ }
+
+ });
+ //删除
+ $("#deleteHandle").click(function(){
+ var a= $("#allApplication_table").bootstrapTable('getSelections');
+ if(a.length<=0){
+ warnTips("警告:","至少选择一条");
+ }
+ else{
+ $("#deleteModal").modal('show');
+ }
+
+ });
+})
+
+//
+// var oneReq = [];
+// var dataList=[];
+// var ddt=[];
+// $.ajax({
+// type:"get",
+// url:"http://rap2api.taobao.org/app/mock/85153/disinfectSystem/baseData/materialDefinitionController/getMaterialDefinitionDataForDamage.mhtml",
+// dataType:"json",
+// contentType:"application/json",
+// success:function(data){
+// oneReq = data._root_;
+// console.log("id:"+oneReq[0].id);
+// console.log("Name:"+oneReq[0].displayName);
+// dataList=[{id: 0, text: oneReq[0].displayName}];
+// $("#cleanMachineName1").select2({
+// data: dataList,
+// placeholder:'请选择',//默认文字提示
+// language: "zh-CN",//汉化
+// allowClear: true//允许清空
+// });
+//
+// },
+// error:function(data){
+//
+// }
+// });
+// console.log("waidata:"+oneReq);
+
+
+
+// $.ajax({
+// url: ajaxIP+"/WashingApplication/php/readyBasket.php?ruId="+$('#addCleanGetCode1').val(),
+// type:'get',
+// dataType: "json",
+// //data:data,
+// success: function(){
+// console.log("ja:"+$('#addCleanGetCode1').val());
+// $("#readyBaskets").bootstrapTable("refresh");
+// $("#Baskets").bootstrapTable("refresh");
+// // console.log("data:"+data);
+// }
+// });
+
+
+
+
+
+
+
+