getlist1: function () {
debugger;
var _this = this;
var firstdatas = {};
var dates = new Date();
if (dates.getMonth() == 0) {
_this.first = 11 + "月";
_this.second = 12 + "月";
_this.third = 1 + "月";
} else if (dates.getMonth() == 1) {
_this.first = 12 + "月";
_this.second = 1 + "月";
_this.third = 2 + "月";
} else {
_this.first = dates.getMonth() - 1 + "月";;
_this.second = dates.getMonth() + "月";;
_this.third = dates.getMonth() + 1 + "月";;
}
$.ajax({
type: "get",
url: "Home/GetSOISaleProductType",
dataType: "json",
async: true,
success: function (SaleProductTypedatas) {
debugger;
_this.Boxcard = SaleProductTypedatas.ISDBS;
_this.ISPurchases = SaleProductTypedatas.ISPurchases;
_this.ISDealerCustomers = SaleProductTypedatas.ISDealerCustomers;
_this.OrderMasters = SaleProductTypedatas.OrderMasters;
_this.ISPurchaseumMoney = SaleProductTypedatas.ISPurchaseumMoney;
_this.tableData = SaleProductTypedatas.tableData;
_this.options = SaleProductTypedatas.SaleProductTypeone;
_this.SDDealeroptions = SaleProductTypedatas.SDDealer;
_this.ManualdeliveryOrder = SaleProductTypedatas.ManualdeliveryOrder;
_this.NoPD = SaleProductTypedatas.NoPD;
debugger;
if (SaleProductTypedatas.ISPDRs == 0) {
//$("[id='box1']").show();
_this.play = true;
} else {
_this.play = true;
}
}
});
},
<div :v-if="play" hidden>
<el-row v-for="o in Boxcard" :key="o" style="width:100%;font-size:15px;line-height:40px">
<el-col :span="24">
{{o.Name }}
</el-col>
</el-row>
</div>