改样式

dev
lilu 2 years ago
parent 4072b81821
commit 8d0ae4ba23

@ -1412,5 +1412,22 @@ export default {
background: #fff; background: #fff;
transition: 0.5s all; transition: 0.5s all;
} }
/deep/ form .has-success .ant-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-error .ant-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-success .ant-calendar-picker-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-feedback .ant-input{
padding-right: 10px !important;
background: #f99 !important;
}
</style> </style>

@ -278,7 +278,7 @@
<a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.etd" @change="changeEtd"> <a-date-picker class="date-picker" format="YYYY-MM-DD" v-model="details.etd" @change="changeEtd">
<a-icon slot="suffixIcon" type="time" style="display: none" /> <a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker> </a-date-picker>
<span class="week" v-if="etdWeek">W{{ etdWeek || '--' }}</span> <span class="week" v-if="etdWeek !== 'NaN'">W{{ etdWeek || '--' }}</span>
</div> </div>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -606,12 +606,12 @@ export default {
labelCol: { labelCol: {
xs: { span: 24 }, xs: { span: 24 },
sm: { span: 8 }, sm: { span: 8 },
md: { span: 10 } md: { span: 9 }
}, },
wrapperCol: { wrapperCol: {
xs: { span: 24 }, xs: { span: 24 },
sm: { span: 15 }, sm: { span: 15 },
md: { span: 13 } md: { span: 15 }
}, },
labelCol2: { labelCol2: {
xs: { span: 24 }, xs: { span: 24 },
@ -1469,17 +1469,17 @@ export default {
.week { .week {
display: inline-block; display: inline-block;
padding: 0 6px; padding: 0 0px;
background: #f6c806; background: #f6c806;
color: #fff; color: #fff;
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
border: 4px; border: 4px;
margin-top: 2px; font-size: 10px;
font-size: 12px;
margin-left: 8px; margin-left: 8px;
border-radius: 2px; border-radius: 2px;
width: 40px; width: 32px;
text-align: center;
} }
} }
@ -1551,6 +1551,82 @@ export default {
color: #999; color: #999;
} }
} }
/deep/ .ant-form-item-children-icon{
display: none !important;
}
/deep/ .ant-input-suffix{
right:0 !important;
}
.has-error{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 8px !important;
}
}
.has-success{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 8px !important;
}
}
/deep/ .has-success .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-success .ant-input{
padding-right: 0 !important;
}
/deep/ .has-error .ant-input{
padding-right: 0 !important;
}
/deep/ form .has-success .ant-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-error .ant-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-success .ant-calendar-picker-input{
padding-right: 0 !important;
background: #f99 !important;
}
/deep/ form .has-feedback input{
padding-right: 10px !important;
background: #f99 !important;
}
// .ant-calendar-picker-input{ // .ant-calendar-picker-input{
// padding: 0 4px; // padding: 0 4px;

