Explorar el Código

单据出库单物料显示问题修复

hcf hace 1 año
padre
commit
248db0adef
Se han modificado 1 ficheros con 16 adiciones y 4 borrados
  1. 16 4
      src/views/audit/outbound/index.vue

+ 16 - 4
src/views/audit/outbound/index.vue

@@ -1107,7 +1107,14 @@
 								}]
 							})
 						};
-						billConfig.tableConfig[0].table.columns[7] = {
+						console.log(billConfig.tableConfig[0].table.columns)
+						billConfig.tableConfig[0].table.columns[6] = {
+							width: 150,
+							title: '批次号',
+							field: 'batchNumber',
+							component: 'by-input',
+						}
+						billConfig.tableConfig[0].table.columns[8] = {
 							width: 120,
 							title: '数量',
 							field: 'number',
@@ -1120,7 +1127,7 @@
 								},
 							}
 						};
-						billConfig.tableConfig[0].table.columns[10] = {
+						billConfig.tableConfig[0].table.columns[11] = {
 							width: 90,
 							title: '单价',
 							field: 'unitPrice',
@@ -1218,12 +1225,17 @@
 				if (parentData.submitState === 1) readonly.tool.tools = { return: true, returnSmt: true, print: true };
 			}
 			readonly.tableConfig[0].table.columns = readonly.tableConfig[0].table.columns.filter((v : any) => v.title != '操作');
-			readonly.tableConfig[0].table.columns[7] = {
+			readonly.tableConfig[0].table.columns[6] = {
+				width: 150,
+				title: '批次号',
+				field: 'batchNumber',
+			};
+			readonly.tableConfig[0].table.columns[8] = {
 				width: 120,
 				title: '数量',
 				field: 'number',
 			};
-			readonly.tableConfig[0].table.columns[10] = {
+			readonly.tableConfig[0].table.columns[11] = {
 				width: 90,
 				title: '单价',
 				field: 'unitPrice',