|
|
|
@ -416,38 +416,38 @@
|
|
|
|
|
</el-table> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
|
<el-tab-pane label="库存品"> |
|
|
|
|
<el-button type="primary" link @click="handleAddInventory">新增</el-button> |
|
|
|
|
<el-table ref="table" |
|
|
|
|
v-loading="loading" |
|
|
|
|
:data="inventoryData" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%;height: 100%" |
|
|
|
|
:border="option.border"> |
|
|
|
|
<!-- <el-table-column type="selection" v-if="stockList.selection" width="55" align="center"></el-table-column>--> |
|
|
|
|
<el-table-column v-if="option.index" label="序号" type="index" width="80px" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in option.columnStockLists"> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
<el-table-column label="预约数量" type="index" width="100px"> |
|
|
|
|
<template #="{row}"> |
|
|
|
|
<el-input v-model="row.reservationNum" type="number" :min="0"></el-input> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="menu" label="操作" :width="220" align="center"> |
|
|
|
|
<template #="{row}"> |
|
|
|
|
<el-button type="primary" link icon="el-icon-edit" @click="removeStockList(row)">移除 |
|
|
|
|
</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<!-- <el-tab-pane label="库存品">--> |
|
|
|
|
<!-- <el-button type="primary" link @click="handleAddInventory">新增</el-button>--> |
|
|
|
|
<!-- <el-table ref="table"--> |
|
|
|
|
<!-- v-loading="loading"--> |
|
|
|
|
<!-- :data="inventoryData"--> |
|
|
|
|
<!-- :height="height"--> |
|
|
|
|
<!-- style="width: 100%;height: 100%"--> |
|
|
|
|
<!-- :border="option.border">--> |
|
|
|
|
<!-- <!– <el-table-column type="selection" v-if="stockList.selection" width="55" align="center"></el-table-column>–>--> |
|
|
|
|
<!-- <el-table-column v-if="option.index" label="序号" type="index" width="80px"--> |
|
|
|
|
<!-- align="center"></el-table-column>--> |
|
|
|
|
<!-- <template v-for="(item,index) in option.columnStockLists">--> |
|
|
|
|
<!-- <el-table-column v-if="item.hide!==true"--> |
|
|
|
|
<!-- :prop="item.prop"--> |
|
|
|
|
<!-- :label="item.label"--> |
|
|
|
|
<!-- :width="item.width"--> |
|
|
|
|
<!-- :key="index">--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- <el-table-column label="预约数量" type="index" width="100px">--> |
|
|
|
|
<!-- <template #="{row}">--> |
|
|
|
|
<!-- <el-input v-model="row.reservationNum" type="number" :min="0"></el-input>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- <el-table-column prop="menu" label="操作" :width="220" align="center">--> |
|
|
|
|
<!-- <template #="{row}">--> |
|
|
|
|
<!-- <el-button type="primary" link icon="el-icon-edit" @click="removeStockList(row)">移除--> |
|
|
|
|
<!-- </el-button>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- </el-table>--> |
|
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
<el-form-item style="margin-left: 45%;margin-top: 10px"> |
|
|
|
@ -784,6 +784,8 @@
|
|
|
|
|
loadAndUnload:[], |
|
|
|
|
//服务类型 |
|
|
|
|
serveType:[], |
|
|
|
|
//外协数据来源 |
|
|
|
|
tripartiteSourceData:[], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
@ -1208,6 +1210,10 @@
|
|
|
|
|
getDictionaryBiz('delivery_way').then(res => { |
|
|
|
|
this.deliveryWayData = res.data.data; |
|
|
|
|
}); |
|
|
|
|
//三方外协来源 |
|
|
|
|
getDictionaryBiz('tripartite_source').then(res => { |
|
|
|
|
this.tripartiteSourceData = res.data.data; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|