1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| //校验克重名称
|
| function verify_PaperWeightName(obj, msg, tips) {
| $.ajax({
| url: '/Pages/procurement/OA_PaperWeightEdit.aspx',
| type: "POST",
| dataType: "html",
| data: { PaperWeightName: $(obj).val(), varitype: "PaperWeightName", id: $("#txtId").val(), Goodsid: $("#selGoodName").val() },
| global: false,
| cache: false,
| success: function (msg) {
| //alert(msg);
| if (msg == '0') {
| set_flag_verify(obj, "已存在,请重新填写", tips, false);
| } else {
| set_flag_verify(obj, msg, tips, true);
| }
| }
| });
| set_flag_verify(obj, msg, tips, true);
| }
|
|