Browse Source

客户退货申请创建标签+供应商重新生成提示

hella_online_20240815
wangyufei 3 months ago
parent
commit
59094f688e
  1. 3
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue
  2. 14
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

3
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -339,8 +339,7 @@ const butttondata = (row,$index) => {
{
label: '生成标签',
name: 'ssbq',
// hide: isShowMainButton(row, ['3','6']),
hide: isShowMainButton(row, ['3']),
hide: isShowMainButton(row, ['3','6']),
type: 'primary',
icon: '',
color: '',

14
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -622,9 +622,19 @@ const buttonTableClick = async (val, row) => {
formLabelRef.value.open('create', row, null, 'createLabel') // createLabel
} else if (val == 'ressbq') {
console.log('重新生成标签')
ElMessageBox.confirm(t('ts.重新生成标签会删除上次生成的标签,是否确认继续?'), '提示', {
// ElMessageBox.confirm(`<div style="color:red">
//
// </div>`,'',{
// dangerouslyUseHTMLString: true,
// })
ElMessageBox.confirm(`<div>
<strong style="color:red;font-size:18px">重新生成标签后必须撕毁原标签打印并粘贴新标签如标签错误将拒绝收货</strong>
<br>
<span>重新生成标签会删除上次生成的标签是否确认继续</span>
</div>`, '提示', {
confirmButtonText: t('ts.确 认'),
cancelButtonText: t('ts.取 消')
cancelButtonText: t('ts.取 消'),
dangerouslyUseHTMLString: true
})
.then(() => {
SupplierdeliverRequestMainApi.deleteOldLabels(row.masterId).then(async (res) => {

Loading…
Cancel
Save