function Select_meqt(a,b) //a,記錄的是物料類型,b記錄的是開發報價單資料
{
  
if (a.value=="0")
  {
    b.options.length
=4;
    b.options[
0].text="--None--";
    b.options[
0].value="";
    b.options[
1].text="皮料類";
    b.options[
1].value="SKIN";
    b.options[
2].text="梭織類";
    b.options[
2].value="TATTING";
    b.options[
3].text="針織類";
    b.options[
3].value="KNITTING";
  }
  
else if(a.value=="1")
  {
    b.options.length
=3;
    b.options[
0].text="--None--";
    b.options[
0].value="";
    b.options[
1].text="五金類";
    b.options[
1].value="METALS";
    b.options[
2].text="其它類";
    b.options[
2].value="OTHER";
  }
  
else
  {
    alert(
"請選擇好物料類別");
    a.focus();
    b.options.length
=1;
    b.options[
0].text="--None--";
    b.options[
0].value="";
  }
}

相关文章:

  • 2021-10-01
  • 2021-10-21
  • 2021-07-09
  • 2021-12-28
  • 2021-12-31
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2022-02-16
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
相关资源
相似解决方案