@@ -104,7 +49,7 @@
{
- this.orderTime = [];
- this.arrears = [];
- this.delivery = [];
this.ruleForm = {
- startTime: "",
- endTime: "",
- balancePaymentStartTime: "",
- balancePaymentEndTime: "",
- estimatedStartDeliveryTime: "",
- estimatedEndDeliveryTime: "",
- productList: [],
- isRefundEarnestMoney: 1, //定金可退 1是 2否
+ marketId: this.marketId,
+ shopId: this.shopId,
+ unitType: JSON.parse(sessionStorage.getItem("userInfo")).unitType,
+ list: [],
};
- this.modalConfig.title = "新增预售";
+ this.modalConfig.title = "添加积分兑换商品";
this.isAdd = true;
},
update: () => {
- this.modalConfig.title = "编辑预售";
+ this.modalConfig.title = "编辑积分商品";
this.isAdd = false;
},
};
@@ -484,39 +378,6 @@ export default {
// this.ruleForm = row;
},
- //订单支付时间
- getOrderTime(e) {
- if (e) {
- console.log(e);
- this.ruleForm.startTime = e[0];
- this.ruleForm.endTime = e[1];
- } else {
- this.ruleForm.startTime = "";
- this.ruleForm.endTime = "";
- }
- },
- //尾款支付时间
- getArrearsTime(e) {
- if (e) {
- console.log(e);
- this.ruleForm.balancePaymentStartTime = e[0];
- this.ruleForm.balancePaymentEndTime = e[1];
- } else {
- this.ruleForm.balancePaymentStartTime = "";
- this.ruleForm.balancePaymentEndTime = "";
- }
- },
- //发货时间
- deliveryTime(e) {
- if (e) {
- console.log(e);
- this.ruleForm.estimatedStartDeliveryTime = e[0];
- this.ruleForm.estimatedEndDeliveryTime = e[1];
- } else {
- this.ruleForm.estimatedStartDeliveryTime = "";
- this.ruleForm.estimatedEndDeliveryTime = "";
- }
- },
selectProduct() {
console.log("选择商品", this.marketId, this.shopId);
this.$nextTick(() => {