function edit(){
if (table1.primarykey){
location="edit.htm?key=" + table1.primarykey;
}
}
function del(){
if(table1.primarykey){
location="del.htm?key=" + table1.primarykey;
}
}
function xcedit(){
if (table1.primarykey){
location="xcedit.htm?key=" + table1.primarykey;
}
}
function xcdel(){
if(table1.primarykey){
location="xcdel.htm?key=" + table1.primarykey;
}
}
function xcdel1(){
if(table1.primarykey){
location="xcdel.htm?key1=" + table1.primarykey;
}
}
function xcdel2(){
if(table1.primarykey){
location="xcdel.htm?key2=" + table1.primarykey;
}
}
function scbg(){
if(table1.primarykey){
location="scbg.htm?key=" + table1.primarykey;
}
}
function ckbg(){
if(table1.primarykey){
location="ckbg.htm?key=" + table1.primarykey;
}
}
function mldysc(){
if(table1.primarykey){
location="mldysc.htm?key=" + table1.primarykey;
}
}
function mlcysc(){
if(table1.primarykey){
location="mlcysc.htm?key=" + table1.primarykey;
}
}
function mledit(){
if(table1.primarykey){
location="mledit.htm?key=" + table1.primarykey;
}
}
function mldysh(){
if(table1.primarykey){
location="mldysh.htm?key=" + table1.primarykey;
}
}
function mldysh2(){
if(table1.primarykey){
location="mldysh.htm?key2=" + table1.primarykey;
}
}
function mldysh1(){
location="mldysh.htm?flt=1";
}
function jcblsh(){
if(table1.primarykey){
location="jcblsh.htm?key=" + table1.primarykey;
}
}
function jcblsh2(){
if(table1.primarykey){
location="jcblsh.htm?key2=" + table1.primarykey;
}
}
function jcblsh1(){
location="jcblsh.htm?flt=1";
}
function yykfsc(){
If(table1.primarykey){
location="yykfsc.htm?key=" + table1.primarykey;
}
}
function yykfsc1(){
If(table1.primarykey){
location="yykfsc.htm?id=1&key=" + table1.primarykey;
}
}
function yykfsh(){
If(table1.primarykey){
location="yykfsh.htm?key=" + table1.primarykey;
}
}
function yykfsh2(){
If(table1.primarykey){
location="yykfsh.htm?key2=" + table1.primarykey;
}
}
function yykfsh1(){
location="yykfsh.htm?flt=1";
}
function calc(){
document.getElementById("总费用").value = document.getElementById("单价").value * document.getElementById("实际到样_数量").value - ( - document.getElementById("运费").value);
}