Commit 81ed0414 by LJM

js

parent 29ff9619
Showing with 36 additions and 3 deletions
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
</div> </div>
</div> </div>
<Menu/> <Menu/>
<!--新增优势物料-->
<el-dialog title="新增优势物料" :close-on-click-modal="false" :visible.sync="addBestgoods.dialogVisible" width="1000px"> <el-dialog title="新增优势物料" :close-on-click-modal="false" :visible.sync="addBestgoods.dialogVisible" width="1000px">
<div class="dialog-form bestGoodsList-dialog"> <div class="dialog-form bestGoodsList-dialog">
<table> <table>
...@@ -279,6 +280,12 @@ ...@@ -279,6 +280,12 @@
<th align="left" width="50"> <th align="left" width="50">
<span>库存</span> <span>库存</span>
</th> </th>
<th align="left" width="80">
<span>大陆交期</span>
</th>
<th align="left" width="80">
<span>香港交期</span>
</th>
<th align="left" width="50"> <th align="left" width="50">
<span>操作</span> <span>操作</span>
</th> </th>
...@@ -356,6 +363,12 @@ ...@@ -356,6 +363,12 @@
<el-input v-model="addBestgoodsParam[index].stock_number" placeholder="个"></el-input> <el-input v-model="addBestgoodsParam[index].stock_number" placeholder="个"></el-input>
</td> </td>
<td> <td>
<el-input v-model="addBestgoodsParam[index].delivery_time_cn" placeholder="如2-5个工作日"></el-input>
</td>
<td>
<el-input v-model="addBestgoodsParam[index].delivery_time_hk" placeholder="如2-5个工作日"></el-input>
</td>
<td>
<el-button type="danger" @click="reduceRow(index)">删除</el-button> <el-button type="danger" @click="reduceRow(index)">删除</el-button>
</td> </td>
</tr> </tr>
...@@ -368,6 +381,7 @@ ...@@ -368,6 +381,7 @@
<el-button type="primary" @click="addBestgoodsSubmit" v-dbClick>确 定</el-button> <el-button type="primary" @click="addBestgoodsSubmit" v-dbClick>确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
<!--修改优势物料-->
<el-dialog title="修改优势物料" :close-on-click-modal="false" :visible.sync="addBestgoods.dialogVisibleUpdate" width="1000px"> <el-dialog title="修改优势物料" :close-on-click-modal="false" :visible.sync="addBestgoods.dialogVisibleUpdate" width="1000px">
<div class="dialog-form bestGoodsList-dialog"> <div class="dialog-form bestGoodsList-dialog">
<table> <table>
...@@ -397,6 +411,12 @@ ...@@ -397,6 +411,12 @@
<th align="left" width="50"> <th align="left" width="50">
<span>库存</span> <span>库存</span>
</th> </th>
<th align="left" width="80">
<span>大陆交期</span>
</th>
<th align="left" width="80">
<span>香港交期</span>
</th>
</tr> </tr>
<tr v-for="(item,index) in updateBestgoodsParam"> <tr v-for="(item,index) in updateBestgoodsParam">
<td> <td>
...@@ -470,6 +490,12 @@ ...@@ -470,6 +490,12 @@
<td> <td>
<el-input v-model="updateBestgoodsParam[index].stock_number" placeholder="个"></el-input> <el-input v-model="updateBestgoodsParam[index].stock_number" placeholder="个"></el-input>
</td> </td>
<td>
<el-input v-model="updateBestgoodsParam[index].delivery_time_cn" placeholder="如2-5个工作日"></el-input>
</td>
<td>
<el-input v-model="updateBestgoodsParam[index].delivery_time_hk" placeholder="如2-5个工作日"></el-input>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -479,6 +505,7 @@ ...@@ -479,6 +505,7 @@
<el-button type="primary" @click="updateBestgoodsSubmit">确 定</el-button> <el-button type="primary" @click="updateBestgoodsSubmit">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
<!--优势物料日志-->
<el-dialog title="优势物料日志" :close-on-click-modal="false" :visible.sync="dialogVisible" width="1000px"> <el-dialog title="优势物料日志" :close-on-click-modal="false" :visible.sync="dialogVisible" width="1000px">
<el-table :data="logs" border max-height="600"> <el-table :data="logs" border max-height="600">
<el-table-column prop="create_time" label="时间" min-width="150" align="center"></el-table-column> <el-table-column prop="create_time" label="时间" min-width="150" align="center"></el-table-column>
...@@ -547,7 +574,9 @@ export default { ...@@ -547,7 +574,9 @@ export default {
price_origin: "", price_origin: "",
batch: "", batch: "",
stock_number: "", stock_number: "",
join_inquiry: "" join_inquiry: "",
delivery_time_cn: '',//大陆交期
delivery_time_hk: ''//香港交期
} }
], ],
updateBestgoodsParam: [], updateBestgoodsParam: [],
...@@ -614,7 +643,9 @@ export default { ...@@ -614,7 +643,9 @@ export default {
price_origin: "", price_origin: "",
batch: "", batch: "",
stock_number: "", stock_number: "",
join_inquiry: "" join_inquiry: "",
delivery_time_cn: '',//大陆交期
delivery_time_hk: ''//香港交期
}] }]
}, },
//修改优势物料弹窗 //修改优势物料弹窗
...@@ -637,7 +668,9 @@ export default { ...@@ -637,7 +668,9 @@ export default {
price_origin: this.multipleSelection[0].price_origin, price_origin: this.multipleSelection[0].price_origin,
batch: this.multipleSelection[0].batch, batch: this.multipleSelection[0].batch,
stock_number: this.multipleSelection[0].stock_number, stock_number: this.multipleSelection[0].stock_number,
join_inquiry: this.multipleSelection[0].join_inquiry join_inquiry: this.multipleSelection[0].join_inquiry,
delivery_time_cn: this.multipleSelection[0].delivery_time_cn,//大陆交期
delivery_time_hk: this.multipleSelection[0].delivery_time_hk//香港交期
}); });
}, },
//增加行 //增加行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment