|
|
|
@ -220,6 +220,18 @@ |
|
|
|
|
>删除</a |
|
|
|
|
> |
|
|
|
|
<a @click="copyText(item.copy_text)">复制</a> |
|
|
|
|
<!-- <a |
|
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
|
v-if="item.standard_count == 1" |
|
|
|
|
>审单</a |
|
|
|
|
> |
|
|
|
|
<a @click="reviewDocuments(item, 2)" v-if="item.standard_count == 1">再次审单</a> |
|
|
|
|
<a |
|
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
|
v-if="item.standard_count == 2" |
|
|
|
|
>再次审单</a |
|
|
|
|
> |
|
|
|
|
<a @click="documentRecord(item)">审单记录</a> --> |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
</template> |
|
|
|
@ -403,6 +415,46 @@ export default { |
|
|
|
|
this.getShopList() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
reviewDocuments(item, type) { |
|
|
|
|
if (type == 1) { |
|
|
|
|
const app = this |
|
|
|
|
const modal = app.$confirm({ |
|
|
|
|
title: '是否确定审单?', |
|
|
|
|
onOk() { |
|
|
|
|
return Api.standard({ |
|
|
|
|
orderId: item.order_id, |
|
|
|
|
form: { |
|
|
|
|
type: 10, |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
.then((result) => { |
|
|
|
|
app.$message.success(result.message, 1.5) |
|
|
|
|
app.handleRefresh() |
|
|
|
|
}) |
|
|
|
|
.finally((result) => modal.destroy()) |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (type == 2) { |
|
|
|
|
const app = this |
|
|
|
|
const modal = app.$confirm({ |
|
|
|
|
title: '是否确定再次审单?', |
|
|
|
|
onOk() { |
|
|
|
|
return Api.standard({ |
|
|
|
|
orderId: item.order_id, |
|
|
|
|
form: { |
|
|
|
|
type: 20, |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
.then((result) => { |
|
|
|
|
app.$message.success(result.message, 1.5) |
|
|
|
|
app.handleRefresh() |
|
|
|
|
}) |
|
|
|
|
.finally((result) => modal.destroy()) |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 初始化页面 |
|
|
|
|
init() { |
|
|
|
|
this.dataType = this.getDataType() |
|
|
|
|