Quellcode durchsuchen

状态框修改

AlanWong vor 2 Jahren
Ursprung
Commit
675e2f568f

+ 2 - 1
src/views/audit/agencyGoods/index.vue

@@ -102,8 +102,9 @@
 						labelWidth: '70px',
 						compConfig: {
 							attr: {
-								placeholder: '请选择数据',
+								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'

+ 4 - 2
src/views/audit/attribute/index.vue

@@ -101,8 +101,9 @@
 						labelWidth: '80px',
 						compConfig: {
 							attr: {
-								placeholder: '请选择数据',
+								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'
@@ -121,8 +122,9 @@
 						labelWidth: '90px',
 						compConfig: {
 							attr: {
-								placeholder: '请选择数据',
+								placeholder: '请选择属性类型',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '销售属性'

+ 1 - 0
src/views/audit/brand/index.vue

@@ -76,6 +76,7 @@
 							attr: {
 								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'

+ 2 - 0
src/views/audit/distributor/index.vue

@@ -108,6 +108,7 @@
 							attr: {
 								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'
@@ -262,6 +263,7 @@
 							attr: {
 								placeholder: '请选择财务系统类型',
 								clearable: true,
+								size: 'small',
 								data: [
 									{
 										value: 'kingdee',

+ 38 - 30
src/views/audit/manufacturer/index.vue

@@ -1,33 +1,33 @@
 <template>
 	<div class="my-container">
 		<!-- <transition-group name="fade" style="position: relative;width: 100%;display: flex;"> -->
-			<div class="bill-left" v-show="isShow==='home'" key="item">
-				<div class="bill-tab">
-					<div class="bill-title">导航</div>
-					<side-tree :propConfig="treeConfig" @onChange="onChangeTree" ref="sideTree" />
-				</div>
+		<div class="bill-left" v-show="isShow==='home'" key="item">
+			<div class="bill-tab">
+				<div class="bill-title">导航</div>
+				<side-tree :propConfig="treeConfig" @onChange="onChangeTree" ref="sideTree" />
 			</div>
-			<div class="bill-main" v-show="isShow==='home'" key="item2">
-				<module-view :propConfig="config" ref="moduleView" @pagination="getDataList" @search="getDataList"
-					@resert="onRefresh" @clickHandle="clickHandle" @detail="openEdit" @onRefresh="onRefresh">
-				</module-view>
-			</div>
-			<!-- 新增/编辑弹窗 -->
-			<div class="detil" v-show="isShow==='add'" key="item3">
-				<by-tool :propConfig="toolConfig" @clickHandle="insideTools" ref="byTool" />
-				<div class="box-shadow">
-					<by-form :propConfig="addConfig" ref="addFormId">
-						<template v-slot:k3ServerUrl="{value}" class="clearfix">
-							<i class="el-icon-question" title="私有云必须配置金蝶云星空产品地址,K3Cloud/结尾,若为公有云则必须置空"></i>
-							<vxe-input v-model="value.k3ServerUrl" style="width:calc(100% - 25px);margin-left: 10px;"></vxe-input>
-						</template>
-						<template v-slot:status class="clearfix">
-							<el-radio class="fl" style="margin-top: 8px;" v-model="radio" :label="0">正常</el-radio>
-							<el-radio class="fl" style="margin-top: 8px;" v-model="radio" :label="1">禁用</el-radio>
-						</template>
-					</by-form>
-				</div>
+		</div>
+		<div class="bill-main" v-show="isShow==='home'" key="item2">
+			<module-view :propConfig="config" ref="moduleView" @pagination="getDataList" @search="getDataList"
+				@resert="onRefresh" @clickHandle="clickHandle" @detail="openEdit" @onRefresh="onRefresh">
+			</module-view>
+		</div>
+		<!-- 新增/编辑弹窗 -->
+		<div class="detil" v-show="isShow==='add'" key="item3">
+			<by-tool :propConfig="toolConfig" @clickHandle="insideTools" ref="byTool" />
+			<div class="box-shadow">
+				<by-form :propConfig="addConfig" ref="addFormId">
+					<template v-slot:k3ServerUrl="{value}" class="clearfix">
+						<i class="el-icon-question" title="私有云必须配置金蝶云星空产品地址,K3Cloud/结尾,若为公有云则必须置空"></i>
+						<vxe-input v-model="value.k3ServerUrl" style="width:calc(100% - 25px);margin-left: 10px;"></vxe-input>
+					</template>
+					<template v-slot:status class="clearfix">
+						<el-radio class="fl" style="margin-top: 8px;" v-model="radio" :label="0">正常</el-radio>
+						<el-radio class="fl" style="margin-top: 8px;" v-model="radio" :label="1">禁用</el-radio>
+					</template>
+				</by-form>
 			</div>
+		</div>
 		<!-- </transition-group> -->
 	</div>
 </template>
@@ -65,8 +65,8 @@
 			}
 		}
 		config : any = {
-			attr:{
-				calculateH:true
+			attr: {
+				calculateH: true
 			},
 			search: {
 				attr: {
@@ -108,6 +108,7 @@
 							attr: {
 								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'
@@ -262,6 +263,7 @@
 							attr: {
 								placeholder: '请选择财务系统类型',
 								clearable: true,
+								size: 'small',
 								data: [
 									{
 										value: 'kingdee',
@@ -331,7 +333,7 @@
 		onChangeTree(e : any) {
 			this.categoryIds = e.id;
 			let loading = this.$loading({ target: '.main-container' });
-			api.byCategoryPage({ categoryId: e.id,type:3 }, 'maindataOrganizationCategory').then((res : any) => {
+			api.byCategoryPage({ categoryId: e.id, type: 3 }, 'maindataOrganizationCategory').then((res : any) => {
 				if (res.code === 200) {
 					(this.$refs.moduleView as any).setTableValue(res.data.records);
 					let page = {
@@ -410,8 +412,8 @@
 				loading.close();
 				if (res.code === 200) {
 					res.data.records.map((v : any) => {
-						if(v.financeType==='kingdee')v.financeType2 = '金蝶K3';
-						if(v.financeType==='yonbip')v.financeType2 = '用友U8';
+						if (v.financeType === 'kingdee') v.financeType2 = '金蝶K3';
+						if (v.financeType === 'yonbip') v.financeType2 = '用友U8';
 					});
 					(this.$refs.moduleView as any).setTableValue(res.data.records);
 					let page = {
@@ -486,23 +488,27 @@
 		display: flex;
 		padding: 16px;
 		height: 100%;
+
 		.bill-left {
 			position: relative;
 			border-right: solid #EEE 1px;
 			padding-right: 16px;
 			flex-shrink: 0;
+
 			.bill-tab {
 				width: 150px;
 				height: 100%;
 				transition: all .5s;
 				overflow: hidden;
 			}
+
 			.tab-title {
 				font-size: 16px;
 				padding-bottom: 16px;
 				width: 200px;
 			}
 		}
+
 		.bill-main {
 			width: calc(100% - 16px);
 			box-sizing: border-box;
@@ -511,8 +517,10 @@
 			height: 100%;
 			overflow-y: hidden;
 		}
+
 		.detil {
 			width: 100%;
+
 			.box-shadow {
 				box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
 				padding: 20px;

+ 1 - 0
src/views/audit/order/index.vue

@@ -207,6 +207,7 @@
 									attr: {
 										placeholder: '请选择状态',
 										clearable: true,
+										size: 'small',
 										data: [{
 											value: 0,
 											label: '未接单'

+ 4 - 1
src/views/audit/orderTask/index.vue

@@ -308,6 +308,7 @@
 									attr: {
 										placeholder: '请选择状态',
 										clearable: true,
+										size: 'small',
 										data: [{
 											value: 0,
 											label: '未接单'
@@ -453,6 +454,7 @@
 									attr: {
 										placeholder: '请选择状态',
 										clearable: true,
+										size: 'small',
 										data: [{
 											value: 0,
 											label: '未接单'
@@ -596,7 +598,7 @@
 									attr: {
 										placeholder: '请选择状态',
 										clearable: true,
-										// valueType:'number',
+										size: 'small',
 										data: [{
 											value: 0,
 											label: '未接单'
@@ -757,6 +759,7 @@
 									attr: {
 										placeholder: '请选择状态',
 										clearable: true,
+										size: 'small',
 										data: [{
 											value: 0,
 											label: '未接单'

+ 1 - 0
src/views/audit/organClassify/index.vue

@@ -84,6 +84,7 @@
 							attr: {
 								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'

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

@@ -362,7 +362,7 @@
 							{
 								span: 6,
 								label: '单据编号',
-								prop: 'outOrderNo',
+								prop: 'orderNumber',
 								component: 'by-input',
 								compConfig: {
 									attr: {
@@ -474,7 +474,7 @@
 							{
 								span: 6,
 								label: '单据编号',
-								prop: 'outOrderNo',
+								prop: 'orderNumber',
 								component: 'by-input',
 								compConfig: {
 									attr: {
@@ -579,7 +579,7 @@
 							{
 								span: 6,
 								label: '单据编号',
-								prop: 'outOrderNo',
+								prop: 'orderNumber',
 								component: 'by-input',
 								compConfig: {
 									attr: {
@@ -712,7 +712,7 @@
 							{
 								span: 6,
 								label: '单据编号',
-								prop: 'outOrderNo',
+								prop: 'orderNumber',
 								component: 'by-input',
 								compConfig: {
 									attr: {

+ 2 - 1
src/views/audit/productClassification/index.vue

@@ -97,8 +97,9 @@
 						labelWidth: '70px',
 						compConfig: {
 							attr: {
-								placeholder: '请选择数据',
+								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'

+ 2 - 2
src/views/audit/productManagement/index.vue

@@ -286,7 +286,7 @@
 				},
 				{
 					width: '90px',
-					title: '重量/g',
+					title: '重量/kg',
 					field: 'weight',
 					component: 'by-input',
 					compConfig: {
@@ -455,7 +455,7 @@
 				},
 				{
 					width: '80px',
-					title: '重量/g',
+					title: '重量/kg',
 					field: 'weight',
 					component: 'by-input',
 					compConfig: {

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

@@ -125,7 +125,7 @@
 				},
 				{
 					width: '90px',
-					title: '重量/g',
+					title: '重量/kg',
 					field: 'weight',
 					compConfig: {
 						attr: {
@@ -279,7 +279,7 @@
 					},
 					{
 						width: '80px',
-						title: '重量/g',
+						title: '重量/kg',
 						field: 'weight',
 					},
 					{

+ 2 - 0
src/views/audit/supplier/index.vue

@@ -106,6 +106,7 @@
 							attr: {
 								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'
@@ -260,6 +261,7 @@
 							attr: {
 								placeholder: '请选择财务系统类型',
 								clearable: true,
+								size: 'small',
 								data: [
 									{
 										value: 'kingdee',

+ 2 - 1
src/views/audit/virtually/index.vue

@@ -97,8 +97,9 @@
 						labelWidth: '70px',
 						compConfig: {
 							attr: {
-								placeholder: '请选择数据',
+								placeholder: '请选择状态',
 								clearable: true,
+								size: 'small',
 								data: [{
 									value: 0,
 									label: '正常'