Commit f7637f5e authored by jingnan's avatar jingnan 👀

装配任务执行胶漆申领下的胶漆材料需求时间日历控件需要选到小时和分钟

parent e032bcc9
......@@ -100,13 +100,14 @@
v-if="scope.row.needTimeSelect"
v-model="scope.row.needTime"
clearable
type="date"
type="datetime"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm"
format="yyyy-MM-dd HH:mm"
@focus="tableInputFocus"
@change="deeTableBlur(scope.row, 'needTime')"
/>
<span v-else>{{ scope.row[scope.column.property] }}</span>
<span v-else>{{ $moment(scope.row[scope.column.property] ).format('YYYY-MM-DD HH:mm') }}</span>
<i v-if="scope.row.needTimeLoading" class="el-icon-loading" />
</template>
</el-table-column>
......@@ -393,7 +394,7 @@ export default {
const param = {
id: row.id,
operator: 'MODIFY',
needTime: row.needTime,
needTime: that.$moment(row.needTime).format('YYYY-MM-DD HH:mm:ss'),
spec: row.spec
}
if (key === 'spec') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment