提交 99a4e360 编写于 作者: L LAPTOP-UV1MNL38\18023

feat:转采购入库

上级 9d349f79
......@@ -143,7 +143,7 @@ layui.config({
loadTable();
}});
}
//转到货单
function transferToWaybill(data){
parent._openNewWindows({
url: "../../tpl/purchaseOrder/purchaseToWaybill.html?id=" + data.id,
......
......@@ -16,13 +16,14 @@ layui.config({
var id = GetUrlParam("id");
// 采购合同转采购订单
AjaxPostUtil.request({url: sysMainMation.erpBasePath + "querySupplierContractTransById", params: {id: id}, type: 'json', method: 'GET', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.erpBasePath + "guerypurchase0rderTransById", params: {id: id}, type: 'json', method: 'GET', callback: function (json) {
let data = json.bean;
data.erpOrderItemList = data.supplierContractChildList
// data.erpOrderItemList = data.supplierContractChildList
console.log(data)
// 采购订单的【编辑布局】
dsFormUtil.initEditPageForStatic('content', 'FP2023042300002', data, {
dsFormUtil.initEditPageForStatic('content', 'FP2023042000002', data, {
savePreParams: function (params) {
console.log(params)
// params.holderId=data.objectId
// params.holderKey=data.objectKey
// params.id=id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册