|
@@ -873,26 +873,7 @@ export default {
|
|
this.spinning = true
|
|
this.spinning = true
|
|
const submitTypes = this.tbForm.join(',')
|
|
const submitTypes = this.tbForm.join(',')
|
|
salesWriteSubmit({ id: this.orderId, submitTypes: submitTypes, ...params }).then(res => {
|
|
salesWriteSubmit({ id: this.orderId, submitTypes: submitTypes, ...params }).then(res => {
|
|
- console.log(res)
|
|
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
- if (res.data.errorMsg && res.data.errorMsg.length > 0) {
|
|
|
|
- this.$confirm({
|
|
|
|
- title: '提示',
|
|
|
|
- content: res.data.errorMsg.map((item, i) => { return <p>{i * 1 + 1}、{item}</p> }),
|
|
|
|
- centered: true,
|
|
|
|
- okText: '知道了',
|
|
|
|
- cancelText: '取消', // 将cancelText设置为空字符串或去掉该属性可以隐藏取消按钮
|
|
|
|
- cancelButtonProps: {
|
|
|
|
- style: {
|
|
|
|
- display: 'none' // 通过设置样式隐藏取消按钮
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- onOk () {
|
|
|
|
- console.log('知道了')
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
this.handleBack()
|
|
this.handleBack()
|
|
this.$message.success(res.message)
|
|
this.$message.success(res.message)
|
|
this.spinning = false
|
|
this.spinning = false
|