This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render(){ | |
let me = this; | |
return ( | |
<MConfirm> | |
<div slot="content"> | |
{!this.cancel ? ( | |
<div class="mb-10"> | |
<p>申请单号:{row.orderNo}</p> | |
<p>供货商名称:{row.providerName}</p> | |
<p>商品数量:整箱数:{row.carUnit},单件数:{row.carUnit}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model: { | |
value: (me.skus.dataSource[index].minUnitPrice), | |
callback: function($$v) { | |
me.$set(me.skus.dataSource[index], "minUnitPrice", $$v); | |
if(me.unitsMultiple | |
&& me.cartonUnits.dataSource[1].quantity){ | |
var prices = ($$v * me.cartonUnits.dataSource[1].quantity); | |
me.$set(me.skus.dataSource[index], "wholesalePrice", prices); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
with (this) { | |
return _c('div', { | |
staticClass: "ui-abox", | |
attrs: { | |
"fitBottom": "true" | |
} | |
}, [_c('div', { | |
staticClass: "fixed-btns" | |
}, [_c('BackTop', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pinuhs4pn6s9a25ss2zi3oyn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Row gutter="30"> | |
<Col span="16" v-if="goodscm3Toggle"> | |
<Form-item label="体积(长宽高):" prop="goodscm3" vtype="int" > | |
<Row gutter="10"> | |
<Col span="7"> | |
<Input v-model="deliveryData.goodsLength" placeholder="长"></Input> | |
</Col> | |
<Col span="7"> | |
<Input v-model="deliveryData.goodsWidth" placeholder="宽"></Input> | |
</Col> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.directive('datepicker', { | |
bind: function (el, binding, vnode, oldVnode) { | |
$(el).datepicker({ | |
onSelect: function (date) { | |
vnode.context.date = date; | |
} | |
}); | |
}, | |
update: function (el, binding, vnode, oldVnode) { | |
$(el).datepicker('setDate', binding.value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************/ | |
/*********************************** EASING ***********************************/ | |
/******************************************************************************/ | |
(function() { | |
// based on easing equations from Robert Penner (http://www.robertpenner.com/easing) | |
var baseEasings = {}; | |
$.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oldDone = Nprogress.done; | |
Nprogress.done = function(){ | |
var setfmSrc = function(dom, url){ | |
dom.src = url; | |
}; | |
var fm = document.getElementById('triggerloading'); | |
var url = "/favicon.ico"; // ping page; | |
if(fm){ | |
setfmSrc(fm, url); | |
} else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100: "Continue", | |
101: "Switching Protocols", | |
102: "Processing", | |
200: "OK", | |
201: "Created", | |
202: "Accepted", | |
203: "Non-Authoritative Information", | |
204: "No Content", | |
205: "Reset Content", | |
206: "Partial Content", |