@ -751,4 +751,47 @@ export default {
.ant-collapse-item { .ant-collapse-item {
border-bottom: none; border-bottom: none;
} }
.has-error{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
.has-success{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
/deep/ .has-success .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow{
right: 8px !important;
}
</style> </style>

@ -404,4 +404,48 @@ export default {
left: 0; left: 0;
} }
} }
.has-error{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
.has-success{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
/deep/ .has-success .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow{
right: 8px !important;
}
</style> </style>

@ -1904,8 +1904,8 @@ export default {
@media (max-width: 1700px) { @media (max-width: 1700px) {
.feeself { .feeself {
top: 15px !important; top: 11px !important;
right: -22px !important; right: -27px !important;
} }
.yarn-label { .yarn-label {
position: relative; position: relative;
@ -1917,4 +1917,49 @@ export default {
} }
} }
} }
.has-error{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
.has-success{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
/deep/ .has-success .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow{
right: 8px !important;
}
</style> </style>

@ -1351,7 +1351,6 @@ export default {
removeModel() { removeModel() {
if (this.modelType === 'initCabin') { if (this.modelType === 'initCabin') {
// //
debugger
this.DelLoading = true this.DelLoading = true
DeleteLetterYard(this.id) DeleteLetterYard(this.id)
.then(res => { .then(res => {
@ -1387,7 +1386,6 @@ export default {
// } // }
// } // }
// } // }
debugger
SaveBookingLetteryard(this.initCabinFrom) SaveBookingLetteryard(this.initCabinFrom)
.then(res => { .then(res => {
if (res.success) { if (res.success) {

@ -123,4 +123,48 @@ export default {
.ant-form-item{ .ant-form-item{
margin-bottom: 0px !important; margin-bottom: 0px !important;
} }
.has-error{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
.has-success{
.ant-input{
margin-right: 0 !important;
}
.ant-input-suffix{
padding-right: 0 !important;
}
.ant-select-selection__rendered{
margin-right: 0 !important;
}
.ant-select-arrow{
right: 0 !important;
}
}
/deep/ .has-success .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value{
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow{
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow{
right: 8px !important;
}
</style> </style>

@ -719,7 +719,6 @@ export default {
.log { .log {
// min-height: 30px; // min-height: 30px;
// line-height: 30px; // line-height: 30px;
min-height: 15px;
line-height: 15px; line-height: 15px;
font-size: 14px; font-size: 14px;
color: #666; color: #666;
@ -735,7 +734,8 @@ export default {
top: 0; top: 0;
left: 0; left: 0;
// top: 22px; // top: 22px;
left: 76px; // left: 76px;
left: 122px;
} }
i:hover { i:hover {
cursor: inherit !important; cursor: inherit !important;
@ -746,13 +746,20 @@ export default {
// } // }
// } // }
.log-time { .log-time {
width: 65px; // width: 65px;
// text-align: center;
// height: 50px;
// line-height: 15px;
// font-size: 12px;
// color: #999;
// // padding-top: 4px;
// margin-right: 30px;
width: 110px;
text-align: center; text-align: center;
height: 50px; height: 40px;
line-height: 15px; line-height: 15px;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
// padding-top: 4px;
margin-right: 30px; margin-right: 30px;
} }
.icon { .icon {
@ -763,7 +770,8 @@ export default {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: 0; top: 0;
left: 69.5px; // left: 69.5px;
left: 115px;
} }
.log-name { .log-name {
flex: 1; flex: 1;
@ -776,6 +784,8 @@ export default {
color: #666; color: #666;
display: flex; display: flex;
position: relative; position: relative;
margin-top: -10px;
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
@ -787,7 +797,8 @@ export default {
// left: 0; // left: 0;
// top: 22px; // top: 22px;
// left: 77px; // left: 77px;
left: 76px; // left: 76px;
left: 122px;
border-right: 1px dashed #ccc; border-right: 1px dashed #ccc;
} }
// &:nth-last-child(1){ // &:nth-last-child(1){
@ -796,13 +807,14 @@ export default {
// } // }
// } // }
.log-time { .log-time {
width: 70px; // width: 70px;
width: 110px;
text-align: left; text-align: left;
height: 50px; height: 35px;
line-height: 15px; line-height: 15px;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
padding-top: 4px; // padding-top: 4px;
margin-right: 30px; margin-right: 30px;
} }
.icon { .icon {
@ -812,7 +824,8 @@ export default {
text-align: left; text-align: left;
position: absolute; position: absolute;
top: 0; top: 0;
left: 68.5px; // left: 68.5px;
left: 115px;
} }
.log-name { .log-name {
flex: 1; flex: 1;

@ -231,7 +231,6 @@ export default {
return Number(item.id) return Number(item.id)
}) })
console.log(pkIdArr) console.log(pkIdArr)
debugger
DeleteParaContractNoInfo(pkIdArr).then(res => { DeleteParaContractNoInfo(pkIdArr).then(res => {
if (res.success) { if (res.success) {
this.$message.success('删除成功') this.$message.success('删除成功')
@ -250,7 +249,6 @@ export default {
form.validateFields((errors, values) => { form.validateFields((errors, values) => {
if (!errors) { if (!errors) {
console.log('values', values) console.log('values', values)
debugger
SaveParaContractNoInfo({ SaveParaContractNoInfo({
id: this.addFromId, id: this.addFromId,
contractNo: values.contractNo, contractNo: values.contractNo,

@ -196,7 +196,6 @@ export default {
}) })
}, },
removeColumns(data) { removeColumns(data) {
debugger
DeleteParaGoodsCategoryInfo(data.id).then((res) => { DeleteParaGoodsCategoryInfo(data.id).then((res) => {
if (res.success) { if (res.success) {
this.$message.success('删除成功') this.$message.success('删除成功')
@ -231,7 +230,6 @@ export default {
return Number(item.id) return Number(item.id)
}) })
console.log(pkIdArr) console.log(pkIdArr)
debugger
DeleteParaGoodsCategoryInfo({ DeleteParaGoodsCategoryInfo({
Ids: pkIdArr Ids: pkIdArr
}).then((res) => { }).then((res) => {

@ -214,7 +214,6 @@ export default {
}) })
}, },
removeColumns(data) { removeColumns(data) {
debugger
DeleteParaGoodsInfo([data.id]).then((res) => { DeleteParaGoodsInfo([data.id]).then((res) => {
if (res.success) { if (res.success) {
this.$message.success('删除成功') this.$message.success('删除成功')
@ -249,7 +248,6 @@ export default {
return Number(item.id) return Number(item.id)
}) })
console.log(pkIdArr) console.log(pkIdArr)
debugger
DeleteParaGoodsInfo({ DeleteParaGoodsInfo({
Ids: pkIdArr Ids: pkIdArr
}).then((res) => { }).then((res) => {

Loading…
Cancel
Save