删除接口-进货-出货

master
erzhongxmu 2023-05-04 15:35:34 +08:00
parent cfdb53898d
commit f8b05b6840
4 changed files with 0 additions and 135 deletions

View File

@ -60,17 +60,12 @@
<t:dgToolBar title="编辑" icon="icon-edit" url="mdSupController.do?goUpdate" funname="update"></t:dgToolBar> <t:dgToolBar title="编辑" icon="icon-edit" url="mdSupController.do?goUpdate" funname="update"></t:dgToolBar>
<t:dgToolBar title="批量删除" icon="icon-remove" url="mdSupController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> <t:dgToolBar title="批量删除" icon="icon-remove" url="mdSupController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
<t:dgToolBar title="查看" icon="icon-search" url="mdSupController.do?goUpdate" funname="detail"></t:dgToolBar> <t:dgToolBar title="查看" icon="icon-search" url="mdSupController.do?goUpdate" funname="detail"></t:dgToolBar>
<t:dgToolBar operationCode="uasimpcus" title="第三方系统导入" icon="icon-put" funname="otherimp"></t:dgToolBar>
<t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar> <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>
</t:datagrid> </t:datagrid>
<div name="searchColums1" style="float: left; padding-left: 0px;padding-top: 5px;">
<%--<input type="text" name="batchbin" style="width: 100px; height: 30px;">--%>
日期:<input type="text" name="batchdate" class="form-control" onClick="WdatePicker()" style="width: 100px; height: 30px;">
</div>
</div> </div>
</div> </div>
<script src = "webpage/com/zzjee/md/mdSupList.js"></script> <script src = "webpage/com/zzjee/md/mdSupList.js"></script>
@ -79,31 +74,6 @@
}); });
function otherimp() {
var batchdate;
batchdate = $('input[name="batchdate"]').attr("value");
if(batchdate==""){
alert("日期不能为空");
}else{
var url = "mdSupController.do?doGet&formDate="+batchdate;
$.ajax({
async : false,
cache : false,
type : 'POST',
url : url,// 请求的action路径
error : function() {// 请求失败处理函数
},
success : function(data) {
var d = $.parseJSON(data);
if (d.success) {
}
}
});
tip("获取成功");
$('#mdSupList').datagrid('reload',{});
}
}
//导入 //导入
function ImportXls() { function ImportXls() {
openwindow('Excel导入', 'mdSupController.do?upload', "mdSupList"); openwindow('Excel导入', 'mdSupController.do?upload', "mdSupList");

View File

@ -60,7 +60,6 @@
<%-- <t:dgToolBar title="审核" icon="icon-edit" url="mdSupController.do?goUpdate" funname="update"></t:dgToolBar>--%> <%-- <t:dgToolBar title="审核" icon="icon-edit" url="mdSupController.do?goUpdate" funname="update"></t:dgToolBar>--%>
<%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdSupController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%> <%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdSupController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%>
<%-- <t:dgToolBar title="查看" icon="icon-search" url="mdSupController.do?goUpdate" funname="detail"></t:dgToolBar>--%> <%-- <t:dgToolBar title="查看" icon="icon-search" url="mdSupController.do?goUpdate" funname="detail"></t:dgToolBar>--%>
<%-- <t:dgToolBar operationCode="uasimpcus" title="第三方系统导入" icon="icon-put" funname="otherimp"></t:dgToolBar>--%>
<%-- <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>--%> <%-- <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>--%>
<%-- <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>--%> <%-- <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>--%>
@ -78,32 +77,6 @@
$(document).ready(function(){ $(document).ready(function(){
}); });
function otherimp() {
var batchdate;
batchdate = $('input[name="batchdate"]').attr("value");
if(batchdate==""){
alert("日期不能为空");
}else{
var url = "mdSupController.do?doGet&formDate="+batchdate;
$.ajax({
async : false,
cache : false,
type : 'POST',
url : url,// 请求的action路径
error : function() {// 请求失败处理函数
},
success : function(data) {
var d = $.parseJSON(data);
if (d.success) {
}
}
});
tip("获取成功");
$('#mdSupList').datagrid('reload',{});
}
}
//导入 //导入
function ImportXls() { function ImportXls() {
openwindow('Excel导入', 'mdSupController.do?upload', "mdSupList"); openwindow('Excel导入', 'mdSupController.do?upload', "mdSupList");

View File

@ -55,17 +55,12 @@
<%-- <t:upload name="intruction" dialog="false" queueID="instructionfile" view="true" auto="true"--%> <%-- <t:upload name="intruction" dialog="false" queueID="instructionfile" view="true" auto="true"--%>
<%-- uploader="wmImNoticeHController.do?upload" id="instruction"--%> <%-- uploader="wmImNoticeHController.do?upload" id="instruction"--%>
<%-- extend="pic[*.jpg;*,jpeg;*.png;*.gif;*.bmp;*.ico;*.tif],office[*.doc;*.docx;*.txt;*.ppt;*.xls;*.xlsx;*.html;*.htm]" formData=""></t:upload>--%> <%-- extend="pic[*.jpg;*,jpeg;*.png;*.gif;*.bmp;*.ico;*.tif],office[*.doc;*.docx;*.txt;*.ppt;*.xls;*.xlsx;*.html;*.htm]" formData=""></t:upload>--%>
<t:dgToolBar operationCode="uasimpimn" title="第三方系统导入" icon="icon-put" funname="documentTitle"></t:dgToolBar>
<%--<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>--%> <%--<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>--%>
<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>
</t:datagrid> </t:datagrid>
<div name="searchColums1" style="float: left; padding-left: 0px;padding-top: 5px;">
<%--<input type="text" name="batchbin" style="width: 100px; height: 30px;">--%>
日期:<input type="text" name="batchdate" class="form-control" onClick="WdatePicker()" style="width: 100px; height: 30px;">
</div>
</div> </div>
</div> </div>
@ -77,31 +72,7 @@
}); });
//导入 //导入
function otherimp() {
var batchdate;
batchdate = $('input[name="batchdate"]').attr("value");
if(batchdate==""){
alert("日期不能为空");
}else{
var url = "wmImNoticeHController.do?doGet&formDate="+batchdate;
$.ajax({
async : true,
cache : false,
type : 'POST',
url : url,// 请求的action路径
error : function() {// 请求失败处理函数
},
success : function(data) {
var d = $.parseJSON(data);
if (d.success) {
}
}
});
tip("获取成功");
$('#wmImNoticeHList').datagrid('reload',{});
}
}
function doprint(id){ function doprint(id){
var url = "wmImNoticeHController.do?doPrintpage&id="+id; var url = "wmImNoticeHController.do?doPrintpage&id="+id;
createdetailwindow(" 进货通知单", url, 1200, 1000); createdetailwindow(" 进货通知单", url, 1200, 1000);

View File

@ -53,7 +53,6 @@
<%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="wmOmNoticeHController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%> <%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="wmOmNoticeHController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%>
<t:dgToolBar title="查看" icon="icon-search" url="wmOmNoticeHController.do?goUpdate" funname="detail" width="100%" height="100%"></t:dgToolBar> <t:dgToolBar title="查看" icon="icon-search" url="wmOmNoticeHController.do?goUpdate" funname="detail" width="100%" height="100%"></t:dgToolBar>
<t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar> <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
<t:dgToolBar operationCode="uasimpomn" title="第三方系统导入" icon="icon-put" funname="otherimp"></t:dgToolBar>
<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>
@ -62,63 +61,15 @@
<t:dgToolBar title="模板2下载" icon="icon-putout" funname="ExportXlsByT2"></t:dgToolBar> <t:dgToolBar title="模板2下载" icon="icon-putout" funname="ExportXlsByT2"></t:dgToolBar>
</t:datagrid> </t:datagrid>
<div name="searchColums1" style="float: left; padding-left: 0px;padding-top: 5px;">
<%--<input type="text" name="batchbin" style="width: 100px; height: 30px;">--%>
日期:<input type="text" name="batchdate" class="form-control" onClick="WdatePicker()" style="width: 100px; height: 30px;">
</div>
</div> </div>
</div> </div>
<script src = "webpage/com/zzjee/wm/wmOmNoticeHList.js"></script> <script src = "webpage/com/zzjee/wm/wmOmNoticeHList.js"></script>
<script type="text/javascript"> <script type="text/javascript">
function dopost(id) {
var url = "wmOmNoticeHController.do?doPost&id="+id;
$.ajax({
async : true,
cache : false,
type : 'POST',
url : url,// 请求的action路径
error : function() {// 请求失败处理函数
},
success : function(data) {
var d = $.parseJSON(data);
if (d.success) {
}
}
});
tip("成功");
$('#wmOmNoticeHList').datagrid('reload',{});
}
function otherimp() {
var batchdate;
batchdate = $('input[name="batchdate"]').attr("value");
if(batchdate==""){
alert("日期不能为空");
}else{
var url = "wmOmNoticeHController.do?doGet&formDate="+batchdate;
$.ajax({
async : true,
cache : false,
type : 'POST',
url : url,// 请求的action路径
error : function() {// 请求失败处理函数
},
success : function(data) {
var d = $.parseJSON(data);
if (d.success) {
}
}
});
tip("获取成功");
$('#wmOmNoticeHList').datagrid('reload',{});
}
}
function doprint(id){ function doprint(id){
var url = "wmOmNoticeHController.do?doPrintpage&id="+id; var url = "wmOmNoticeHController.do?doPrintpage&id="+id;