修复订单转采购或销售单的bug
This commit is contained in:
@@ -1107,11 +1107,12 @@
|
||||
//如果是订单跳转到采购或销售
|
||||
if(pageType === "skip") {
|
||||
var skipList = $("#depotHeadFM .datagrid-body tr");
|
||||
var input = ".datagrid-editable-input";
|
||||
//逐条自动点击每行数据
|
||||
skipList.each(function (i) {
|
||||
setTimeout(function () {
|
||||
skipList.eq(i).find("[field='Stock']").click();
|
||||
},(i+1)*1000);
|
||||
skipList.eq(i).find("[field='Remark']").click().find(input).val("来自订单"); //此处为确保订单转销售成功,勿删
|
||||
},(i+1)*200);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user