|
@@ -27,7 +27,6 @@
|
|
|
id="purchaseReceiptList-supplierSn"
|
|
|
enableFlag="1"
|
|
|
pageSn="544577718475575296"
|
|
|
- s
|
|
|
v-model="queryParam.supplierSn"
|
|
|
isPermission
|
|
|
placeholder="请输入供应商名称"></supplier>
|
|
@@ -128,26 +127,14 @@
|
|
|
@click="handleEdit(record)"
|
|
|
class="button-info"
|
|
|
v-if="$hasPermissions('M_purchaseReceiptEdit') && (record.state ==='WAIT_SUBMIT'||record.state ==='WAIT_AUDIT'||record.state ==='REJECT') && (!record.thirdpartyBizState)"
|
|
|
- id="purchaseReceiptList-edit-btn">编辑</a-button>
|
|
|
+ :id="'purchaseReceiptList-edit-btn'+record.id">编辑</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
v-if="$hasPermissions('B_purchaseReceiptDel')&&isShowCancelBtn(record)"
|
|
|
@click="handleDel(record)"
|
|
|
class="button-error"
|
|
|
- id="purchaseReceiptList-del-btn">取消</a-button>
|
|
|
- <!-- <a-tooltip placement="left" >
|
|
|
- <template slot="title">
|
|
|
- <span>物流单号:{{ record.transportNo||'--' }}</span>
|
|
|
- </template>
|
|
|
- <a-button
|
|
|
- size="small"
|
|
|
- type="link"
|
|
|
- class="button-warning"
|
|
|
- id="purchaseReceiptList-logistics-btn">
|
|
|
- 物流
|
|
|
- </a-button>
|
|
|
- </a-tooltip> -->
|
|
|
+ :id="'purchaseReceiptList-del-btn'+record.id">取消</a-button>
|
|
|
<a-button
|
|
|
v-if="$hasPermissions('B_purchaseReceiptTransportNo') && (record.state === 'WAIT_PUT'&&record.thirdpartyBizState==='FINISH')||(record.state === 'FINISH'&&record.thirdpartyBizState==='FINISH')"
|
|
|
size="small"
|
|
@@ -218,6 +205,7 @@ export default {
|
|
|
advanced: true, // 高级搜索 展开/关闭
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
|
+ // 创建时间默认值
|
|
|
time: [ moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
|
|
|
moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')],
|
|
|
beginDate: getDate.getThreeMonthDays().starttime, // 创建开始时间
|
|
@@ -385,8 +373,9 @@ export default {
|
|
|
this.itemSn = row.sparePartsSn
|
|
|
this.openDetailModal = true
|
|
|
},
|
|
|
- // 关闭采购退货详情弹框
|
|
|
+ // 关闭采购入库详情弹框
|
|
|
closeDetailModal () {
|
|
|
+ this.itemSn = null
|
|
|
this.openDetailModal = false
|
|
|
},
|
|
|
// 上传凭证
|