Commit fafde813 authored by XieZhiXiong's avatar XieZhiXiong

fixbug

parent 718541f4
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-09-16 15:16:47
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-11-25 16:29:06
* @LastEditTime: 2020-11-25 17:25:55
* @Description: 联动逻辑相关
*/
import { Modal } from 'antd';
......@@ -314,7 +314,7 @@ const getParams = type => {
},
tableProps: {
rowKey: 'orderNo',
lableKey: '',
lableKey: 'orderNo',
},
};
......@@ -325,7 +325,6 @@ const getParams = type => {
basicParams.columns = purchaseOrderColumns;
basicParams.fetchTableData = fetchOrderPurchaseReceiptAddList;
basicParams.formilyProps.ctx.schema = purchaseOrderBillSchema;
basicParams.tableProps.lableKey = 'orderNo';
break;
}
......@@ -335,7 +334,6 @@ const getParams = type => {
basicParams.columns = salesOrderColumns;
basicParams.fetchTableData = getOrderSalesInvoiceOrderList;
basicParams.formilyProps.ctx.schema = purchaseOrderBillSchema; // 这里用同一个 schema 是因为接口参数名是一样的,后台做了处理
basicParams.tableProps.lableKey = 'orderNo';
break;
}
......@@ -345,7 +343,6 @@ const getParams = type => {
basicParams.columns = machiningWarehousingColumns;
basicParams.fetchTableData = getMachiningWarehousingList;
basicParams.formilyProps.ctx.schema = machiningWarehousingBillSchema;
basicParams.tableProps.lableKey = 'noticeNo';
break;
}
......@@ -355,7 +352,6 @@ const getParams = type => {
basicParams.columns = machiningDeliveryColumns;
basicParams.fetchTableData = getMachiningDeliveryList;
basicParams.formilyProps.ctx.schema = machiningDeliveryBillSchema;
basicParams.tableProps.lableKey = 'noticeNo';
break;
}
......
......@@ -660,6 +660,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
produceNoticeOrderDetailId: extraData.id,
orderNo: extraData.orderNo,
processNum: extraData.processNum,
productName: extraData.productName,
storageCount: productCount,
};
}),
......@@ -709,6 +710,7 @@ const BillsForm: React.FC<BillsFormProps> = ({
produceNoticeOrderDetailId: extraData.id,
orderNo: extraData.orderNo,
processNum: extraData.processNum,
productName: extraData.productName,
shipmentQuantity: productCount,
};
}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment