|
@@ -4,7 +4,7 @@ var fleaMarketForm = new Vue({
|
|
|
data:{
|
|
|
fenlei:[
|
|
|
{name:'二手仪器',value:'1'},
|
|
|
- {name:'临期产品',value:'2'},
|
|
|
+ // {name:'临期产品',value:'2'},
|
|
|
{name:'其他',value:'3'},
|
|
|
],
|
|
|
currentId:0,
|
|
@@ -35,12 +35,12 @@ var fleaMarketForm = new Vue({
|
|
|
brandName:'',//其他品牌
|
|
|
fixedYears:null,//出厂
|
|
|
companyName:'',//公司名称
|
|
|
- maturityYears:'',//产品到期
|
|
|
+ // maturityYears:'',//产品到期
|
|
|
price1:'',//交易价
|
|
|
detailTalkFlag:1,//是否启用详聊
|
|
|
- normalPrice:'',//市场价
|
|
|
- originalPrice:'',//采购价
|
|
|
- stock:'',//数量
|
|
|
+ // normalPrice:'',//市场价
|
|
|
+ // originalPrice:'',//采购价
|
|
|
+ // stock:'',//数量
|
|
|
productQuality:'',//商品成色
|
|
|
contactName:'',//联系人
|
|
|
contactMobile:'',//联系方式
|
|
@@ -199,26 +199,26 @@ var fleaMarketForm = new Vue({
|
|
|
},2000);
|
|
|
return
|
|
|
}
|
|
|
- if(_this.secondParams.secondHandType ==2) {
|
|
|
- if (_this.secondParams.normalPrice == '') {
|
|
|
- _this.vShow_Market = true;
|
|
|
- _this.fromMessage = '请输入市场价';
|
|
|
- _this.scrollIntoView();
|
|
|
- setTimeout(function () {
|
|
|
- _this.vShow_Market = false;
|
|
|
- }, 2000);
|
|
|
- return
|
|
|
- }
|
|
|
- if (_this.secondParams.maturityYears == '') {
|
|
|
- _this.vShow_expire = true;
|
|
|
- _this.fromMessage = '请输入产品到期日';
|
|
|
- _this.scrollIntoView();
|
|
|
- setTimeout(function () {
|
|
|
- _this.vShow_expire = false;
|
|
|
- }, 2000);
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
+ // if(_this.secondParams.secondHandType ==2) {
|
|
|
+ // if (_this.secondParams.normalPrice == '') {
|
|
|
+ // _this.vShow_Market = true;
|
|
|
+ // _this.fromMessage = '请输入市场价';
|
|
|
+ // _this.scrollIntoView();
|
|
|
+ // setTimeout(function () {
|
|
|
+ // _this.vShow_Market = false;
|
|
|
+ // }, 2000);
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // if (_this.secondParams.maturityYears == '') {
|
|
|
+ // _this.vShow_expire = true;
|
|
|
+ // _this.fromMessage = '请输入产品到期日';
|
|
|
+ // _this.scrollIntoView();
|
|
|
+ // setTimeout(function () {
|
|
|
+ // _this.vShow_expire = false;
|
|
|
+ // }, 2000);
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
if(_this.secondParams.price1 == ''){
|
|
|
_this.vShow_Price = true;
|
|
|
_this.fromMessage = '请输入交易价';
|
|
@@ -228,26 +228,26 @@ var fleaMarketForm = new Vue({
|
|
|
},2000);
|
|
|
return
|
|
|
}
|
|
|
- if(_this.secondParams.secondHandType ==2){
|
|
|
- if(_this.secondParams.originalPrice == ''){
|
|
|
- _this.vShow_original = true;
|
|
|
- _this.fromMessage = '请输入采购价/原价';
|
|
|
- _this.scrollIntoView();
|
|
|
- setTimeout(function(){
|
|
|
- _this.vShow_original = false;
|
|
|
- },2000);
|
|
|
- return
|
|
|
- }
|
|
|
- if(_this.secondParams.stock == ''){
|
|
|
- _this.vShow_Number = true;
|
|
|
- _this.fromMessage = '请输入数量';
|
|
|
- _this.scrollIntoView();
|
|
|
- setTimeout(function(){
|
|
|
- _this.vShow_Number = false;
|
|
|
- },2000);
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
+ // if(_this.secondParams.secondHandType ==2){
|
|
|
+ // if(_this.secondParams.originalPrice == ''){
|
|
|
+ // _this.vShow_original = true;
|
|
|
+ // _this.fromMessage = '请输入采购价/原价';
|
|
|
+ // _this.scrollIntoView();
|
|
|
+ // setTimeout(function(){
|
|
|
+ // _this.vShow_original = false;
|
|
|
+ // },2000);
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // if(_this.secondParams.stock == ''){
|
|
|
+ // _this.vShow_Number = true;
|
|
|
+ // _this.fromMessage = '请输入数量';
|
|
|
+ // _this.scrollIntoView();
|
|
|
+ // setTimeout(function(){
|
|
|
+ // _this.vShow_Number = false;
|
|
|
+ // },2000);
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
|
|
|
if(_this.secondParams.productQuality == ''){
|