修改订单传递使用期限与起止日期修改

dev_2022-03-03
e 3 years ago
parent 716a131683
commit 1535c6cc15
  1. 12
      src/views/order/AddOrder.vue

@ -115,10 +115,12 @@
</el-table-column>
<el-table-column prop="productName" label="课程名称" align="center" min-width="150" show-overflow-tooltip>
</el-table-column>
<el-table-column label="使用期限" align="center" min-width="80">
<el-table-column label="使用期限" align="center" min-width="150">
<template slot-scope="scope">
<div class="small">
<el-input onkeyup="value=this.value.replace(/\D+/g,'')"
<el-input
style='width: 80px'
onkeyup="value=this.value.replace(/\D+/g,'')"
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''"
:disabled="viewDisabled||editDisabled" maxlength="4"
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)"
@ -1038,7 +1040,7 @@ export default {
dataOrCourseId: e.cid,// id
productName: e.curriculumName,//
periodOfUse: "",// 使
startTime: "",//
startTime: new Date(),//
endTime: "", //
remainingPeriod: "",//
marketValue: e.marketPrice,//
@ -1049,7 +1051,7 @@ export default {
isEnable: 1, // 10
ship: 0,// 01
authority: 1, // 01
options: 0,
options: 1,
};
that.coursePermissions.push(obj);
};
@ -1161,7 +1163,7 @@ export default {
isEnable: 1, // 10
ship: 0,// 01
authority: 0,//
options:0,
options:1,
};
that.dataPlatformPermissions.push(obj);
};

Loading…
Cancel
Save