|
@@ -163,24 +163,21 @@ const keShiPiPeiClick = () => {
|
|
|
dangerouslyUseHTMLString: true,
|
|
|
type: 'warning',
|
|
|
}
|
|
|
- )
|
|
|
- .then(() => {
|
|
|
- piPeiKeShi(benYuanRadio.value.code, yiBaoRadio.value.code, 1).then((res) => {
|
|
|
- for (let i = 0; i < benYuanKeShiTable.value.length; i++) {
|
|
|
- if (benYuanKeShiTable.value[i].code === benYuanRadio.value.code) {
|
|
|
- benYuanKeShiTable.value.splice(i, 1)
|
|
|
- }
|
|
|
- }
|
|
|
- chongZhi()
|
|
|
- })
|
|
|
- })
|
|
|
- .catch((e) => {
|
|
|
- })
|
|
|
+ ).then(() => {
|
|
|
+ piPeiKeShi(benYuanRadio.value.code, yiBaoRadio.value.code, yiBaoRadio.value.name, 1).then((res) => {
|
|
|
+ for (let i = 0; i < benYuanKeShiTable.value.length; i++) {
|
|
|
+ if (benYuanKeShiTable.value[i].code === benYuanRadio.value.code) {
|
|
|
+ benYuanKeShiTable.value.splice(i, 1)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ chongZhi()
|
|
|
+ })
|
|
|
+ }).catch((e) => {})
|
|
|
}
|
|
|
}
|
|
|
|
|
|
const shanChuPiPei = (index, row) => {
|
|
|
- piPeiKeShi(row.code, row.siCaty, 2).then((res) => {
|
|
|
+ piPeiKeShi(row.code, row.siCaty, row.siCaty,2).then((res) => {
|
|
|
benYuanKeShiTable.value.splice(index, 1)
|
|
|
})
|
|
|
}
|