From a7e05ebe00fdcb649c012e5afc4a42a8d631e824 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 02 四月 2025 08:38:24 +0800
Subject: [PATCH] 删除客户管理查询条件中的“客户编号” 完成 新增订单---黑白印件 的后道工序最右边增加一个“口 竖式”,同前面套号、压痕一样,默认不勾选,是竖式的业务经理自己下单时勾选 完成提交外协付款申请时,增加上传审批证明的上传图片功能,可以添加多张图片;查询列表中增加“付款状态:全部、已付款、未付款”查询条件,默认全部;“完工状态”改为默认未完工 完成请示批复----付款申请 中也要向上面的需求一样,增加上传审批证明的上传图片功能,可以添加多张图片 完成在“请示批复”中进行“批复”操作的时候要能查看上传的审批图片 完成包装要求”要显示在打印的订单中 完成包装要求”要显示在打印的订单中 完成收据联单的新增订单中,纸张选无碳纸时,不显示“品牌”、“克重”,在联数的后面增加颜色选择:“颜色:上白下红”(匹配联数)订单管理中的“订单状态”删除,删除后新增两个状态:“完工状态:全部、未完工、已完工”和“送货状态:全部、已送货、未送货” 完成请示批复中默认“未批复” 完成请示批复中默认“未批复” 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestAdd.aspx | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 118 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestAdd.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestAdd.aspx
index 540502c..232079f 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestAdd.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestAdd.aspx
@@ -19,9 +19,13 @@
if ($(this).val() == "15") {
$(".trShoukuandanwei").css("display", "table-row");
+
+ $(".shangchanfujian").show();
} else {
$(".trShoukuandanwei").css("display", "none");
+
+ $(".shangchanfujian").hide();
}
@@ -37,9 +41,11 @@
if ($("#selPlanDataType").val() == "15") {
$(".trShoukuandanwei").css("display", "table-row");
+ $(".shangchanfujian").show();
} else {
$(".trShoukuandanwei").css("display", "none");
+ $(".shangchanfujian").hide();
}
SelectAddSearch();
@@ -93,6 +99,74 @@
});
});
}
+
+
+
+
+ //鏌ョ湅
+ function checkSelFile() {
+
+ var oFile = document.getElementById('file1');
+ if (oFile.value == "") {
+ alertMsg('娌℃湁閫夋嫨鏂囦欢');
+ return;
+
+ }
+
+
+
+ var formData = new FormData();
+ formData.append('file', oFile.files[0]); // this.files[0]鏄枃浠跺璞�
+
+
+ $.ajax({
+ url: 'https://yocaisim.51zhengcai.com/api/UpFile/UpdateFile', // 鏇挎崲涓轰綘鐨勬湇鍔″櫒绔偣
+ type: 'POST',
+ data: formData,
+ contentType: false,
+ processData: false,
+ async: false, // 璁剧疆涓哄悓姝�
+ success: function (response) {
+ console.log('File uploaded successfully:', response);
+ if (response.code == 1) {
+
+ $(".AddTab").last().after($(".AddTab").last().clone(true));
+ $(".AddTab").last().show();
+ $("input[name='HideKeyidFapiao']").last().val("");
+ $("input[name='HideAttachmentFapiao']").last().val(response.data);
+ $('a[name="HrefAttachmentFapiao"]').last().attr("href", response.data);
+ $('a[name="HrefAttachmentFapiao"]').last().html('<img src="' + response.data + '" width="20" height="20" />');
+ alertMsg('涓婁紶鎴愬姛');
+ } else {
+ alertMsg('涓婁紶澶辫触');
+ }
+
+
+ },
+ error: function (xhr, status, error) {
+ console.error('File upload failed:', status, error);
+ alertMsg('涓婁紶澶辫触');
+ }
+ });
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+ function deletefujian(obj) {
+ if (confirm("鏄惁鍒犻櫎閫変腑鏁版嵁锛�")) {
+ $(obj).parent().parent().remove()
+ }
+ }
+
</script>
</head>
<body>
@@ -168,6 +242,50 @@
<textarea id="txtPlanRemark" runat="server" style="width: 390px; height: 50px;" ></textarea>
</td>
</tr>
+ <tr class="shangchanfujian">
+ <td class="ali03 w100px">
+ 瀹℃壒璇佹槑锛�
+ </td>
+ <td colspan="3">
+ <input type="file" id="file1" name="__hetongFile" keepdefaultstyle="true" runat="server" text="璇烽�夋嫨鏂囦欢" />
+ <input type="button" value="涓婁紶鍥剧墖" onclick="checkSelFile();" />
+ </td>
+
+ </tr>
+ <tr class="AddTab" style="display:none;" >
+ <td class="ali03 w100px">
+
+ </td>
+ <td colspan="3">
+ <input type="hidden" name="HideKeyidFapiao" value="0" />
+ <input type="hidden" name="HideAttachmentFapiao" value="" />
+ <a title="鏌ョ湅鍥剧墖" name="HrefAttachmentFapiao" target="view_window" href="0">
+ 鍥剧墖
+ </a>
+ <a name="shanchuAttachmentFapiao" href="#" onclick="deletefujian(this);" >
+ X
+ </a>
+ </td>
+ </tr>
+ <asp:Repeater ID="RepClientList" runat="server">
+ <ItemTemplate>
+ <tr class="AddTab shangchanfujian" >
+ <td class="ali03 w100px">
+
+ </td>
+ <td colspan="3">
+ <input type="hidden" name="HideKeyidFapiao" value="<%#Eval("Keyid")%>" />
+ <input type="hidden" name="HideAttachmentFapiao" value="<%#Eval("PlanAttachment")%>" />
+ <a title="鏌ョ湅鍥剧墖" name="HrefAttachmentFapiao" target="view_window" href="<%#Eval("PlanAttachment")%>">
+ <img src="<%#Eval("PlanAttachment")%>" width="20" height="20" />
+ </a>
+ <a name="shanchuAttachmentFapiao" href="#" onclick="deletefujian(this);" >
+ X
+ </a>
+ </td>
+ </tr>
+ </ItemTemplate>
+ </asp:Repeater>
<tr>
<td colspan="4" style="text-align: center;">
<asp:Button ID="btn_submit" runat="server" OnClick="btn_submit_form" Text="鎻愪氦" />
--
Gitblit v1.9.1