Commit 1e1b2cef by lichengming

修改了报价登记上一次检定时间选择

parent 4a51eef8
......@@ -118,6 +118,10 @@
type="number"
/>
</div>
<div v-if="item.key==='lastTime'" @click.stop="_handleRow(scope)">
<Date-picker v-model="scope.row.lastTime" type="date" split-panels style="width:100%;"
placeholder="请选择上次检定时间"></Date-picker>
</div>
<div v-if="item.key==='unit'" @click.stop="_handleRow(scope)">
<el-input v-model="scope.row.unit" blur placeholder="请输入收费单位"
></el-input>
......@@ -659,6 +663,11 @@ export default {
this._showAddress(formObj)
this._showTime(formObj)
this.getPage.records = formObj.sampleList
for (let i = 0; i < formObj.sampleList.length; i++) {
this.getPage.records[i].lastTime = new Date(
formObj.sampleList[i].lastTime
)
}
},
_getList: async function() {
const result = await meterEntrust.pageList()
......
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