链链接菜单 [英] chain link menus

查看:149
本文介绍了链链接菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作一份报价单.

我需要选择某个项目的数量,并使其与成本相对应,然后将其标记出来.

我基本上想制作一个像excel一样的表格,但是多年以来我都没有使用过javascript,而且我不确定这对于直接的html是否足够简单.

有人可以帮忙吗?

是否可以在表格中放置下拉菜单?
例子

零件名称/数量/成本

第1部分/菜单1-5/根据数量的成本
第2部分/菜单1-5/根据数量的成本

下拉菜单仅在数量部分中.

I''m trying to make a document for quoting sales.

I need to select a quantity of a certain item and have it correspond with a cost and then mark it up.

I basically want to make a form that is like excel but I haven''t used javascript in years and im not sure if this is simple enough for straight html.

Could somebody please help?

Is this possible to put in drop down menus in a table?
Example

Part Name / Quantity / Cost

part1 / menu 1-5 / cost according to quantity
part2 / menu 1-5 / cost according to quantity

the drop down menu would only be in the quantity section

推荐答案

这非常简单,您只需要在数组中提供可用的成本和加价值即可.使用textchanged或blur事件获取数量乘以成本并添加标记.
It is fairly simple, you just need to have the cost and markup values available, perhaps in an array. Use the textchanged or blur event to get the quantity multiply by cost and add markup.


这篇关于链链接菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