|
|
@@ -144,6 +144,7 @@ function actionRenderer(e) {
|
|
|
html += getGridBtn("edit", "查单备注", "checkMemoFn('" + ctid+ "')");
|
|
|
html += getGridBtn("dis", "发货", "deliveryFn('" + ctid + "','" + record.seller_nick + "')");
|
|
|
html += getGridBtn("dis", "标记已发", "setBuchaDelivery('" + ctid + "')");
|
|
|
+ html += getGridBtn("dis", "问题反馈", "setIssueContent('" + ctid + "')");
|
|
|
if (userPostCode != "Supplier") {
|
|
|
html += getGridBtn("edit", "成本登记", "showPriceWin('" + ctid + "','" + record.payment_cyt + "','" + record.SupplierName + "')");
|
|
|
}
|
|
|
@@ -152,7 +153,22 @@ function actionRenderer(e) {
|
|
|
}
|
|
|
return html;
|
|
|
}
|
|
|
-
|
|
|
+function canceIssueFn() {
|
|
|
+ mini.get("issue_win").hide();
|
|
|
+}
|
|
|
+function setIssueContent(eid) {
|
|
|
+ edit_id = eid;
|
|
|
+ mini.get("issue_win").show();
|
|
|
+}
|
|
|
+function saveIssueFn() {
|
|
|
+ var parms = new Object();
|
|
|
+ parms.ctid = edit_id;
|
|
|
+ parms.content = $("#txtIssue").val();
|
|
|
+ postAjax("saveIssueContent", parms, function (data) {
|
|
|
+ mini.get("issue_win").hide();
|
|
|
+ resultShow(data, "grid.reload();");
|
|
|
+ });
|
|
|
+}
|
|
|
function downAtta(url) {
|
|
|
if (!!url) {
|
|
|
const link = document.createElement('a');
|