瀏覽代碼

商品库存去掉操作按钮

ymy 1 年之前
父節點
當前提交
9d519b6a43
共有 1 個文件被更改,包括 19 次插入19 次删除
  1. 19 19
      src/views/audit/store/index.vue

+ 19 - 19
src/views/audit/store/index.vue

@@ -81,7 +81,7 @@
 				},
 				columns: [
 					{
-						width: '200px',
+						// width: '200px',
 						title: '标题',
 						field: 'skuTitle',
 						// isDetail: true,
@@ -154,24 +154,24 @@
 								field: 'custom' + i,
 							});
 						});
-						moduleConfig.columns.push({
-							width: 120,
-							title: '操作',
-							action: true,
-							plugins: [{
-								name: '短驳',
-								event: {
-									click: (item : any) => {
-										(this as any).shortBarge(item)
-									}
-								}
-							}, {
-								name: '调拨',
-								event: {
-									click: (item : any) => (this as any).allocate(item)
-								}
-							}]
-						});
+						// moduleConfig.columns.push({
+						// 	width: 120,
+						// 	title: '操作',
+						// 	action: true,
+						// 	plugins: [{
+						// 		name: '短驳',
+						// 		event: {
+						// 			click: (item : any) => {
+						// 				(this as any).shortBarge(item)
+						// 			}
+						// 		}
+						// 	}, {
+						// 		name: '调拨',
+						// 		event: {
+						// 			click: (item : any) => (this as any).allocate(item)
+						// 		}
+						// 	}]
+						// });
 						(this as any).$refs.moduleView.setTableConfig(moduleConfig);
 					}
 				}).then(() => {