|
@@ -272,6 +272,7 @@ export default {
|
|
|
this.getBookList( )
|
|
|
},
|
|
|
methods: {
|
|
|
+ moment,
|
|
|
//获取表格数据
|
|
|
getBookList(){
|
|
|
this.$nextTick(() => {
|
|
@@ -411,6 +412,7 @@ export default {
|
|
|
if(pattern == '1'){
|
|
|
this.$refs.addBookDrawer.visible = true
|
|
|
this.$refs.addBookDrawer.defaultMethod = 'edit'
|
|
|
+ data.latestDateOfShipment = (moment(data.latestDateOfShipment)).format('YYYY-MM-DD')
|
|
|
this.$refs.addBookDrawer.addBook = data
|
|
|
this.$refs.addBookDrawer.addBookData = data.syShippingOrderItemList
|
|
|
this.$refs.addBookDrawer.addBookData.map(item =>{
|
|
@@ -423,6 +425,7 @@ export default {
|
|
|
this.$refs.addBookDrawer.usdList = data.usdList
|
|
|
}else {
|
|
|
this.$refs.detailsBookDrawer.visible = true
|
|
|
+ data.latestDateOfShipment = (moment(data.latestDateOfShipment)).format('YYYY-MM-DD')
|
|
|
this.$refs.detailsBookDrawer.addBook = data
|
|
|
this.$refs.detailsBookDrawer.addBookData = data.syShippingOrderItemList
|
|
|
this.$refs.detailsBookDrawer.rmbList = data.rmbList
|