Commit 7bfdc932 by liang ce

添加操作员删除状态

parent 28992c1d
......@@ -14,7 +14,8 @@
{{ createTimeToStr(createTime) }}
</span>
<span slot="action" slot-scope="text, record, index">
<a href="javascript:;" @click="showModel(record, text, index)">删除</a>
<a v-if="record.status === '0'" href="javascript:;" @click="showModel(record, text, index)">删除</a>
<a v-else href="javascript:;" style="color:#cccccc">已删除</a>
</span>
</a-table>
</div>
......@@ -120,6 +121,7 @@ export default {
let insertCashierData = this.$qs.stringify({
name: res[0].name,
userId: res[0].emplId,
status: '0',
orgId: sessionStorage.getItem('corpId')
})
$http.get(`v1/cashier/insert_cashier?${insertCashierData}`).then((res) => {
......
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