Browse Source

完善维修单

zhanglei
yunuo970428 5 months ago
parent
commit
0343ed636c
  1. 1
      yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
  2. 10
      yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue

1
yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue

@ -8,7 +8,6 @@
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()" v-show="formobj.nodeName !== '结算' && formobj.nodeName !== '维修'">提交</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="toSendBack" v-show="formobj.nodeName !== '登记'">退回</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="confirmCLF()" v-show="formobj.nodeName == '结算' && formobj.subject == '保内'">确认材料费</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="toPrintSettle()" v-show="formobj.nodeName == '结算'">打印结算单</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>

10
yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue

@ -4,7 +4,6 @@
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" v-show="formobj.showReSettleBtn" @click="negativeSettlement()">反结算</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
@ -312,19 +311,14 @@
</el-form>
</div>
</div>
<workslrsettlementAdd v-show="viewState == 2" ref="divFJS" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/operation/repairbill'
import workslrsettlementAdd from '../workslrsettlement/workslrsettlementAdd'
export default {
name: 'RepairBillInfo',
components: {
workslrsettlementAdd
},
data() {
return {
viewTitle: '',
@ -483,10 +477,6 @@ export default {
handleOpen(value) {
window.open(value, '_blank')
},
negativeSettlement() {
this.viewState = 2
this.$refs['divFJS'].showAdd(this.formobj.sid)
},
handleReturn() {
this.formobj = {
sid: '',

Loading…
Cancel
Save