|
|
@ -3,11 +3,11 @@
|
|
|
|
<a-card :bordered="false">
|
|
|
|
<a-card :bordered="false">
|
|
|
|
<div class="from-line">
|
|
|
|
<div class="from-line">
|
|
|
|
<div class="left">
|
|
|
|
<div class="left">
|
|
|
|
<a-button class="btn" type="primary" @click="addboxLine">添加</a-button>
|
|
|
|
<a-button class="btn btn-add" type="primary" @click="addboxLine">添加</a-button>
|
|
|
|
<a-button class="btn" @click="removeLine">删除</a-button>
|
|
|
|
<a-button class="btn btn-delete" @click="removeLine" :style="{marginRight:'50px'}">删除</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="openDialog" :disabled="tableData.length === 0">多品名</a-button>
|
|
|
|
<a-button class="btn btn-more-name" type="primary" @click="openDialog" :disabled="tableData.length === 0"><a-icon type="appstore" />多品名</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="importYarn" :loading="YarnLoading">引入场站数据</a-button>
|
|
|
|
<a-button class="btn btn-import-station" type="primary" @click="importYarn" :loading="YarnLoading"><a-icon type="import" />引入场站数据</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="importWeight" :loading="WeightLoading">引入箱皮重</a-button>
|
|
|
|
<a-button class="btn btn-weight" type="primary" @click="importWeight" :loading="WeightLoading"><a-icon type="import" />引入箱皮重</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="table-right">
|
|
|
|
<div class="table-right">
|
|
|
|
<!-- <span>合计: {{ totalCtnall }}</span> -->
|
|
|
|
<!-- <span>合计: {{ totalCtnall }}</span> -->
|
|
|
@ -49,7 +49,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div class="model-botton-box">
|
|
|
|
<div class="model-botton-box">
|
|
|
|
<a-button class="btn" type="primary" @click="addChildData">新增</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="addChildData">新增</a-button>
|
|
|
|
<a-button class="btn" @click="removeChildData">删除</a-button>
|
|
|
|
<a-button class="btn btn-delete" @click="removeChildData">删除</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="saveChildData">保存</a-button>
|
|
|
|
<a-button class="btn" type="primary" @click="saveChildData">保存</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="model-child-table">
|
|
|
|
<div class="model-child-table">
|
|
|
@ -1028,6 +1028,22 @@ export default {
|
|
|
|
.btn {
|
|
|
|
.btn {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-delete{
|
|
|
|
|
|
|
|
border: 1px solid #ff6646;
|
|
|
|
|
|
|
|
background: #fdf2f0;
|
|
|
|
|
|
|
|
color: #ff6646;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
|
|
|
|
border: 1px solid #ff6646 !important;
|
|
|
|
|
|
|
|
background: #fdf2f0 !important;
|
|
|
|
|
|
|
|
color: #ff6646 !important;
|
|
|
|
|
|
|
|
opacity:.7;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-more-name,.btn-import-station,.btn-weight{
|
|
|
|
|
|
|
|
border: 1px solid @primary-color;
|
|
|
|
|
|
|
|
color: @primary-color;
|
|
|
|
|
|
|
|
background-color: #f5f9fe;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.table-right {
|
|
|
|
.table-right {
|
|
|
|
line-height: 28px;
|
|
|
|
line-height: 28px;
|
|
|
@ -1042,10 +1058,21 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
.model-content {
|
|
|
|
.model-content {
|
|
|
|
.model-botton-box {
|
|
|
|
.model-botton-box {
|
|
|
|
margin: 40px 0;
|
|
|
|
margin: 40px 0 20px;
|
|
|
|
.btn {
|
|
|
|
.btn {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-delete{
|
|
|
|
|
|
|
|
border: 1px solid #ff6646;
|
|
|
|
|
|
|
|
background: #fdf2f0;
|
|
|
|
|
|
|
|
color: #ff6646;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
|
|
|
|
border: 1px solid #ff6646 !important;
|
|
|
|
|
|
|
|
background: #fdf2f0 !important;
|
|
|
|
|
|
|
|
color: #ff6646 !important;
|
|
|
|
|
|
|
|
opacity:.7;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.table-no-data {
|
|
|
|
.table-no-data {
|
|
|
|