Browse Source

sku管理页面查询

AlanWong 1 năm trước cách đây
mục cha
commit
71230901ae

+ 17 - 9
src/views/audit/productManagement/index.vue

@@ -111,7 +111,6 @@
 		</div>
 		<!-- 选择物料 -->
 		<productModal ref="product" :mulit="true" @confirm="confirmProduct" />
-		<!-- <productDialog ref="product" :mulit="true" @confirm="confirmProduct" /> -->
 	</div>
 </template>
 <script lang="ts">
@@ -121,6 +120,7 @@
 	import ForTab from "@/components/ForTab/index.vue";
 	import productModal from "../orderTask/components/productModal.vue";
 	import brandType from "./components/brandType.vue";
+	import selectKin from "./components/selectKin.vue";
 	@Component({ components: { ForTab, productModal, brandType } })
 	export default class productManagement extends Vue {
 		tagsData : any = [] // 标签值
@@ -176,7 +176,7 @@
 		singleTable : any = {
 			attr: {
 				size: 'mini',
-				align: 'center',
+				align: 'left',
 			},
 			columns: [
 				{
@@ -215,6 +215,10 @@
 						},
 					}
 				},
+				{
+					width: '55px',
+					component: selectKin
+				},
 				{
 					width: '140px',
 					title: '财务编号',
@@ -266,13 +270,13 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '70px',
 					title: '库存',
 					field: 'stock',
 					slot: true,
 				},
 				{
-					width: '110px',
+					width: '100px',
 					title: '保质期(天)',
 					field: 'shelfLife',
 					component: 'by-input',
@@ -285,7 +289,7 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '80px',
 					title: '重量/kg',
 					field: 'weight',
 					component: 'by-input',
@@ -298,7 +302,7 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '80px',
 					title: '长/cm',
 					field: 'length',
 					component: 'by-input',
@@ -311,7 +315,7 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '80px',
 					title: '宽/cm',
 					field: 'width',
 					component: 'by-input',
@@ -324,7 +328,7 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '80px',
 					title: '高/cm',
 					field: 'height',
 					component: 'by-input',
@@ -337,7 +341,7 @@
 					}
 				},
 				{
-					width: '90px',
+					width: '80px',
 					title: '体积/cm³',
 					field: 'volume',
 				},
@@ -385,6 +389,10 @@
 						},
 					}
 				},
+				{
+					width: '55px',
+					component: selectKin
+				},
 				{
 					width: '140px',
 					title: '财务编号',

+ 1 - 1
src/views/audit/sku/index.vue

@@ -201,7 +201,7 @@
 						{
 							span: 6,
 							label: '财务编号',
-							prop: 'financialCode',
+							prop: 'accountingCode',
 							component: 'by-input',
 							compConfig: {
 								attr: {

+ 0 - 1
src/views/audit/warehousing/components/towInOne.vue

@@ -87,7 +87,6 @@
 		openModal() {
 			let data = (this as any).$lodash.cloneDeep(this.propValue);
 			data = data.split(',');
-			console.log(data);
 			console.log(this.parentValue);
 			setTimeout(() => {
 				(this as any).$refs.form.setValue({