张同海 2 years ago
parent 1bf3d24102
commit 4e8a7f098b

@ -5,9 +5,15 @@
<div class="left"> <div class="left">
<a-button class="btn btn-add" type="primary" @click="addboxLine"></a-button> <a-button class="btn btn-add" type="primary" @click="addboxLine"></a-button>
<a-button class="btn btn-delete" @click="removeLine" :style="{ marginRight: '50px' }">删除</a-button> <a-button class="btn btn-delete" @click="removeLine" :style="{ marginRight: '50px' }">删除</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 btn-more-name" type="primary" @click="openDialog" :disabled="tableData.length === 0"
<a-button class="btn btn-import-station" type="primary" @click="importYarn" :loading="YarnLoading"><a-icon type="import" />引入场站数据</a-button> ><a-icon type="appstore" />多品名</a-button
<a-button class="btn btn-weight" type="primary" @click="importWeight" :loading="WeightLoading"><a-icon type="import" />引入箱皮重</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 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> -->
@ -663,6 +669,7 @@ export default {
methods: { methods: {
init() { init() {
console.log('init', this.details.ctnInputs)
if (Object.keys(this.details).length > 0) { if (Object.keys(this.details).length > 0) {
const arr = [] const arr = []
const totalCtnall = {} const totalCtnall = {}
@ -1036,10 +1043,12 @@ export default {
border: 1px solid #ff6646 !important; border: 1px solid #ff6646 !important;
background: #fdf2f0 !important; background: #fdf2f0 !important;
color: #ff6646 !important; color: #ff6646 !important;
opacity:.7; opacity: 0.7;
} }
} }
.btn-more-name,.btn-import-station,.btn-weight{ .btn-more-name,
.btn-import-station,
.btn-weight {
border: 1px solid @primary-color; border: 1px solid @primary-color;
color: @primary-color; color: @primary-color;
background-color: #f5f9fe; background-color: #f5f9fe;
@ -1070,7 +1079,7 @@ export default {
border: 1px solid #ff6646 !important; border: 1px solid #ff6646 !important;
background: #fdf2f0 !important; background: #fdf2f0 !important;
color: #ff6646 !important; color: #ff6646 !important;
opacity:.7; opacity: 0.7;
} }
} }
} }

Loading…
Cancel
Save