parent
ed3b308b90
commit
9ad8ceb530
|
|
@ -341,7 +341,7 @@ ASALocalRun/
|
|||
# MSBuild Binary and Structured Log
|
||||
*.binlog
|
||||
|
||||
# NVidia Nsight GPU debugger configuration file
|
||||
# NVidia Nsight GPU configuration file
|
||||
*.nvuser
|
||||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
var jzs = "0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
var jzs="0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ var JSHINT = (function () {
|
|||
camelcase : true, // if identifiers should be required in camel case
|
||||
couch : true, // if CouchDB globals should be predefined
|
||||
curly : true, // if curly braces around all blocks should be required
|
||||
debug : true, // if debugger statements should be allowed
|
||||
debug : true, // if statements should be allowed
|
||||
devel : true, // if logging globals should be predefined (console,
|
||||
// alert, etc.)
|
||||
dojo : true, // if Dojo Toolkit globals should be predefined
|
||||
|
|
@ -4140,9 +4140,9 @@ loop:
|
|||
}
|
||||
}).labelled = true;
|
||||
|
||||
stmt("debugger", function () {
|
||||
stmt("", function () {
|
||||
if (!option.debug) {
|
||||
warning("All 'debugger' statements should be removed.");
|
||||
warning("All '' statements should be removed.");
|
||||
}
|
||||
return this;
|
||||
}).exps = true;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function opendiv(div) {
|
|||
|
||||
|
||||
function jscpxmje(hcountx) {
|
||||
debugger
|
||||
|
||||
var mtsl = $("#dhsl" + hcountx).val()*1;
|
||||
var cpdj = $("#danjia" + hcountx).val()*1;
|
||||
var xiaoji = parseFloat(mtsl * cpdj).toFixed(4);
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ var dianshu;
|
|||
有下拉框的时候需要修改这里,根据不同的状态,点击显示每月中每天的数据条数
|
||||
*/
|
||||
function gjzk(obj) {
|
||||
debugger
|
||||
|
||||
if (obj == dianshu) {
|
||||
gjshouqi();
|
||||
dianshu = "";
|
||||
|
|
@ -1101,7 +1101,7 @@ function pxtiaojian() {
|
|||
return wherecode;
|
||||
}
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
});
|
||||
}
|
||||
function msgshow() {
|
||||
debugger
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
contentType: "application/json",
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ var prettyPrint;
|
|||
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
|
||||
"throw,true,try,unless,until,when,while,yes";
|
||||
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
|
||||
"debugger,eval,export,function,get,null,set,undefined,var,with," +
|
||||
",eval,export,function,get,null,set,undefined,var,with," +
|
||||
"Infinity,NaN"];
|
||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
|
||||
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ function pxtiaojian() {
|
|||
}
|
||||
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function panduan() {
|
|||
|
||||
var fanhuicount = Common_gsmima.serchmingcheng($("#zhanghao").val()).value;
|
||||
//查询是否存在问题
|
||||
debugger;
|
||||
;
|
||||
|
||||
if (fanhuicount > 0) {
|
||||
$("#z_zhanghao").html("账号匹配成功!");
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
function tcpkk(id) {
|
||||
if (confirm("是否初始化期初金额?")) {
|
||||
debugger;
|
||||
;
|
||||
var wlinfo = CustomerAccount_list.pkwlinfo(id).value;
|
||||
var strs = new Array();
|
||||
strs = wlinfo.split(",");
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
$("#<%=severbc.ClientID%>").click();
|
||||
}
|
||||
function jscsrq() {
|
||||
debugger
|
||||
|
||||
var c = $("#sfzh").val();
|
||||
var res = IdentityCodeValid(c);
|
||||
if (res)
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
function bcgyqxxx() {
|
||||
var c = $("#sfzh").val();
|
||||
debugger
|
||||
|
||||
IdentityCodeValid(c);
|
||||
if ($("#xm").val() == "") {
|
||||
$("#z_error").text("姓名不能为空!");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
}
|
||||
function pd() {
|
||||
debugger;
|
||||
;
|
||||
if ($("#jsmc").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").html("角色名不允许为空!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@
|
|||
dialogfocus('ifa_wx');
|
||||
}
|
||||
function pd() {
|
||||
debugger
|
||||
|
||||
setfy();
|
||||
debugger
|
||||
|
||||
if ($("#wxdw").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").text("请选择外协单位!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
|
||||
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#qdxmtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
if (hang > 0) {
|
||||
//开始给变量赋值
|
||||
jsonStr2 += "[";
|
||||
debugger
|
||||
|
||||
//循环获取行id,拼接
|
||||
for (var x = 1; x <= hang; x++) {
|
||||
var trid = $("#bomxmtb").find("tr").eq(x).attr("id");
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
function qrdjft() {
|
||||
if (confirm("确定要登记吗?")) {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#djtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
$("body", parent.document).find('#' + rowval).attr('name', wlzu[0]);
|
||||
$("body", parent.document).find('#' + rowval).val(wlzu[1]);
|
||||
} else if (pagename == "cpkc") {
|
||||
debugger;
|
||||
;
|
||||
if ($("body", parent.document).find('#wlmc' + rowval).length > 0) {
|
||||
$("body", parent.document).find('#wlmc' + rowval).val(wlzu[1]);
|
||||
$("body", parent.document).find('#wlbh' + rowval).val(wlzu[0]);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
var rowval = $("body", parent.document).find('#dialogcp').attr("tag");
|
||||
var pagename = $("body", parent.document).find('#pagename').val();
|
||||
if (pagename == 'cpbom') {
|
||||
debugger;
|
||||
;
|
||||
$("body", parent.document).find('#cpbh' + rowval).val(xinxizu[0]);
|
||||
$("body", parent.document).find('#cpmc'+ rowval).val(xinxizu[1]);
|
||||
$("body", parent.document).find('#mxlx'+ rowval).val("母件");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
var jzs = "0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
var jzs="0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ var JSHINT = (function () {
|
|||
camelcase : true, // if identifiers should be required in camel case
|
||||
couch : true, // if CouchDB globals should be predefined
|
||||
curly : true, // if curly braces around all blocks should be required
|
||||
debug : true, // if debugger statements should be allowed
|
||||
debug : true, // if statements should be allowed
|
||||
devel : true, // if logging globals should be predefined (console,
|
||||
// alert, etc.)
|
||||
dojo : true, // if Dojo Toolkit globals should be predefined
|
||||
|
|
@ -4140,9 +4140,9 @@ loop:
|
|||
}
|
||||
}).labelled = true;
|
||||
|
||||
stmt("debugger", function () {
|
||||
stmt("", function () {
|
||||
if (!option.debug) {
|
||||
warning("All 'debugger' statements should be removed.");
|
||||
warning("All '' statements should be removed.");
|
||||
}
|
||||
return this;
|
||||
}).exps = true;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function opendiv(div) {
|
|||
|
||||
|
||||
function jscpxmje(hcountx) {
|
||||
debugger
|
||||
|
||||
var mtsl = $("#dhsl" + hcountx).val()*1;
|
||||
var cpdj = $("#danjia" + hcountx).val()*1;
|
||||
var xiaoji = parseFloat(mtsl * cpdj).toFixed(4);
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ var dianshu;
|
|||
有下拉框的时候需要修改这里,根据不同的状态,点击显示每月中每天的数据条数
|
||||
*/
|
||||
function gjzk(obj) {
|
||||
debugger
|
||||
|
||||
if (obj == dianshu) {
|
||||
gjshouqi();
|
||||
dianshu = "";
|
||||
|
|
@ -1101,7 +1101,7 @@ function pxtiaojian() {
|
|||
return wherecode;
|
||||
}
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
});
|
||||
}
|
||||
function msgshow() {
|
||||
debugger
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
contentType: "application/json",
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ var prettyPrint;
|
|||
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
|
||||
"throw,true,try,unless,until,when,while,yes";
|
||||
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
|
||||
"debugger,eval,export,function,get,null,set,undefined,var,with," +
|
||||
",eval,export,function,get,null,set,undefined,var,with," +
|
||||
"Infinity,NaN"];
|
||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
|
||||
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ function pxtiaojian() {
|
|||
}
|
||||
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function panduan() {
|
|||
|
||||
var fanhuicount = Common_gsmima.serchmingcheng($("#zhanghao").val()).value;
|
||||
//查询是否存在问题
|
||||
debugger;
|
||||
;
|
||||
|
||||
if (fanhuicount > 0) {
|
||||
$("#z_zhanghao").html("账号匹配成功!");
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
function tcpkk(id) {
|
||||
if (confirm("是否初始化期初金额?")) {
|
||||
debugger;
|
||||
;
|
||||
var wlinfo = CustomerAccount_list.pkwlinfo(id).value;
|
||||
var strs = new Array();
|
||||
strs = wlinfo.split(",");
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
$("#<%=severbc.ClientID%>").click();
|
||||
}
|
||||
function jscsrq() {
|
||||
debugger
|
||||
|
||||
var c = $("#sfzh").val();
|
||||
var res = IdentityCodeValid(c);
|
||||
if (res)
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
function bcgyqxxx() {
|
||||
var c = $("#sfzh").val();
|
||||
debugger
|
||||
|
||||
IdentityCodeValid(c);
|
||||
if ($("#xm").val() == "") {
|
||||
$("#z_error").text("姓名不能为空!");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
}
|
||||
function pd() {
|
||||
debugger;
|
||||
;
|
||||
if ($("#jsmc").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").html("角色名不允许为空!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@
|
|||
dialogfocus('ifa_wx');
|
||||
}
|
||||
function pd() {
|
||||
debugger
|
||||
|
||||
setfy();
|
||||
debugger
|
||||
|
||||
if ($("#wxdw").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").text("请选择外协单位!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
|
||||
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#qdxmtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
if (hang > 0) {
|
||||
//开始给变量赋值
|
||||
jsonStr2 += "[";
|
||||
debugger
|
||||
|
||||
//循环获取行id,拼接
|
||||
for (var x = 1; x <= hang; x++) {
|
||||
var trid = $("#bomxmtb").find("tr").eq(x).attr("id");
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
function qrdjft() {
|
||||
if (confirm("确定要登记吗?")) {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#djtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
$("body", parent.document).find('#' + rowval).attr('name', wlzu[0]);
|
||||
$("body", parent.document).find('#' + rowval).val(wlzu[1]);
|
||||
} else if (pagename == "cpkc") {
|
||||
debugger;
|
||||
;
|
||||
if ($("body", parent.document).find('#wlmc' + rowval).length > 0) {
|
||||
$("body", parent.document).find('#wlmc' + rowval).val(wlzu[1]);
|
||||
$("body", parent.document).find('#wlbh' + rowval).val(wlzu[0]);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
var rowval = $("body", parent.document).find('#dialogcp').attr("tag");
|
||||
var pagename = $("body", parent.document).find('#pagename').val();
|
||||
if (pagename == 'cpbom') {
|
||||
debugger;
|
||||
;
|
||||
$("body", parent.document).find('#cpbh' + rowval).val(xinxizu[0]);
|
||||
$("body", parent.document).find('#cpmc'+ rowval).val(xinxizu[1]);
|
||||
$("body", parent.document).find('#mxlx'+ rowval).val("母件");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
var jzs = "0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
var jzs="0"
|
||||
function dyjia() {
|
||||
debugger;
|
||||
;
|
||||
if (jzs == "0") {
|
||||
$("#sec").css("display", "block");
|
||||
jzs = "1";
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ var JSHINT = (function () {
|
|||
camelcase : true, // if identifiers should be required in camel case
|
||||
couch : true, // if CouchDB globals should be predefined
|
||||
curly : true, // if curly braces around all blocks should be required
|
||||
debug : true, // if debugger statements should be allowed
|
||||
debug : true, // if statements should be allowed
|
||||
devel : true, // if logging globals should be predefined (console,
|
||||
// alert, etc.)
|
||||
dojo : true, // if Dojo Toolkit globals should be predefined
|
||||
|
|
@ -4140,9 +4140,9 @@ loop:
|
|||
}
|
||||
}).labelled = true;
|
||||
|
||||
stmt("debugger", function () {
|
||||
stmt("", function () {
|
||||
if (!option.debug) {
|
||||
warning("All 'debugger' statements should be removed.");
|
||||
warning("All '' statements should be removed.");
|
||||
}
|
||||
return this;
|
||||
}).exps = true;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ function opendiv(div) {
|
|||
|
||||
|
||||
function jscpxmje(hcountx) {
|
||||
debugger
|
||||
|
||||
var mtsl = $("#dhsl" + hcountx).val()*1;
|
||||
var cpdj = $("#danjia" + hcountx).val()*1;
|
||||
var xiaoji = parseFloat(mtsl * cpdj).toFixed(4);
|
||||
|
|
@ -41,13 +41,38 @@ function add_cp() {
|
|||
var hcount = parseFloat($("#ddxm tbody").children().eq($("#ddxm tbody").children().length - 1).attr("id")) + 1;
|
||||
$("#ddxm").append("<tr id='" + hcount + "' name='0'><td width='25px' class='head5'> <img src='../Images_Folder/Button/tjljh.png' onclick='jianhang(this)' width='25px' height='25px' /></td>"
|
||||
+ "<td><select Class='inpittxt_xl' id='mxlx" + hcount + "' ><option value='产品' >产品</option><option value='母件' >母件</option></select></td>"
|
||||
+ "<td><input type='text' id='cphh" + hcount + "' Class='inpittxt' onclick='selecttccp(" + hcount + ")' readonly /></td><td><input type='text' id='cpmc" + hcount + "' Class='inpittxt_hx' readonly/></td>"
|
||||
+ "<td><input type='text' readonly id='guige" + hcount + "' Class='inpittxt_hx' /> </td> <td><input type='text' readonly id='zhonglei" + hcount + "' Class='inpittxt_hx' /> </td> "
|
||||
+ "<td><input type='text' id='dhsl" + hcount + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td><td><input type='text' readonly id='danwei" + hcount + "' Class='inpittxt_hx' /> </td>"
|
||||
+ "<td><input type='text' id='danjia" + hcount + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td> <td><input type='text' id='jine" + hcount + "' onkeyup='doubleshuru(this)' Class='inpittxt' /> </td>"
|
||||
+ "<td><input type='text' id='jhrq" + hcount + "' onclick='new Calendar().show(this);' readonly='readonly' Class='inpittxt' /> </td> <td><input type='text' id='beizhu" + hcount + "' Class='inpittxt' /> </td></tr>");
|
||||
+ "<td><input type='text' id='cphh" + hcount + "' Class='inpittxt' onclick='selecttccp(" + hcount + ")' readonly /></td>"
|
||||
+ "<td><input type='text' id='cpmc" + hcount + "' Class='inpittxt_hx' readonly/></td>"
|
||||
+ "<td><input type='text' readonly id='zhongliang" + hcount + "' Class='inpittxt_hx' /> </td>"
|
||||
+ "<td><input type='text' readonly id='tiji" + hcount + "' Class='inpittxt_hx' /> </td>"
|
||||
+ "<td><input type='text' readonly id='guige" + hcount + "' Class='inpittxt_hx' /> </td>"
|
||||
+ "<td><input type='text' readonly id='zhonglei" + hcount + "' Class='inpittxt_hx' /> </td> "
|
||||
+ "<td><select Class='inpittxt_xl' id='scfs" + hcount + "'></select> </td>"
|
||||
+ "<td><input type='text' id='dhsl" + hcount + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td>"
|
||||
+"<td><input type='text' readonly id='danwei" + hcount + "' Class='inpittxt_hx' /> </td>"
|
||||
+ "<td><input type='text' id='danjia" + hcount + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td>"
|
||||
+"<td><input type='text' id='jine" + hcount + "' onkeyup='doubleshuru(this)' Class='inpittxt' /> </td>"
|
||||
+ "<td><input type='text' id='jhrq" + hcount + "' onclick='new Calendar().show(this);' readonly='readonly' Class='inpittxt' /> </td>"
|
||||
+"<td><input type='text' id='beizhu" + hcount + "' Class='inpittxt' /> </td></tr>");
|
||||
}
|
||||
|
||||
/*
|
||||
string biao = "<table class='bule' id='ddxm'> <tr class='tbtilt' id='0'>"
|
||||
+ "<td width='25' onclick='add_cp()'> <img src='../Images_Folder/Button/tjltj.png' width='25px' height='25px' /></td>"
|
||||
+ "<td width='80' ><span><font>*项目类型</font></span></td>" +
|
||||
"<td ><span><font>*产品货号</font></span></td>" +
|
||||
"<td><span>产品名称</span></td>" +
|
||||
"<td><span>重量(G)</span></td>" +
|
||||
"<td><span>体积(ML)</span></td>"
|
||||
+ " <td><span>规格(CM)</span></td>" +
|
||||
"<td><span>种类</span></td>" +
|
||||
"<td width='100' ><span>烧成方式</span></td>" +
|
||||
"<td><span>订货数量</span></td>" +
|
||||
"<td><span>单位</span></td>"
|
||||
+ " <td><span>单价</span></td>" +
|
||||
"<td><span>金额</span></td>" +
|
||||
"<td><span>交货日期</span></td>" +
|
||||
"<td><span>备注</span></td></tr>";
|
||||
*/
|
||||
function addscd_cp() {
|
||||
//给每行的id 赋值上一行的id 加1; 不会重复的id;
|
||||
var hcount = parseFloat($("#ddxm tbody").children().eq($("#ddxm tbody").children().length - 1).attr("id")) + 1;
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ var dianshu;
|
|||
有下拉框的时候需要修改这里,根据不同的状态,点击显示每月中每天的数据条数
|
||||
*/
|
||||
function gjzk(obj) {
|
||||
debugger
|
||||
|
||||
if (obj == dianshu) {
|
||||
gjshouqi();
|
||||
dianshu = "";
|
||||
|
|
@ -1101,7 +1101,7 @@ function pxtiaojian() {
|
|||
return wherecode;
|
||||
}
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
});
|
||||
}
|
||||
function msgshow() {
|
||||
debugger
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
contentType: "application/json",
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ var prettyPrint;
|
|||
"for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
|
||||
"throw,true,try,unless,until,when,while,yes";
|
||||
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
|
||||
"debugger,eval,export,function,get,null,set,undefined,var,with," +
|
||||
",eval,export,function,get,null,set,undefined,var,with," +
|
||||
"Infinity,NaN"];
|
||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
|
||||
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ function pxtiaojian() {
|
|||
}
|
||||
|
||||
function riqicode(riqi) {
|
||||
debugger
|
||||
|
||||
var endtimeval = $("#endtime").val();
|
||||
if (endtimeval != '') {
|
||||
endtimeval = dateOperator(endtimeval, 1, "+");
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function panduan() {
|
|||
|
||||
var fanhuicount = Common_gsmima.serchmingcheng($("#zhanghao").val()).value;
|
||||
//查询是否存在问题
|
||||
debugger;
|
||||
;
|
||||
|
||||
if (fanhuicount > 0) {
|
||||
$("#z_zhanghao").html("账号匹配成功!");
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
function tcpkk(id) {
|
||||
if (confirm("是否初始化期初金额?")) {
|
||||
debugger;
|
||||
;
|
||||
var wlinfo = CustomerAccount_list.pkwlinfo(id).value;
|
||||
var strs = new Array();
|
||||
strs = wlinfo.split(",");
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
$("#<%=severbc.ClientID%>").click();
|
||||
}
|
||||
function jscsrq() {
|
||||
debugger
|
||||
|
||||
var c = $("#sfzh").val();
|
||||
var res = IdentityCodeValid(c);
|
||||
if (res)
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
function bcgyqxxx() {
|
||||
var c = $("#sfzh").val();
|
||||
debugger
|
||||
|
||||
IdentityCodeValid(c);
|
||||
if ($("#xm").val() == "") {
|
||||
$("#z_error").text("姓名不能为空!");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
$(document).ready(function () {
|
||||
beforval=$("#mingcheng").val();
|
||||
$("#severbc").click(function () {
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
jsonStr2 += "[";
|
||||
$("#lxjia tr").each(function(){
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
}
|
||||
function pd() {
|
||||
debugger;
|
||||
;
|
||||
if ($("#jsmc").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").html("角色名不允许为空!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@
|
|||
dialogfocus('ifa_wx');
|
||||
}
|
||||
function pd() {
|
||||
debugger
|
||||
|
||||
setfy();
|
||||
debugger
|
||||
|
||||
if ($("#wxdw").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
|
||||
$("#z_error").text("请选择外协单位!");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
|
||||
|
||||
debugger;
|
||||
;
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#qdxmtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
if (hang > 0) {
|
||||
//开始给变量赋值
|
||||
jsonStr2 += "[";
|
||||
debugger
|
||||
|
||||
//循环获取行id,拼接
|
||||
for (var x = 1; x <= hang; x++) {
|
||||
var trid = $("#bomxmtb").find("tr").eq(x).attr("id");
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="TcOrder_Form.aspx.cs" Inherits="TcOrder_Form" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="TcOrder_Form.aspx.cs"
|
||||
Inherits="TcOrder_Form" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../Css/edit.css" rel="stylesheet" type="text/css" />
|
||||
|
|
@ -12,8 +15,8 @@
|
|||
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
|
||||
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
||||
<script src="../Js/commonality.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../Css/prettify.css"/>
|
||||
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../Css/prettify.css" />
|
||||
<script src="../Js/prettify.js" type="text/javascript"></script>
|
||||
<script src="../Js/TcOrder.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
|
|
@ -51,7 +54,7 @@
|
|||
dialogfocus('ifa_kh');
|
||||
}
|
||||
function selecttccp(hang) {
|
||||
$("#dialogcp").attr("tag",hang);
|
||||
$("#dialogcp").attr("tag", hang);
|
||||
$("#dialogcp").dialog({
|
||||
resizable: false,
|
||||
height: 510,
|
||||
|
|
@ -78,84 +81,174 @@
|
|||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form" runat="server" >
|
||||
<div class="rtbjdiv" >
|
||||
<div class="add-top" >
|
||||
<div class="add-top-dh" id="div_listdaohang"><h4>合同订单表单页   </h4> <a href="TcOrder_list.aspx" id="bt_fhlb" runat="server" style=" width:65px" class="button icon pin">回到列表</a></div>
|
||||
<div class="add-top-cz" >
|
||||
<a href="#button" id="bt_tj" onclick="setbcbd()" class="button icon log">保存</a>
|
||||
<a href="#button" id="chongzhi" onclick="form.reset();" style=" width:60px; " class=" button icon reload">重置表单</a>
|
||||
<a href="#button" id="fanhui" onclick="history.back();" style=" width:60px; " class="button icon arrowleft">返回上级</a>
|
||||
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
||||
</div>
|
||||
</div>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="form" runat="server">
|
||||
<div class="rtbjdiv">
|
||||
<div class="add-top">
|
||||
<div class="add-top-dh" id="div_listdaohang">
|
||||
<h4>合同订单表单页   </h4> <a href="TcOrder_list.aspx" id="bt_fhlb" runat="server"
|
||||
style=" width:65px" class="button icon pin">回到列表</a>
|
||||
</div>
|
||||
<div class="add-top-cz">
|
||||
<a href="#button" id="bt_tj" onclick="setbcbd()" class="button icon log">保存</a>
|
||||
<a href="#button" id="chongzhi" onclick="form.reset();" style=" width:60px; "
|
||||
class=" button icon reload">重置表单</a>
|
||||
<a href="#button" id="fanhui" onclick="history.back();" style=" width:60px; "
|
||||
class="button icon arrowleft">返回上级</a>
|
||||
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="alert-tip">
|
||||
<b>温馨提示:</b>
|
||||
<p>• 信息表单中加*号红色标题框为必填项,为了可以顺利保存信息,请您注意填写红色栏目中的信息</p>
|
||||
<p>• 系统合同订单结算提醒将根据结账日期发起提醒</p>
|
||||
<p>• 产品项目中,点选产品时将根据项目类型提取对应产品</p>
|
||||
</div>
|
||||
<div id="dd_kong" style=" overflow:auto;">
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>合同订单基本信息</h4></td></tr></table>
|
||||
<table class="tablewk">
|
||||
<tr><td style=" height:20px" colspan="13"></td></tr>
|
||||
<tr>
|
||||
<td class="wktblm" ><span>单据编号</span></td><td><asp:TextBox id="bh" runat="server" CssClass="tbinput_hx" ReadOnly Text="自动生成" ></asp:TextBox></td>
|
||||
<td class="wktblm"><span>单据名称</span></td><td ><asp:TextBox id="djmc" runat="server" CssClass="tbinput"></asp:TextBox></td>
|
||||
<td class="wktblm"><span>订单类型</span></td><td><asp:dropdownlist id="ddlx" runat="server" CssClass="tbinput_xl"></asp:dropdownlist></td>
|
||||
<td class="wktblm"><span>订单状态</span></td><td><asp:TextBox id="ddzt" runat="server" ReadOnly ForeColor="Gray" CssClass="tbinput_hx"></asp:TextBox></td>
|
||||
<td class="wktblm" ><span><font>*客户编号</font></span></td><td class="content" onclick="seleckehu()" > <input type="text" id="khbh" readonly runat=server Class="tbinput_bt" runat=server /> </td>
|
||||
<td class="wktblm" ><span>客户名称</span></td><td onclick="seleckehu()" > <input type="text" id="khmc" readonly runat=server Class="tbinput_hx" /> </td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="wktblm"><span>联系人</span></td><td> <input type="text" id="lxrvalue" style=" display:none;" readonly runat=server /> <asp:dropdownlist id="lxr" runat="server" CssClass="tbinput_xl"></asp:dropdownlist></td>
|
||||
<td class="wktblm"><span>联系方式</span></td><td> <input type="text" id="lxfs" readonly runat=server Class="tbinput" /> </td>
|
||||
<td class="wktblm"><span>下单日期</span></td><td><input name='control_date' type='text' id='xdrq' size='10' maxlength='10' style=" color:Gray" readonly='readonly' runat=server class="tbinput_hx" /></td>
|
||||
<td class="wktblm"><span><font>*业务员</font></span></td><td> <input type="text" id="ywy" readonly runat=server Class="tbinput_bt" /> </td>
|
||||
<td class="wktblm"><span><font>*制单人</span></font></td><td><asp:TextBox id="zdr" runat="server" CssClass="tbinput_bt"></asp:TextBox></td>
|
||||
<td class="wktblm"><span>审核人</span></td><td><asp:TextBox id="shr" runat="server" ForeColor="Gray" ReadOnly CssClass="tbinput_hx"></asp:TextBox></td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
<b>温馨提示:</b>
|
||||
<p>• 信息表单中加*号红色标题框为必填项,为了可以顺利保存信息,请您注意填写红色栏目中的信息</p>
|
||||
<p>• 系统合同订单结算提醒将根据结账日期发起提醒</p>
|
||||
<p>• 产品项目中,点选产品时将根据项目类型提取对应产品</p>
|
||||
</div>
|
||||
<div id="dd_kong" style=" overflow:auto;">
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>合同订单基本信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="tablewk">
|
||||
<tr>
|
||||
<td style=" height:20px" colspan="13"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="wktblm"><span>单据编号</span></td>
|
||||
<td>
|
||||
<asp:TextBox id="bh" runat="server" CssClass="tbinput_hx" ReadOnly Text="自动生成">
|
||||
</asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>单据名称</span></td>
|
||||
<td>
|
||||
<asp:TextBox id="djmc" runat="server" CssClass="tbinput"></asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>订单类型</span></td>
|
||||
<td>
|
||||
<asp:dropdownlist id="ddlx" runat="server" CssClass="tbinput_xl"></asp:dropdownlist>
|
||||
</td>
|
||||
<td class="wktblm"><span>订单状态</span></td>
|
||||
<td>
|
||||
<asp:TextBox id="ddzt" runat="server" ReadOnly ForeColor="Gray" CssClass="tbinput_hx">
|
||||
</asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>
|
||||
<font>*客户编号</font>
|
||||
</span></td>
|
||||
<td class="content" onclick="seleckehu()"> <input type="text" id="khbh" readonly
|
||||
runat=server Class="tbinput_bt" runat=server /> </td>
|
||||
<td class="wktblm"><span>客户名称</span></td>
|
||||
<td onclick="seleckehu()"> <input type="text" id="khmc" readonly runat=server
|
||||
Class="tbinput_hx" /> </td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="wktblm"><span>联系人</span></td>
|
||||
<td> <input type="text" id="lxrvalue" style=" display:none;" readonly runat=server />
|
||||
<asp:dropdownlist id="lxr" runat="server" CssClass="tbinput_xl"></asp:dropdownlist>
|
||||
</td>
|
||||
<td class="wktblm"><span>联系方式</span></td>
|
||||
<td> <input type="text" id="lxfs" readonly runat=server Class="tbinput" /> </td>
|
||||
<td class="wktblm"><span>下单日期</span></td>
|
||||
<td><input name='control_date' type='text' id='xdrq' size='10' maxlength='10'
|
||||
style=" color:Gray" readonly='readonly' runat=server class="tbinput_hx" /></td>
|
||||
<td class="wktblm"><span>
|
||||
<font>*业务员</font>
|
||||
</span></td>
|
||||
<td> <input type="text" id="ywy" readonly runat=server Class="tbinput_bt" /> </td>
|
||||
<td class="wktblm"><span>
|
||||
<font>*制单人
|
||||
</span></font>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox id="zdr" runat="server" CssClass="tbinput_bt"></asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>审核人</span></td>
|
||||
<td>
|
||||
<asp:TextBox id="shr" runat="server" ForeColor="Gray" ReadOnly CssClass="tbinput_hx">
|
||||
</asp:TextBox>
|
||||
</td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="wktblm"><span><font>*结账日期</font></span></td><td class="content"><input name='control_date' type='text' id='jzrq' size='10' maxlength='10' onclick='new Calendar().show(this);' readonly='readonly' runat=server class="tbinput_bt" /></td>
|
||||
<td class="wktblm"><span>审核结果</span></td><td ><asp:TextBox id="shjg" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx"></asp:TextBox></td>
|
||||
<td class="wktblm"><span>审核意见</span></td><td colspan="3" ><asp:TextBox id="shyj" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx"></asp:TextBox></td>
|
||||
<td class="wktblm"><span>订单备注</span></td><td colspan="3"><asp:TextBox id="ddbz" runat="server" CssClass="tbinput"></asp:TextBox></td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
<tr><td style=" height:20px" colspan="13"></td></tr>
|
||||
</table>
|
||||
<tr>
|
||||
<td class="wktblm"><span>
|
||||
<font>*结账日期</font>
|
||||
</span></td>
|
||||
<td class="content"><input name='control_date' type='text' id='jzrq' size='10'
|
||||
maxlength='10' onclick='new Calendar().show(this);' readonly='readonly' runat=server
|
||||
class="tbinput_bt" /></td>
|
||||
<td class="wktblm"><span>审核结果</span></td>
|
||||
<td>
|
||||
<asp:TextBox id="shjg" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx">
|
||||
</asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>审核意见</span></td>
|
||||
<td colspan="3">
|
||||
<asp:TextBox id="shyj" ForeColor="Gray" runat="server" ReadOnly CssClass="tbinput_hx">
|
||||
</asp:TextBox>
|
||||
</td>
|
||||
<td class="wktblm"><span>订单备注</span></td>
|
||||
<td colspan="3">
|
||||
<asp:TextBox id="ddbz" runat="server" CssClass="tbinput"></asp:TextBox>
|
||||
</td>
|
||||
<td class="tdjj5">  </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style=" height:20px" colspan="13"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>产品信息</h4></td></tr></table>
|
||||
<div id="cpxx" runat=server></div>
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>费用信息</h4></td></tr></table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td width='100'><span>订单总金额</span></td><td><input type="text" id="ddzje" readonly runat=server Class="inpittxt_hx" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>产品信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="cpxx" runat=server></div>
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>费用信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td width='100'><span>订单总金额</span></td>
|
||||
<td><input type="text" id="ddzje" readonly runat=server Class="inpittxt_hx" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="dialog-modal" title="选择客户" style="overflow:hidden; display:none;" >
|
||||
<iframe src="../ddselect/kehu_list.aspx" frameborder="no" border="0" style="height:500px;width:100%;overflow:hidden; " scrolling="no" id="ifa_kh" ></iframe>
|
||||
<div id="dialog-modal" title="选择客户" style="overflow:hidden; display:none;">
|
||||
<iframe src="../ddselect/kehu_list.aspx" frameborder="no" border="0"
|
||||
style="height:500px;width:100%;overflow:hidden; " scrolling="no" id="ifa_kh"></iframe>
|
||||
</div>
|
||||
<div id="dialogcp" title="选择产品" style="overflow:hidden; display:none;" >
|
||||
<iframe src="../ddselect/Product_list.aspx" frameborder="no" border="0" style="height:500px;width:100%;overflow:hidden" scrolling="no" id="selectcp"></iframe>
|
||||
<div id="dialogcp" title="选择产品" style="overflow:hidden; display:none;">
|
||||
<iframe src="../ddselect/Product_list.aspx" frameborder="no" border="0"
|
||||
style="height:500px;width:100%;overflow:hidden" scrolling="no" id="selectcp"></iframe>
|
||||
</div>
|
||||
<span style=" display:none"> <asp:button id="severbc" runat="server" CssClass="button bluez small" Text="保存" OnClientClick="return pd()" onclick="bt_tj_Click" ></asp:button> </span>
|
||||
<span style=" display:none">
|
||||
<asp:button id="severbc" runat="server" CssClass="button bluez small" Text="保存"
|
||||
OnClientClick="return pd()" onclick="bt_tj_Click"></asp:button>
|
||||
</span>
|
||||
<asp:HiddenField ID="id" runat="server" />
|
||||
<asp:HiddenField ID="cpxmhd" runat="server" />
|
||||
<asp:HiddenField ID="ddfym" runat="server" />
|
||||
<asp:HiddenField ID="pagename" runat="server" Value="dd" />
|
||||
<asp:HiddenField ID="khid" runat="server" Value="" />
|
||||
<input id="btn_khclose" style="display:none" type=button onclick="$('#dialog-modal').dialog('close');"/>
|
||||
<input id="btn_cpclose" style="display:none" type=button onclick="$('#dialogcp').dialog('close');"/>
|
||||
<input id="btn_khclose" style="display:none" type=button onclick="$('#dialog-modal').dialog('close');" />
|
||||
<input id="btn_cpclose" style="display:none" type=button onclick="$('#dialogcp').dialog('close');" />
|
||||
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -63,11 +63,11 @@ public partial class TcOrder_Form : CommonPage
|
|||
{
|
||||
string kid = Request.QueryString["kid"].ToString();
|
||||
khid.Value = kid;
|
||||
kehumodel=kehubll.GetModel(Convert.ToInt32(kid));
|
||||
kehumodel = kehubll.GetModel(Convert.ToInt32(kid));
|
||||
khmc.Value = kehumodel.mingcheng;
|
||||
ywy.Value = kehumodel.yewuyuan;
|
||||
khbh.Value = kehumodel.bianhao;
|
||||
DataTable tbl_lianxiren = DBHlper.Execute("select id,lianxiren,shouji from nr_z_lianxiren_kh where kh_bh='" +kehumodel.bianhao + "'").Tables[0];
|
||||
DataTable tbl_lianxiren = DBHlper.Execute("select id,lianxiren,shouji from nr_z_lianxiren_kh where kh_bh='" + kehumodel.bianhao + "'").Tables[0];
|
||||
if (tbl_lianxiren.Rows.Count > 0)
|
||||
{
|
||||
fanhuicode = "";
|
||||
|
|
@ -138,8 +138,8 @@ public partial class TcOrder_Form : CommonPage
|
|||
private void initdata(string did)
|
||||
{
|
||||
int idz = Convert.ToInt32(did);
|
||||
dd=ddbll.GetModel(idz);
|
||||
DataTable tbl_lianxiren = DBHlper.Execute("select id,lianxiren,shouji from nr_z_lianxiren_kh where kh_bh='"+dd.kh_bh+ "'").Tables[0];
|
||||
dd = ddbll.GetModel(idz);
|
||||
DataTable tbl_lianxiren = DBHlper.Execute("select id,lianxiren,shouji from nr_z_lianxiren_kh where kh_bh='" + dd.kh_bh + "'").Tables[0];
|
||||
foreach (DataRow dr in tbl_lianxiren.Rows)
|
||||
{
|
||||
if (dd.lianxiren == dr["lianxiren"].ToString())
|
||||
|
|
@ -203,7 +203,7 @@ public partial class TcOrder_Form : CommonPage
|
|||
string biao = "<table class='bule' id='ddxm'> <tr class='tbtilt' id='0'>"
|
||||
+ "<td width='25px' onclick='add_cp()' > <img src='../Images_Folder/Button/tjltj.png' width='25px' height='25px' /></td>"
|
||||
+ "<td width='80' ><span><font>*项目类型</font></span></td><td><span><font>*产品货号</font></span></td><td><span>产品名称</span></td><td><span>重量(G)</span></td><td><span>体积(ML)</span></td>"
|
||||
+ " <td><span>规格(CM)</span></td><td><span>种类</span></td><td width='100' ><span>特殊工艺要求</span></td><td><span>订货数量</span></td><td><span>单位</span></td>"
|
||||
+ " <td><span>规格(CM)</span></td><td><span>种类</span></td><td width='100' ><span>烧成方式</span></td><td><span>订货数量</span></td><td><span>单位</span></td>"
|
||||
+ " <td><span>单价</span></td><td><span>金额</span></td><td><span>交货日期</span></td><td><span>备注</span></td></tr></table>";
|
||||
cpxx.InnerHtml = biao;
|
||||
}
|
||||
|
|
@ -215,9 +215,20 @@ public partial class TcOrder_Form : CommonPage
|
|||
//修改页面时,首先吧项目明细的表头加载出来
|
||||
string biao = "<table class='bule' id='ddxm'> <tr class='tbtilt' id='0'>"
|
||||
+ "<td width='25' onclick='add_cp()'> <img src='../Images_Folder/Button/tjltj.png' width='25px' height='25px' /></td>"
|
||||
+ "<td width='80' ><span><font>*项目类型</font></span></td><td ><span><font>*产品货号</font></span></td><td><span>产品名称</span></td><td><span>重量(G)</span></td><td><span>体积(ML)</span></td>"
|
||||
+ " <td><span>规格(CM)</span></td><td><span>种类</span></td><td width='100' ><span>特殊工艺要求</span></td><td><span>订货数量</span></td><td><span>单位</span></td>"
|
||||
+ " <td><span>单价</span></td><td><span>金额</span></td><td><span>交货日期</span></td><td><span>备注</span></td></tr>";
|
||||
+ "<td width='80' ><span><font>*项目类型</font></span></td>" +
|
||||
"<td ><span><font>*产品货号</font></span></td>" +
|
||||
"<td><span>产品名称</span></td>" +
|
||||
"<td><span>重量(G)</span></td>" +
|
||||
"<td><span>体积(ML)</span></td>"
|
||||
+ " <td><span>规格(CM)</span></td>" +
|
||||
"<td><span>种类</span></td>" +
|
||||
"<td width='100' ><span>烧成方式</span></td>" +
|
||||
"<td><span>订货数量</span></td>" +
|
||||
"<td><span>单位</span></td>"
|
||||
+ " <td><span>单价</span></td>" +
|
||||
"<td><span>金额</span></td>" +
|
||||
"<td><span>交货日期</span></td>" +
|
||||
"<td><span>备注</span></td></tr>";
|
||||
//查询数据视图,获取当前订单下的所有明细
|
||||
DataSet ds = DBHlper.Execute("select * from view_nr_z_dd_tccp where dd_id='" + dd_id + "' order by id ");
|
||||
if (ds != null && ds.Tables[0].Rows.Count > 0)
|
||||
|
|
@ -229,20 +240,28 @@ public partial class TcOrder_Form : CommonPage
|
|||
string hcount = r["id"].ToString();
|
||||
biao += "<tr id='" + hcount + "' name='" + hcount + "'><td width='25px'> <img src='../Images_Folder/Button/tjljh.png' onclick='jianhang(this)' width='25px' height='25px' /></td>"
|
||||
+ "<td><select Class='inpittxt_xl' id='mxlx" + hcount + "' >";
|
||||
if(r["mxlx"].ToString()=="产品")
|
||||
if (r["mxlx"].ToString() == "产品")
|
||||
{
|
||||
biao+="<option value='产品' selected='true' >产品</option><option value='母件' >母件</option></select>";
|
||||
}else{
|
||||
biao+="<option value='产品' >产品</option><option value='母件' selected='true' >母件</option></select>";
|
||||
biao += "<option value='产品' selected='true' >产品</option><option value='母件' >母件</option></select>";
|
||||
}
|
||||
else
|
||||
{
|
||||
biao += "<option value='产品' >产品</option><option value='母件' selected='true' >母件</option></select>";
|
||||
}
|
||||
biao += "</td>"
|
||||
+ " <td><input type='text' id='cphh" + hcount + "' Value='" + r["cphh"].ToString() + "' Class='inpittxt' onclick='selecttccp(" + hcount + ")' readonly /></td><td><input type='text' id='cpmc" + hcount + "' Value='" + r["cpmc"].ToString() + "' Class='inpittxt_hx' readonly/></td>"
|
||||
+ " <td><input type='text' id='zhongliang" + hcount + "' Value='" + r["zhongliang"].ToString() + "' Class='inpittxt_hx' readonly /></td><td><input type='text' id='tiji" + hcount + "' Class='inpittxt_hx' Value='" + r["tiji"].ToString() + "' readonly /></td>"
|
||||
+ " <td><input type='text' readonly id='guige" + hcount + "' Value='" + r["gg"].ToString() + "' Class='inpittxt_hx' /> </td> <td><input type='text' readonly id='zhonglei" + hcount + "' Value='" + r["zl"].ToString() + "' Class='inpittxt_hx' /> </td> "
|
||||
+ " <td><input type='text' id='cphh" + hcount + "' Value='" + r["cphh"].ToString() + "' Class='inpittxt' onclick='selecttccp(" + hcount + ")' readonly /></td>" +
|
||||
"<td><input type='text' id='cpmc" + hcount + "' Value='" + r["cpmc"].ToString() + "' Class='inpittxt_hx' readonly/></td>"
|
||||
+ " <td><input type='text' id='zhongliang" + hcount + "' Value='" + r["zhongliang"].ToString() + "' Class='inpittxt_hx' readonly /></td>" +
|
||||
"<td><input type='text' id='tiji" + hcount + "' Class='inpittxt_hx' Value='" + r["tiji"].ToString() + "' readonly /></td>"
|
||||
+ " <td><input type='text' readonly id='guige" + hcount + "' Value='" + r["gg"].ToString() + "' Class='inpittxt_hx' /> </td> " +
|
||||
"<td><input type='text' readonly id='zhonglei" + hcount + "' Value='" + r["zl"].ToString() + "' Class='inpittxt_hx' /> </td> "
|
||||
+ "<td><select Class='inpittxt_xl' id='scfs" + hcount + "' >" + hqyscpscfs(r["scfs"].ToString()) + "</select> </td>"
|
||||
+ " <td><input type='text' id='dhsl" + hcount + "' Value='" + r["dhsl"].ToString() + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td><td class='head4'><input type='text' readonly id='danwei" + hcount + "' Value='" + r["dw"].ToString() + "' Class='inpittxt_hx' /> </td>"
|
||||
+ " <td><input type='text' id='danjia" + hcount + "' Value='" + r["danjia"].ToString() + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td> <td><input type='text' id='jine" + hcount + "' Value='" + r["jine"].ToString() + "' onkeyup='doubleshuru(this)' Class='inpittxt' /> </td>"
|
||||
+ " <td><input type='text' id='jhrq" + hcount + "' Value='" + Convert.ToDateTime(r["jhrq"]).ToString("yyyy-MM-dd") + "' onclick='new Calendar().show(this);' readonly='readonly' Class='inpittxt' /> </td> <td><input type='text' id='beizhu" + hcount + "' Value='" + r["bz"].ToString() + "' Class='inpittxt' /> </td></tr>";
|
||||
+ " <td><input type='text' id='dhsl" + hcount + "' Value='" + r["dhsl"].ToString() + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td>" +
|
||||
"<td class='head4'><input type='text' readonly id='danwei" + hcount + "' Value='" + r["dw"].ToString() + "' Class='inpittxt_hx' /> </td>"
|
||||
+ " <td><input type='text' id='danjia" + hcount + "' Value='" + r["danjia"].ToString() + "' onkeyup='doubleshuru(this),jscpxmje(" + hcount + ")' Class='inpittxt' /> </td> " +
|
||||
"<td><input type='text' id='jine" + hcount + "' Value='" + r["jine"].ToString() + "' onkeyup='doubleshuru(this)' Class='inpittxt' /> </td>"
|
||||
+ " <td><input type='text' id='jhrq" + hcount + "' Value='" + Convert.ToDateTime(r["jhrq"]).ToString("yyyy-MM-dd") + "' onclick='new Calendar().show(this);' readonly='readonly' Class='inpittxt' /> </td>" +
|
||||
" <td><input type='text' id='beizhu" + hcount + "' Value='" + r["bz"].ToString() + "' Class='inpittxt' /> </td></tr>";
|
||||
}
|
||||
}
|
||||
cpxx.InnerHtml = biao + "</table>";
|
||||
|
|
@ -396,11 +415,11 @@ public partial class TcOrder_Form : CommonPage
|
|||
if (x.id > 0 && Request.QueryString["uid"] != null)
|
||||
{
|
||||
xmbll.Update(x);
|
||||
deletecmd +=" and id !="+x.id;
|
||||
deletecmd += " and id !=" + x.id;
|
||||
}
|
||||
else
|
||||
{
|
||||
int mxid=xmbll.Add(x);
|
||||
int mxid = xmbll.Add(x);
|
||||
deletecmd += " and id !=" + mxid;
|
||||
}
|
||||
|
||||
|
|
@ -409,7 +428,7 @@ public partial class TcOrder_Form : CommonPage
|
|||
}
|
||||
catch
|
||||
{
|
||||
Response.Write("<script>alert('订单项目在第'"+ci+"行时保存失败!);</script>");
|
||||
Response.Write("<script>alert('订单项目在第'" + ci + "行时保存失败!);</script>");
|
||||
}
|
||||
|
||||
//将session转换对象取值
|
||||
|
|
|
|||
|
|
@ -1,22 +1,24 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TcOrder_browse.aspx.cs" Inherits="TcOrder_browse" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head id="head21" runat="server">
|
||||
<title></title>
|
||||
<script type="text/javascript"></script>
|
||||
<script src="../Js/jquery-1.4.1.js" type="text/javascript"></script>
|
||||
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
|
||||
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
|
||||
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../Css/detail.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="../Css/prettify.css"/>
|
||||
<script src="../Js/prettify.js" type="text/javascript"></script>
|
||||
<script src="../Js/TcOrder.js" type="text/javascript"> </script>
|
||||
<script type="text/javascript">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head id="head21" runat="server">
|
||||
<title></title>
|
||||
<script type="text/javascript"></script>
|
||||
<script src="../Js/jquery-1.4.1.js" type="text/javascript"></script>
|
||||
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
|
||||
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
|
||||
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../Css/detail.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../Css/prettify.css" />
|
||||
<script src="../Js/prettify.js" type="text/javascript"></script>
|
||||
<script src="../Js/TcOrder.js" type="text/javascript"> </script>
|
||||
<script type="text/javascript">
|
||||
function GETTcOrderPrint() {
|
||||
var url = "../Print_File/TcOrderPrint.aspx?uid=" + $("#id").val();
|
||||
window.open(url, '合同订单打印', 'height=650,width=1200,top=0,left=100,toolbar=yes,menubar=no,scrollbars=yes, resizable=no,location=no, status=no')
|
||||
|
|
@ -26,7 +28,7 @@
|
|||
var xinxi = TcOrder_browse.getxyed($("#bh").text()).value;
|
||||
if (xinxi == "cg") {
|
||||
if (confirm("超过了授信额度,是否审核通过?")) {
|
||||
var jg = TcOrder_browse.ddshtg($("#id").val(),$("#bh").text()).value;
|
||||
var jg = TcOrder_browse.ddshtg($("#id").val(), $("#bh").text()).value;
|
||||
if (jg = "1") {
|
||||
window.location.href = "TcOrder_browse.aspx?uid=" + $("#id").val();
|
||||
}
|
||||
|
|
@ -41,69 +43,141 @@
|
|||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form" runat="server">
|
||||
<div class="rtbjdiv" >
|
||||
<div class="add-top" >
|
||||
<div class="add-top-dh" id="div_listdaohang"><h4>合同订单详细页   </h4> <a href="TcOrder_list.aspx" id="bt_fhlb" runat="server" style=" width:65px" class="button icon pin">回到列表</a></div>
|
||||
<div class="add-top-cz" >
|
||||
<a href="TcOrder_Form.aspx" id="bt_add" runat="server" Visible=false class="button icon add">添加</a>
|
||||
<a id="dayin" runat="server" style=" width:65px" Visible=false class="button" onclick="GETTcOrderPrint()" >▓  打印单据</a>
|
||||
<asp:button id="scscd" runat="server" Width="80" CssClass="button" Text="下发生产" Visible=false onclick="scscd_Click" ></asp:button>
|
||||
<asp:button id="bgjilu" runat="server" Width="80" CssClass="button" Text="变更记录" Visible=false onclick="bg_target" ></asp:button>
|
||||
<asp:button id="zaiban" runat="server" Width="80" CssClass="button" Text="复制订单" onclick="zaiban_Click" Visible=false ></asp:button>
|
||||
<asp:button id="biangeng" runat="server" CssClass="button" Text="变更" OnClientClick="return confirm('确定要变更订单吗')" Visible=false onclick="biangeng_Click" ></asp:button>
|
||||
<asp:button id="tijiao" runat="server" CssClass="button" Text="提交" onclick="tijiao_Click" OnClientClick="return confirm('确定要提交订单吗')" Visible=false ></asp:button>
|
||||
<input type="button" id="shenhetg" runat="server" class="button" style=" width:80px;" Visible=false value="审核通过" onclick="shenghe()"/>
|
||||
<asp:button id="shenhebg" runat="server" Width="80" CssClass="button" Text="审核不过" onclick="shenhebg_Click" OnClientClick="return confirm('确定要审核不过吗')" Visible=false ></asp:button>
|
||||
<asp:button id="bt_tj" runat="server" CssClass="button" Text="编辑" onclick="bt_tj_Click" Visible=false ></asp:button>
|
||||
<asp:button id="shanchu" runat="server" CssClass="button" Text="删除" OnClientClick="return confirm('确定要删除吗')" onclick="shanchu_Click" Visible=false ></asp:button>
|
||||
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
||||
</div>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="form" runat="server">
|
||||
<div class="rtbjdiv">
|
||||
<div class="add-top">
|
||||
<div class="add-top-dh" id="div_listdaohang">
|
||||
<h4>合同订单详细页   </h4> <a href="TcOrder_list.aspx" id="bt_fhlb" runat="server"
|
||||
style=" width:65px" class="button icon pin">回到列表</a>
|
||||
</div>
|
||||
<div class="add-top-cz">
|
||||
<a href="TcOrder_Form.aspx" id="bt_add" runat="server" Visible=false
|
||||
class="button icon add">添加</a>
|
||||
<a id="dayin" runat="server" style=" width:65px" Visible=false class="button"
|
||||
onclick="GETTcOrderPrint()">▓  打印单据</a>
|
||||
<asp:button id="scscd" runat="server" Width="80" CssClass="button" Text="下发生产" Visible=false
|
||||
onclick="scscd_Click"></asp:button>
|
||||
<asp:button id="bgjilu" runat="server" Width="80" CssClass="button" Text="变更记录" Visible=false
|
||||
onclick="bg_target"></asp:button>
|
||||
<asp:button id="zaiban" runat="server" Width="80" CssClass="button" Text="复制订单"
|
||||
onclick="zaiban_Click" Visible=false></asp:button>
|
||||
<asp:button id="biangeng" runat="server" CssClass="button" Text="变更"
|
||||
OnClientClick="return confirm('确定要变更订单吗')" Visible=false onclick="biangeng_Click">
|
||||
</asp:button>
|
||||
<asp:button id="tijiao" runat="server" CssClass="button" Text="提交" onclick="tijiao_Click"
|
||||
OnClientClick="return confirm('确定要提交订单吗')" Visible=false></asp:button>
|
||||
<input type="button" id="shenhetg" runat="server" class="button" style=" width:80px;"
|
||||
Visible=false value="审核通过" onclick="shenghe()" />
|
||||
<asp:button id="shenhebg" runat="server" Width="80" CssClass="button" Text="审核不过"
|
||||
onclick="shenhebg_Click" OnClientClick="return confirm('确定要审核不过吗')" Visible=false>
|
||||
</asp:button>
|
||||
<asp:button id="bt_tj" runat="server" CssClass="button" Text="编辑" onclick="bt_tj_Click"
|
||||
Visible=false></asp:button>
|
||||
<asp:button id="shanchu" runat="server" CssClass="button" Text="删除"
|
||||
OnClientClick="return confirm('确定要删除吗')" onclick="shanchu_Click" Visible=false></asp:button>
|
||||
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="dd_kong" style=" overflow:auto;">
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>合同订单基本信息</h4></td></tr></table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td ><span>单据编号:</span><asp:Label id="bh" runat="server" ></asp:Label></td>
|
||||
<td ><span>单据名称:</span><asp:Label id="djmc" runat="server" ></asp:Label></td>
|
||||
<td ><span>订单类型:</span><asp:Label id="ddlx" runat="server" ></asp:Label></td>
|
||||
<td ><span>订单状态:</span><asp:Label id="ddzt" runat="server" ></asp:Label></td>
|
||||
<td ><span>下单日期:</span><asp:Label id="xdrq" runat="server" ></asp:Label></td>
|
||||
<td ><span>制单人:</span><asp:Label id="zdr" runat="server" ></asp:Label> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td ><span>客户编号:</span><asp:Label id="khbh" runat="server" ></asp:Label></td>
|
||||
<td ><span>客户名称:</span><asp:Label id="khmc" runat="server" ></asp:Label></td>
|
||||
<td ><span>联系人:</span><asp:Label id="lxr" runat="server" ></asp:Label></td>
|
||||
<td ><span>联系方式:</span><asp:Label id="lxfs" runat="server"></asp:Label></td>
|
||||
<td ><span>业务员:</span><asp:Label id="ywy" runat="server" ></asp:Label> </td>
|
||||
<td ><span>审核人:</span><asp:Label id="shr" runat="server" ></asp:Label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td ><span>结账日期:</span><asp:Label id="jzrq" runat="server" ></asp:Label></td>
|
||||
<td ><span>审核结果:</span><asp:Label id="shjg" runat="server" ></asp:Label></td>
|
||||
<td ><span>审核时间:</span><asp:Label id="shsj" runat="server" ></asp:Label></td>
|
||||
<td ><span>审核意见:</span><asp:Label id="shyj" runat="server" ></asp:Label></td>
|
||||
<td colspan="2" ><span>订单备注:</span><asp:Label id="ddbz" runat="server" ></asp:Label></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>产品信息</h4></td></tr></table>
|
||||
<div id="cpxx" runat="server" ></div>
|
||||
<table class="bule"> <tr class="tdlietou"><td><h4>费用信息</h4></td></tr></table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td ><span>订单总金额:</span><asp:Label id="ddzje" runat="server" ></asp:Label></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="dd_kong" style=" overflow:auto;">
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>合同订单基本信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td><span>单据编号:</span>
|
||||
<asp:Label id="bh" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>单据名称:</span>
|
||||
<asp:Label id="djmc" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>订单类型:</span>
|
||||
<asp:Label id="ddlx" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>订单状态:</span>
|
||||
<asp:Label id="ddzt" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>下单日期:</span>
|
||||
<asp:Label id="xdrq" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>制单人:</span>
|
||||
<asp:Label id="zdr" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span>客户编号:</span>
|
||||
<asp:Label id="khbh" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>客户名称:</span>
|
||||
<asp:Label id="khmc" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>联系人:</span>
|
||||
<asp:Label id="lxr" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>联系方式:</span>
|
||||
<asp:Label id="lxfs" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>业务员:</span>
|
||||
<asp:Label id="ywy" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>审核人:</span>
|
||||
<asp:Label id="shr" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span>结账日期:</span>
|
||||
<asp:Label id="jzrq" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>审核结果:</span>
|
||||
<asp:Label id="shjg" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>审核时间:</span>
|
||||
<asp:Label id="shsj" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td><span>审核意见:</span>
|
||||
<asp:Label id="shyj" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td colspan="2"><span>订单备注:</span>
|
||||
<asp:Label id="ddbz" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>产品信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="cpxx" runat="server"></div>
|
||||
<table class="bule">
|
||||
<tr class="tdlietou">
|
||||
<td>
|
||||
<h4>费用信息</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="bule">
|
||||
<tr>
|
||||
<td><span>订单总金额:</span>
|
||||
<asp:Label id="ddzje" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<asp:HiddenField ID="id" runat="server" Value="" />
|
||||
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
function qrdjft() {
|
||||
if (confirm("确定要登记吗?")) {
|
||||
debugger
|
||||
|
||||
var jsonStr2 = "";
|
||||
//获取数据行的行数
|
||||
var hang = $("#djtb tr").length - 1;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
})
|
||||
|
||||
function jsgg(){
|
||||
debugger;
|
||||
;
|
||||
if($("#changdu").val()!=""&&$("#kuandu").val()=="")
|
||||
{
|
||||
$("#guige").val($("#changdu").val());
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
$("body", parent.document).find('#' + rowval).attr('name', wlzu[0]);
|
||||
$("body", parent.document).find('#' + rowval).val(wlzu[1]);
|
||||
} else if (pagename == "cpkc") {
|
||||
debugger;
|
||||
;
|
||||
if ($("body", parent.document).find('#wlmc' + rowval).length > 0) {
|
||||
$("body", parent.document).find('#wlmc' + rowval).val(wlzu[1]);
|
||||
$("body", parent.document).find('#wlbh' + rowval).val(wlzu[0]);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
var rowval = $("body", parent.document).find('#dialogcp').attr("tag");
|
||||
var pagename = $("body", parent.document).find('#pagename').val();
|
||||
if (pagename == 'cpbom') {
|
||||
debugger;
|
||||
;
|
||||
$("body", parent.document).find('#cpbh' + rowval).val(xinxizu[0]);
|
||||
$("body", parent.document).find('#cpmc'+ rowval).val(xinxizu[1]);
|
||||
$("body", parent.document).find('#mxlx'+ rowval).val("母件");
|
||||
|
|
|
|||
Loading…
Reference in New Issue