|
@@ -62,7 +62,13 @@
|
|
|
问题反馈:
|
|
|
<div style="padding:0 10px;max-width: 60%;">
|
|
|
<div v-if="showEditQus" style="width:400px;">
|
|
|
- <a-textarea ref="issue" @blur="saveIssue" allowClear v-model="detail.issueRemark" placeholder="请输入问题反馈(最多100字符)" :maxLength="100" auto-size />
|
|
|
+ <a-textarea
|
|
|
+ ref="issue"
|
|
|
+ @blur="saveIssue"
|
|
|
+ v-model="detail.issueRemark"
|
|
|
+ placeholder="请输入问题反馈(最多100字符)"
|
|
|
+ :maxLength="100"
|
|
|
+ auto-size />
|
|
|
</div>
|
|
|
<div style="word-break: break-all;" v-else>{{ detail.issueRemark||'--' }}</div>
|
|
|
</div>
|
|
@@ -80,7 +86,13 @@
|
|
|
<a-button type="primary" @click="handleCommonOk">{{ okText }}</a-button>
|
|
|
</div>
|
|
|
<!-- 发货打印 -->
|
|
|
- <commonModal modalTit="发货打印预览" width="700pt" okText="立即打印" :openModal="showTipModal" @cancel="showTipModal=false" @ok="$refs.printModel.printDom()">
|
|
|
+ <commonModal
|
|
|
+ modalTit="发货打印预览"
|
|
|
+ width="700pt"
|
|
|
+ okText="立即打印"
|
|
|
+ :openModal="showTipModal"
|
|
|
+ @cancel="showTipModal=false"
|
|
|
+ @ok="$refs.printModel.printDom()">
|
|
|
<printModel ref="printModel" :detail="detail" @ok="printOk"></printModel>
|
|
|
</commonModal>
|
|
|
</a-spin>
|
|
@@ -170,19 +182,19 @@ export default {
|
|
|
this.form.receiveDate = v ? moment() : ''
|
|
|
},
|
|
|
// 打印回调
|
|
|
- printOk(res){
|
|
|
- if(res){
|
|
|
+ printOk (res) {
|
|
|
+ if (res) {
|
|
|
this.showTipModal = false
|
|
|
}
|
|
|
},
|
|
|
- editIssue(){
|
|
|
+ editIssue () {
|
|
|
this.showEditQus = !this.showEditQus
|
|
|
- this.$nextTick(()=>{
|
|
|
+ this.$nextTick(() => {
|
|
|
this.$refs.issue.focus()
|
|
|
})
|
|
|
},
|
|
|
- saveIssue(){
|
|
|
- updateIssueRemark({issueRemark: this.detail.issueRemark, sendBillSn: this.sendBillSn}).then(res => {
|
|
|
+ saveIssue () {
|
|
|
+ updateIssueRemark({ issueRemark: this.detail.issueRemark, sendBillSn: this.sendBillSn }).then(res => {
|
|
|
this.showEditQus = false
|
|
|
}).catch(res => {
|
|
|
this.$refs.issue.focus()
|