|
@@ -3185,14 +3185,29 @@ export default {
|
|
|
storageCondition: "storageCondition", // 存储条件
|
|
|
storageCondition: "storageCondition", // 存储条件
|
|
|
classifyId: "classifyId",
|
|
|
+ deliveryWarehouse: null,
|
|
|
+ deliveryWarehouseName: null, // 收货仓库
|
|
|
+ deliveryAllocation: null,
|
|
|
+ deliveryAllocationName: null, // 收货货位
|
|
|
+ deliveryAddress: null,
|
|
|
+ deliveryAddressName: null, // 收货地址
|
|
|
+ buyer: null,
|
|
|
+ buyerName: null, // 采购员
|
|
|
+ deliveryDate: null, // 交货日期
|
|
|
+ averageQtyMonth: null, // 月均销量
|
|
|
+ demandPeriod: null, // 需求可用周期
|
|
|
};
|
|
|
|
|
|
let { billType } = this.basicForm;
|
|
|
- row.isUrgency = billType == "JJXQ" ? "Y" : "N";
|
|
|
- row.isReplenishment = billType == "BDXQ" ? "Y" : "N";
|
|
|
+ row.isUrgency = billType == "JJXQ" ? "Y" : "N"; // 紧急标识
|
|
|
+ row.isReplenishment = billType == "BDXQ" ? "Y" : "N"; // 补单标识
|
|
|
|
|
|
for (const key in fieldObject) {
|
|
|
- row[key] = source[fieldObject[key]];
|
|
|
+ if (fieldObject[key]) {
|
|
|
+ row[key] = source[fieldObject[key]];
|
|
|
+ } else {
|
|
|
+ row[key] = null;
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
row.materialCode = null;
|