Commit 86e9181c by 前端

BUG修复

1 parent aa47ff43
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<div class="div-optShow-title">操作结果</div> <div class="div-optShow-title">操作结果</div>
<div class="div-optShow-content"> <div class="div-optShow-content">
当前开票主体<span class="contentSpan">{{ infoForm.invoiceSubjectName }}</span>, 当前开票主体<span class="contentSpan">{{ infoForm.invoiceSubjectName }}</span>,
月开票额上限达到<span class="contentSpan">{{ infoForm.monthlyLimitShow }}</span>时, 月开票额上限达到<span class="contentSpan">{{ infoForm.monthlyLimitShow }}</span>元时,
切换开票主体为<span class="contentSpan">{{ infoForm.switchSubjectName }}</span>, 切换开票主体为<span class="contentSpan">{{ infoForm.switchSubjectName }}</span>,
并邮件通知<span class="contentSpan">{{ infoForm.warningEmailsShow }}</span> 并邮件通知<span class="contentSpan">{{ infoForm.warningEmailsShow }}</span>
</div> </div>
...@@ -315,10 +315,10 @@ export default { ...@@ -315,10 +315,10 @@ export default {
this.infoForm.monthlyLimit = limitPrice( this.infoForm.monthlyLimit = limitPrice(
newVal, newVal,
this.oldVal.monthlyLimit, this.oldVal.monthlyLimit,
18, 15,
2, 2,
0, 0,
999999999999999999 ''
) )
this.oldVal.monthlyLimit = this.infoForm.monthlyLimit this.oldVal.monthlyLimit = this.infoForm.monthlyLimit
}, },
......

32.1 KB | W: | H:

5.47 KB | W: | H:

src/views/invoiceManage/images/step.png
src/views/invoiceManage/images/step.png
src/views/invoiceManage/images/step.png
src/views/invoiceManage/images/step.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
@handleClose="handleRefundClose" @handleClose="handleRefundClose"
@handleConfirm="handleConfirm"></refundDetail> @handleConfirm="handleConfirm"></refundDetail>
<!-- 上传接车/交车单 --> <!-- 上传接车/交车单 -->
<d2-dialog :title="'接车/交车单上传'" <d2-dialog :title="dialogTitle"
:is-visible="fileVisible" :is-visible="fileVisible"
@closeDialog="handleImport" @closeDialog="handleImport"
@confirmDialog="handleConfirmImport"> @confirmDialog="handleConfirmImport">
...@@ -592,6 +592,7 @@ export default { ...@@ -592,6 +592,7 @@ export default {
fileName: [{ required: true, message: '请上传文件', trigger: 'change' }] fileName: [{ required: true, message: '请上传文件', trigger: 'change' }]
}, },
carFileType: "", // 0接车单1交车单 carFileType: "", // 0接车单1交车单
dialogTitle: "", // 上传弹窗标题
pickUpOrder: null, // 接车单信息 pickUpOrder: null, // 接车单信息
deliveryNote: null // 交车单信息 deliveryNote: null // 交车单信息
} }
...@@ -917,6 +918,11 @@ export default { ...@@ -917,6 +918,11 @@ export default {
handleUpload(type) { handleUpload(type) {
this.carFileType = type this.carFileType = type
if (type == '0') {
this.dialogTitle = '上传接车单'
} else {
this.dialogTitle = '上传交车单'
}
this.fileVisible = !this.fileVisible this.fileVisible = !this.fileVisible
}, },
......
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
// 查询领料技师 // 查询领料技师
getRoleTechnicianList() { getRoleTechnicianList() {
const params = {} const params = {}
params.yqMerchantId = this.userInfo.merchant.merchantId params.yqMerchantId = this.paramsObj.yqMerchantId
getRoleTechnician(params).then(res => { getRoleTechnician(params).then(res => {
this.baseData.technicianList = res this.baseData.technicianList = res
this.loading = false this.loading = false
...@@ -153,21 +153,10 @@ export default { ...@@ -153,21 +153,10 @@ export default {
params.id = this.paramsObj.id params.id = this.paramsObj.id
params.technicianPhone = params.technician params.technicianPhone = params.technician
params.technicianName = this.baseData.technicianList.find(item => item.staffPhone === params.technician)?.staffName params.technicianName = this.baseData.technicianList.find(item => item.staffPhone === params.technician)?.staffName
// 提交前清理末尾逗号
// params.warningEmails = params.warningEmails.trim().replace(/,+$/, '')
// // return console.log('params', params)
// if (this.paramsObj && this.paramsObj.id) {
// params.id = this.paramsObj.id
// updateRule(params).then(res => {
// this.notice.okTips('操作成功')
// this.dialogShow = true
// })
// } else {
technicianUpdate(params).then(res => { technicianUpdate(params).then(res => {
this.notice.okTips('操作成功') this.notice.okTips('操作成功')
this.dialogShow = true this.dialogShow = true
}) })
// }
} }
}) })
} }
......
...@@ -43,9 +43,15 @@ ...@@ -43,9 +43,15 @@
:search-form="searchFormSearch" :search-form="searchFormSearch"
:table-params="tableParams" :table-params="tableParams"
:before-search-fn="beforeSearchFn"> :before-search-fn="beforeSearchFn">
<auth-button slot="auth-button" <template slot="auth-button"
slot-scope="scope" slot-scope="scope">
:data="scope.scope" /> <!-- 预约时间 -->
<span style="margin-right: 10px;"
v-if="scope.scope.orderStatus != 12">
<auth-button :data="scope.scope"
:show-btn-ids="['9080302']" />
</span>
</template>
</d2-table> </d2-table>
</div> </div>
<!-- 关联技师 --> <!-- 关联技师 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!